How does it work?
Internals of Core Engine for Multi Agent Orchestration
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.
Connect to gRPC link and talk to Agents
After the core engine is up, it exposes a gRPC service to communicate with the agents. This allows for real-time interaction and coordination among agents.
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
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.
Agent processes the request
Agent fetches the available tools and integrations, if a tool call is needed, the call is made to yafai-skill server.
Agent sends back response to orchestrator
Once the agent has processed the request, it sends the response back to the orchestrator.
Orchestrator sends back final answer to the client