logoalt Hacker News

ekropotinyesterday at 8:01 PM4 repliesview on HN

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


Replies

gzaloyesterday at 8:49 PM

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

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

ianbutleryesterday at 11:58 PM

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

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

show 1 reply
inerteyesterday at 10:47 PM

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

willahmadyesterday at 8:16 PM

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

show 1 reply