sdk-python icon indicating copy to clipboard operation
sdk-python copied to clipboard

Vended tools: use_agent — delegation pattern (py + ts)

Open yonib05 opened this issue 4 months ago • 1 comments

Part of #3234. Multi-agent pattern: delegation.

Add a use_agent vended tool in both SDKs: the agent constructs and invokes a nested agent at runtime. Shim over Agent + as_tool()/asTool(); the tool is spec, model resolution, and invocation.

  • Shares the model config mapping (model_provider/model_settings -> typed model objects) with the other multi-agent tools.
  • A follow-up design review on dynamic agent creation is expected; this issue is the shim.

Done: ships in both SDKs with types, tests, README, docs section.

yonib05 avatar Jul 14 '26 15:07 yonib05

Update 10/6: Addressing feedback on Python side. Will port to TS after.

liramon2 avatar Oct 06 '26 17:10 liramon2