
Run Locally
- 28 installs
- 179 repo stars
- Updated July 28, 2026
- databricks/app-templates
run-locally runs Databricks template agents on local machine.
About
The run-locally skill explains local development workflows for app-templates agents including environment setup, uv dependencies, and local server execution before bundle deploy to Databricks Apps.
- Local dev execution before cloud deploy.
- uv and env configuration for local run.
- Debug agent locally then deploy.
- Part of app-templates dev loop.
Run Locally by the numbers
- 28 all-time installs (skills.sh)
- Ranked #9,462 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 4, 2026 (Skillselion catalog sync)
run-locally capabilities & compatibility
- Capabilities
- run locally workflow
- Works with
- databricks
- Use cases
- orchestration
What run-locally says it does
run-locally
npx skills add https://github.com/databricks/app-templates --skill run-locallyAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 28 |
|---|---|
| repo stars | ★ 179 |
| Last updated | July 28, 2026 |
| Repository | databricks/app-templates ↗ |
How do I run my Databricks agent locally?
Run Databricks app-templates agents locally for development and debugging.
Who is it for?
Developers iterating on agents before deploy.
Skip if: Skip when only cloud deploy needed.
When should I use this skill?
Local development or debug of template agent.
What you get
Locally running agent for development testing.
Files
Run Agent Locally
Start the Server
uv run start-appThis starts the agent at http://localhost:8000
Server Options
# 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 8001Test the API
Streaming 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" }] }'Run Evaluation
uv run agent-evaluateUses MLflow scorers (RelevanceToQuery, Safety).
Run Unit Tests
pytest [path]Troubleshooting
| 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> |
MLflow Experiment Not Found
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.
Next Steps
- Modify your agent: see modify-agent skill
- Deploy to Databricks: see deploy skill
Related skills
FAQ
What does run-locally do?
run-locally runs Databricks template agents on local machine.
When should I use run-locally?
Local development or debug of template agent.
Is this skill safe to install?
Review the Security Audits panel on this page before installing in production.