Akamai Technologies has signed an agreement to buy streaming-media tools developer Nine Systems in a deal valued at nearly $160 million, the companies said Monday.

Under the deal, Cambridge, Mass.-based Akamai will pay roughly $7 million in cash and about 3.1 million Akamai shares to shareholders of privately held Nine Systems, of San Diego.

Shares of Akamai, which sells services that accelerate the transmission of data, content and business applications over the Web, closed at $49.25 on Friday. That closing price would value the stock part of the deal at about $152.7 million.

The deal is designed to provide customers of Akamai with Nine's Web-based tools, enabling them to produce, publish and distribute their own streaming and downloadable media over Akamai's network.