Your First Agent
Start Here to Begin with Beacon Labs
Basic Agent
basic_agent.py
pythonCopyEditfrom beaconlabs import Agent, Task
task = Task("Do an in-depth analysis of US history")
agent = Agent("Historian")
agent.print_do(task)1. Set Up Your Virtual Environment
shCopyEditpython3 -m venv .venv
source .venv/bin/activate2. Install Dependencies
3. Set Up Your OpenAI API Key
4. Run the Agent to Execute the Task
Last updated