logoalt Hacker News

0x696C6961yesterday at 8:42 PM4 repliesview on HN

Even if your agent has internet access, why waste tokens having it re-discover and re-implement its own API client each time? It doesn't make any sense.


Replies

hypercube33today at 4:24 AM

For me, I have a service that has multiple vectors of what would be called an API - PowerShell Modules, WMI, RESTFUL Web Services, some are available, some can do some things, some are more direct, some are not allowed with enterprise security etc.

Either way, I don't do what you suggest. I have self-learning rules and have the models build a well-rounded API engine once, then re-use it with query scripts through skills. Its portable and flexible in many environments.

jimbokuntoday at 2:47 PM

Did you know that computer programs, once written, can be stored to disk once and run many times?

show 3 replies
marcelo-earthtoday at 4:08 AM

This is my favorite position, the advantage of an MCP tends to lie more in token optimization.

show 2 replies
mexicocitinlueztoday at 11:59 AM

> re-implement its own API client each time

Is using curl considered re-implementing your own api client each time?

show 1 reply