Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Dynamic code generation for calling APIs, not sure what is a fancy term for this approach.




Something like https://github.com/huggingface/smolagents

Needs a sandbox, otherwise blindly executing generated code is not acceptable


https://www.anthropic.com/engineering/advanced-tool-use#:~:t...

Anthropic themselves support this style of tool calling with code first party now too.


Yup, that’s I’ve been taking about.

Cloudflare published this article which I guess can be relevant https://blog.cloudflare.com/code-mode/

This is a good example of how things are rapidly evolving.

Also, the new foundation isn't called "The MCP Foundation", but the "Agentic AI Foundation". Clearly a buzzword-compliant name, but also hedging the bet that MCP will be the long-term central story.


this assumes generated code is always correct and does exactly what's needed.

Same for MCP - there is always a chance an agent will mess up the tool use.

This kind of LLM’s non-determinism is something you have to live with. And it’s the reason why I personally think the whole agents thing is way over-hyped - who need systems that only work 2 times out of 3, lol.


The fraction is a lot higher than 2/3 and tool calls are how you give it useful determinism.

Even if each agent has 95% reliability, with just 5 agents in the loop the whole thing is just 77% reliable.

Well fortunately that's not what actually happens in practice.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: