Supervaizer Controller — Quickstart
Kickstart a Python agent with the Supervaizer Controller so it's discoverable and operable by Supervaize.
What we'll do
Clone the Hello World example (a minimal Supervaizer agent)
Setup the environment and install dependencies
Configure secrets & env, then start the server 🚀
Clone the Hello World Example
The Supervaizer Controller currently supports Python-based agents.
We'll use the Supervaize Hello World example — a minimal agent that demonstrates all core Supervaizer concepts: GitHub Repository
git clone https://github.com/supervaize/supervaize_hello_world.git
cd supervaize_hello_world
Setup the Environment
We recommend using uv for faster dependency management
- uv (Recommended)
- pip
- macOS / Linux
- Windows (PowerShell)
Install uv — see https://docs.astral.sh/uv/
curl -LsSf https://astral.sh/uv/install.sh | sh
Create a virtual environment and install dependencies
uv venv
source .venv/bin/activate
uv pip install -e .
Install uv — see https://docs.astral.sh/uv/
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Create a virtual environment and install dependencies
uv venv
.\.venv\Scripts\Activate.ps1
uv pip install -e .
Understanding the Controller
The Hello World example includes a pre-configured supervaizer_control.py that demonstrates:
- Agent parameters — secrets and environment variables
- Agent methods — start, stop, and status handlers
- Server configuration — A2A protocol support and admin interface
loading...
Creating Your Own Controller
To scaffold a new controller for your own agent:
supervaizer scaffold
# Success: Created an example file at supervaizer_control_example.py
For detailed instructions on customizing your controller, see the Controller Setup Guide.
Configure your Supervaize account & environment
Supervaize account and credentials
Create your developer account on the Supervaize platform.
Create your API Key and collect your environment variables.
Use direnv for easy management of environment variables in .envrc file.
Or setup python-dotenv in your python project.
- .envrc (direnv)
- .env (dotenv)
export SUPERVAIZE_API_KEY=...
export SUPERVAIZE_WORKSPACE_ID=team_1
export SUPERVAIZE_API_URL=https://app.supervaize.com
SUPERVAIZE_API_KEY=...
SUPERVAIZE_WORKSPACE_ID=team_1
SUPERVAIZE_API_URL=https://app.supervaize.com
For local development only
If the agent is not deployed to a publicly accessible server, you need to install a Tunneling solution so that supervaize can operate your agent.
Here are the instructions to setup a tunnel for your local development
Store your public hostname in SUPERVAIZER_HOST environment variable.
export SUPERVAIZER_HOST=silly-peaches-chapter.loca.lt
Start the server 🚀
- CLI
- direct
# with the virtual environment active
supervaizer start
Use the direct python call for advanced debugging
uv run python supervaizer_control.py
INFO | supervaizer.storage:__init__ - [StorageManager] 🗃️ Local DB initialized
INFO | supervaizer.server:__init__ - [Server launch] 🚀 Deploy Supervaizer routes
INFO | supervaizer.server:__init__ - [Server launch] 📢 Deploy A2A routes
INFO | supervaizer.server:__init__ - [Server launch] 💼 Deploy Admin interface @ http://0.0.0.0:8000/admin
INFO | supervaizer.server:__init__ - [Server launch] API Key authentication enabled
WARNING | supervaizer.server:__init__ - [Server launch] Using auto-generated API key: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
INFO | [Server launch] Starting Supervaize Controller API
SUCCESS | ✅ POST Event SERVER_REGISTER sent
INFO | [Server launch] Updated agent Hello World Agent
INFO: Started server process
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
Once the server is running, you'll have:
- API docs:
http://127.0.0.1:8000/docs(Swagger) and/redoc - A2A discovery:
/.well-known/agents.json - Admin interface:
http://127.0.0.1:8000/admin
What's next?
- Deploy to the cloud using the Cloud Deployment Guide for production-ready hosting
- Add more custom methods (
chat,custom) to extend control - Enable A2A discovery for agent interoperability
- Hook your controller into Supervaize to monitor, audit, and operate the agent
Need Help?
If you run into issues, check the Troubleshooting Guide for common problems and solutions.
Reference
- Parameter Model: docs link
- Protocol Support: See the Protocols documentation for A2A protocol details
- API docs: visit
/docsand/redocwhen the server is running
Supervaizer is the controller & interoperability layer; it doesn't replace your agent framework. It makes your agent discoverable, operable, and governable.