Run and test the agent locally. Use when: (1) User says 'run locally', 'start server', 'test agent', or 'localhost', (2) Need curl commands to test API, (3) Troubleshooting local development issues, (4) Configuring server options like port or hot-reload.
uv run start-appThis starts the agent at http://localhost:8000
# Hot-reload on code changes (development)
uv run start-server --reload
# Custom port
uv run start-server --port 8001
# Multiple workers (production-like)
uv run start-server --workers 4
# Combine options
uv run start-server --reload --port 8001Streaming request:
curl -X POST http://localhost:8000/invocations \
-H "Content-Type: application/json" \
-d '{ "input": [{ "role": "user", "content": "hi" }], "stream": true }'Non-streaming request:
curl -X POST http://localhost:8000/invocations \
-H "Content-Type: application/json" \
-d '{ "input": [{ "role": "user", "content": "hi" }] }'uv run agent-evaluateUses MLflow scorers (RelevanceToQuery, Safety).
pytest [path]| Issue | Solution |
|---|---|
| Port already in use | Use --port 8001 or kill existing process |
| Authentication errors | Verify .env is correct; run quickstart skill |
| Module not found | Run uv sync to install dependencies |
| MLflow experiment not found | Ensure MLFLOW_TRACKING_URI in .env is databricks://<profile-name> |
If you see: "The provided MLFLOW_EXPERIMENT_ID environment variable value does not exist"
Verify the experiment exists:
databricks -p <profile> experiments get-experiment <experiment_id>Fix: Ensure .env has the correct tracking URI format:
MLFLOW_TRACKING_URI="databricks://DEFAULT" # Include profile nameThe quickstart script configures this automatically. If you manually edited .env, ensure the profile name is included.
2a4c792
Also appears in
since May 6, 2026
since May 6, 2026
since May 6, 2026
since May 6, 2026
since May 6, 2026
since May 6, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.