SShortSingh.
Back to feed

Enterprises Shift From One-Tool-Per-API to Code Mode for Agent Integration

0
·4 views

Large enterprises have built thousands of internal APIs that AI agents need to access, but exposing each operation through the Model Context Protocol as a separate tool quickly becomes unworkable. Such one-to-one mappings inflate costs because every tool definition and intermediate result consumes model tokens, while accuracy declines and latency rises as tool lists grow. Teams that trim tool lists or split APIs into smaller servers end up recreating the integration sprawl that API programs were meant to prevent. A emerging alternative, called code mode, presents an API as a single software-development-kit-like interface, letting agents write short snippets that run in a secure sandbox and return only final results. In internal testing this approach cut one workflow's token use from 120,000 to 1,200, though it requires strong sandboxing and full observability of every call the generated code makes.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

Microsoft Unveils Type Server Protocol as Extension of Language Server Protocol

Microsoft has announced the Type Server Protocol, an extension of the Language Server Protocol. The announcement was shared through a documentation page in the Pylance release repository on GitHub. The protocol is aimed at supporting type information exchange between development tools and language servers. The source material provided is limited to a link and basic discussion metrics, so further technical details beyond the announcement itself are not available.

0
ProgrammingHacker News ·

OpenAI announces GPT-6.1 Terra on its website, per Hacker News discussion

Not enough verified detail is available to summarize this item. The source is a Hacker News link to an OpenAI page titled 'Introducing GPT-6.1 Terra' that drew 77 points and 25 comments. The page's content, including the model's capabilities, release date, and availability, could not be reviewed for this summary. Please provide the article text to complete the summary.

0
ProgrammingHacker News ·

Meta Employees Denounce Alleged Interference in Brazilian Elections

Current and former Meta employees have publicly criticized the company over alleged interference in Brazil's elections. The accusations, reported by Panamerican Dispatch, centre on the company's handling of political content on its platforms. The source article was shared on Hacker News, where it drew 112 points and 16 comments. The provided material offers only the headline, link and engagement figures, so the specific allegations and the company's response cannot be confirmed from it.

0
ProgrammingHacker News ·

Blog Post Identifies the Oldest GUI Application Still Running on Windows 11

A blog post at enlyth.com examines which graphical user interface application from the earliest days of Windows still functions on Windows 11. The article is circulated on Hacker News, where it received 6 points and no comments at the time of retrieval. The source text provided contains only the link and discussion metadata, so the specific application named and the technical details of its compatibility are not available here. Readers would need to consult the original post for the full findings and the reasoning behind the identification.