npx skills add smithery/databricks --skill run-locally
databricks/app-templates
run-locally
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.
Installation
npx skills add databricks/app-templates --skill run-locally
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Browser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsConfigure Azure API Management as an AI Gateway for AI models, MCP tools, and agents. WHEN: sem…
566.3K installsAzure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compar…
510K installsPostgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill …
391.6K installsPrisma ORM CLI commands reference covering init, generate, migrate, db, dev, complete, studio, …
267K installsUse when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge F…
263K installsAlso in this package
Other skills from databricks/app-templates · top by installs.
npx skills add databricks/app-templates
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md2,252 B -
docs
SUMMARY.md273 B
History
- First seen on skills.sh
- First recorded snapshot · 30 installs
SKILL.md
Run Agent Locally
Start the Server
uv run start-app
This 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 8001
Test 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-evaluate
Uses 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 MLFLOWTRACKINGURI in .env is databricks://<profile-name> |
MLflow Experiment Not Found
If you see: "The provided MLFLOWEXPERIMENTID 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 name
The 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