How does YAFAI-Core work?
Prepare the workspace configuration
This step involves setting up the workspace configuration, which includes defining the agents, their roles, and the environment they will operate in.
Spin up the core engine
In this step, the core engine is initialized and started. This involves loading the configuration and preparing the system to handle agent interactions.
How YAFAI handles the multi Agentic flow?
Client connects and sends a message
The client initiates the interaction by connecting to the YAFAI-Core and sending a message. This message typically contains a request or command for the agents.
Orchestrator analyses the message and responds
If the intent is a general chat like greetings or summarising existing results, orchestrator responsds with a chat
If the user request needs an agent invoke, orchestrator requests an agent invoke and dispatches an agent go routine
Agent Analyses the task given by orchestrator
The orchestrator identifies the appropriate agent based on the request and invokes it. This involves sending the request to the agent and waiting for a response.