Add New Agent
SKILL.md
Add New Agent
Agents in Beluga AI are specialized implementations that often embed a BaseAgent.
Steps
-
Create Agent Directory
pkg/agents/providers/<agent_type>/.
-
Implement Agent Code
- Create
pkg/agents/providers/<agent_type>/agent.go. - Embed
pkg/agents/base.BaseAgent(check current location of BaseAgent). - Implement the
Agentinterface methods.
- Create
-
Define Capabilities
- Does it support tools?
- Does it support memory?
- Configure these in the
Newfunction.
-
Register Agent
- Register in
pkg/agents/registry.go.
- Register in
-
Add Tests
- Unit tests for specific logic.
- Integration tests with mocked LLMs.