This is called CodeAct (https://arxiv.org/abs/2402.01030) and is available in a number of frameworks.
Patent was applied for 04.03.2026. langgraph-codeact _shipped_ this capability in February.
including Anthropic[0] and OAI[1]
[0]: https://platform.claude.com/docs/en/agents-and-tools/tool-us...
[1]: https://developers.openai.com/api/docs/guides/tools-programm...
including Anthropic[0] and OAI[1]
[0]: https://platform.claude.com/docs/en/agents-and-tools/tool-us...
[1]: https://developers.openai.com/api/docs/guides/tools-programm...