Quickstart¶
Prerequisites¶
| Tool | Version | Install |
|---|---|---|
| Python | 3.13+ | python.org |
| uv | latest | curl -LsSf https://astral.sh/uv/install.sh \| sh |
| Bun | latest | curl -fsSL https://bun.sh/install \| bash |
| API key | any one | Anthropic / OpenAI / Gemini |
You only need one API key. Pick your provider, fill in that one key, leave the others blank.
Setup¶
git clone https://github.com/LeeFlannery/beefree-agent-demo
cd beefree-agent-demo
cp backend/.env.example backend/.env
Open backend/.env and fill in your API key:
LLM_PROVIDER=anthropic # or openai or gemini
ANTHROPIC_API_KEY=sk-ant-... # fill in the one you're using
Run¶
You need three terminals.
Terminal A - mock Beefree MCP server
Terminal B - agent + API
The op run command injects your API key from 1Password at process start. It never lands on disk.
Terminal C - frontend
Try it¶
Open http://localhost:5173/chat.
Suggested prompts to exercise each tool:
The agent streams tokens into the chat panel as it runs. When a tool call completes, the JSON panel on the right updates with the full Beefree template.
What uv run is doing¶
uv run python main.py creates an isolated virtualenv from pyproject.toml, installs dependencies, and runs the script - all in one command. No pip install, no source .venv/bin/activate. Subsequent runs skip the install step.