Hacker News new | ask | show | jobs
by isaacrolandson 86 days ago
tbh the whole code mode thing is actually kind of what were doing with commandable mcp.

The agent is essentially given a sandbox to write abitrary code against an API, with the users credentials for that api stored securly...

The pattern i assumed is that the agent would then 'save' this code as a tool to reuse later...

But youve got me thinking - maybe commandable should be more just like full code mode every time - every tool call be a new custom script written right then and executed immediately.

Maybe 'saving' those actions for later is just something the agent could do if it needs it more frequently...

hmmmmmm food for thought