Set up TypeScript LangChain agent development environment. Use when: (1) First time setup, (2) Configuring Databricks authentication, (3) User says 'quickstart', 'set up', 'authenticate', or 'configure databricks', (4) No .env file exists.
86
83%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
Check CLI version:
databricks -v # Must be v0.283.0 or above
brew upgrade databricks # If version is too oldnpm run quickstartThis interactive wizard will:
.env fileCreates/updates .env with:
DATABRICKS_HOST - Workspace URLDATABRICKS_TOKEN - Personal access tokenDATABRICKS_MODEL - Model serving endpoint nameMLFLOW_TRACKING_URI - Set to databricksMLFLOW_EXPERIMENT_ID - Auto-created experiment IDENABLE_SQL_MCP - SQL MCP tools enabled/disabledIf quickstart fails:
# Create new profile
databricks auth login --host https://your-workspace.cloud.databricks.com
# Verify
databricks auth profilesThen manually create .env (copy from .env.example):
# Databricks Authentication
DATABRICKS_HOST=https://your-workspace.cloud.databricks.com
DATABRICKS_TOKEN=dapi...
# Model Configuration
DATABRICKS_MODEL=databricks-claude-sonnet-4-5
USE_RESPONSES_API=false
TEMPERATURE=0.1
MAX_TOKENS=2000
# MLflow Tracing
MLFLOW_TRACKING_URI=databricks
MLFLOW_EXPERIMENT_ID=<your-experiment-id>
# Server Configuration
PORT=8000
# MCP Configuration (Optional)
ENABLE_SQL_MCP=falsenpm installnpm run buildThis compiles TypeScript to JavaScript in the dist/ directory.
After quickstart completes:
npm run dev to start the development server (see run-locally skill)curl http://localhost:8000/healthdatabricks bundle deploy -t dev (see deploy skill)Common Databricks foundation models:
databricks-claude-sonnet-4-5 (Claude Sonnet 4.5)databricks-gpt-5-2 (GPT-5.2)databricks-meta-llama-3-3-70b-instruct (Llama 3.3 70B)Or use your own custom model serving endpoint.
Install the Databricks CLI:
brew install databricks
# OR
curl -fsSL https://raw.githubusercontent.com/databricks/setup-cli/main/install.sh | shCreate the experiment manually:
databricks experiments create \
--experiment-name "/Users/$(databricks current-user me --output json | jq -r .userName)/agent-langchain-ts"Ensure dependencies are installed:
npm installdfeb4ac
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.