Agent Calls
DocsAgents can call other agents, and routes can call agents too. Think of it like functions calling functions: you can break complex workflows into focused, reusable pieces. Use agent.run() to invoke any agent, wait for results synchronously, or use ctx.waitUntil for fire-and-forget background tasks.
Select a pattern and operation, then click Run to see agent invocation in action.
Call Pattern
Operation
Sample Text
Hello!!! from the ***SDK Explorer***... #demo @test
Reference Code
Loading...
Ready
Output will appear here...