Multiple FastAgent instance possible ? #63
Unanswered
Yapppppppppppp
asked this question in
Q&A
Replies: 1 comment
-
|
pls check The Agents As Tools workflow takes a complex task, breaks it into subtasks, and calls other agents as tools based on the main agent instruction. This pattern is inspired by the OpenAI Agents SDK Agents as tools feature. With child agents exposed as tools, you can implement routing, parallelization, and orchestrator-workers decomposition directly in the instruction (and combine them). Multiple tool calls per turn are supported and executed in parallel. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Can I define multiple FastAgent instances and then include their agents together in a single router, or must all agents used in a router be registered under the same FastAgent instance?
something like this
fast = FastAgent("banking_and_website_assistant", config_path = f'C:\chat_bot\csv_data\{user_id}\fastagent.config.yaml')
fast1 = FastAgent("banking_and_website_assistant", config_path = f'fastagent.config.yaml' )
@fast.agent(
name = "name1"
)
@fast1.agent(
name = "name2"
)
#i am not sure which router instance should i use for routing .
@fast.router(
agents=["name1", "name2"],
)
Beta Was this translation helpful? Give feedback.
All reactions