Skip to main content
Use these production-ready templates to start faster. Pick one below and follow the steps to run locally, then customize.

Use a Template

1

Choose a template

Select either Agency Code or Agency Starter Template above based on your needs.
2

Clone the repository

Clone your chosen template repository to your local machine.
git clone https://github.com/VRSEN/Agency-Code.git
cd Agency-Code
3

Install dependencies

Create a virtual environment and install dependencies (Python 3.12+ recommended, 3.13 preferred).
python -m venv venv
source venv/bin/activate
python -m pip install -r requirements.txt
4

Configure environment

Create a .env file in the project root with your keys. At minimum:
OPENAI_API_KEY=sk-...
5

Run the demo

Start the terminal demo to verify the setup.
python agency.py
6

Customize agents and tools

Modify agent instructions, add or edit tools, and adjust communication flows. Refer to From Scratch for deeper explanations and code structure.

Next Steps