Quick start guide to building an Agency from scratch.
Set Your OpenAI Key
.env
file.Create Project Structure
create-agent-template
command to create the recommended directory structure for each agent.Command Syntax:Create Tools
BaseTool
class and implementing the run
method.MyCustomTool.py:Define Agent Roles
tools
folder.instructions.md:Create Agency
[[ceo, developer]]
) can communicate with each other. The top-level list ([ceo]
) defines agents that can communicate with the user.agency_chart
definition. For instance, in the example above, the CEO can initiate a chat with the Developer (developer
), and the Developer can respond in this chat. However, the Developer cannot initiate a chat with the CEO.Run Demo
agency.py
file:Web Interface: