Run Claude Code, Codex, Gemini CLI, and OpenCode in your browser β zero setup, wired to your Databricks workspace.
π Claude Code β Anthropic's coding agent with 39 Databricks skills + 2 MCP servers
π£ Codex β OpenAI's coding agent, pre-configured for Databricks
π΅ Gemini CLI β Google's coding agent with shared skills
π’ OpenCode β Open-source agent with multi-provider support
Every agent starts pre-wired to your Databricks AI Gateway β models, auth tokens, and base URLs are all configured at boot. No API keys to manage.
| π¨ 8 Themes | Dracula, Nord, Solarized, Monokai, GitHub Dark, and more |
| βοΈ Split Panes | Run two sessions side by side with a draggable divider |
| π Search | Find anything in your terminal history (Ctrl+Shift+F) |
| π€ Voice Input | Dictate commands with your mic (Option+V) |
| β¨οΈ Customizable | Fonts, font sizes, themes β all persisted across sessions |
| π Loading Screen | Play snake while 6 setup steps run in parallel |
| π Workspace Sync | Every git commit auto-syncs to /Workspace/Users/{you}/projects/ |
| βοΈ Micro Editor | Modern terminal editor, pre-installed |
| βοΈ Databricks CLI | Pre-configured with your PAT, ready to go |
- Go to Databricks β Apps β Create App
- Choose Custom App and connect this Git repo:
https://github.com/datasciencemonkey/coding-agents-in-databricks.git - Add your PAT as the
DATABRICKS_TOKENsecret in App Resources - Deploy
That's it. Open the app URL and start coding.
β Full deployment guide β environment variables, gateway config, and advanced options.
git clone https://github.com/datasciencemonkey/coding-agents-in-databricks.git
cd coding-agents-in-databricks
uv run python app.pyOpen http://localhost:8000 β type claude, codex, gemini, or opencode to start coding.
On Jan 26, 2026, Andrej Karpathy made this viral tweet about the future of coding. Boris Cherny, the creator of Claude Code, responded:
This app template opens that vision up for every Databricks user β no IDE setup, no local installs. Just open the browser and start coding with AI.
π§ All 39 Skills
Databricks Skills (25) β ai-dev-kit
| Category | Skills |
|---|---|
| AI & Agents | agent-bricks, genie, mlflow-eval, model-serving |
| Analytics | aibi-dashboards, unity-catalog, metric-views |
| Data Engineering | declarative-pipelines, jobs, structured-streaming, synthetic-data, zerobus-ingest |
| Development | asset-bundles, app-apx, app-python, python-sdk, config, spark-python-data-source |
| Storage | lakebase-autoscale, lakebase-provisioned, vector-search |
| Reference | docs, dbsql, pdf-generation |
| Meta | refresh-databricks-skills |
Superpowers Skills (14) β obra/superpowers
| Category | Skills |
|---|---|
| Build | brainstorming, writing-plans, executing-plans |
| Code | test-driven-dev, subagent-driven-dev |
| Debug | systematic-debugging, verification |
| Review | requesting-review, receiving-review |
| Ship | finishing-branch, git-worktrees |
| Meta | dispatching-agents, writing-skills, using-superpowers |
π 2 MCP Servers
| Server | What it does |
|---|---|
| DeepWiki | Ask questions about any GitHub repo β gets AI-powered answers from the codebase |
| Exa | Web search and code context retrieval for up-to-date information |
ποΈ Architecture
βββββββββββββββββββββββ HTTP βββββββββββββββββββββββ
β Browser Client βββββββββββββββΊβ Gunicorn + Flask β
β (xterm.js) β Polling β (PTY Manager) β
βββββββββββββββββββββββ βββββββββββββββββββββββ
β β
β on first load β on startup
βΌ βΌ
βββββββββββββββββββββββ βββββββββββββββββββββββ
β Loading Screen β β Background Setup β
β (snake game) β β (6 parallel steps)β
βββββββββββββββββββββββ βββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββ
β Shell Process β
β (/bin/bash) β
βββββββββββββββββββββββ
- Gunicorn starts, calls
initialize_app()viapost_worker_inithook - App immediately serves the loading screen (snake game)
- Background thread runs setup: git config, micro editor, Claude CLI, Codex CLI, OpenCode, Gemini CLI, Databricks CLI
/api/setup-statusendpoint reports progress to the loading screen- Once complete, the loading screen transitions to the terminal UI
| Endpoint | Method | Description |
|---|---|---|
/ |
GET | Loading screen (during setup) or terminal UI |
/health |
GET | Health check with session count and setup status |
/api/setup-status |
GET | Setup progress for loading screen |
/api/session |
POST | Create new terminal session |
/api/input |
POST | Send input to terminal |
/api/output |
POST | Poll for terminal output |
/api/resize |
POST | Resize terminal dimensions |
/api/session/close |
POST | Close terminal session |
βοΈ Configuration
| Variable | Required | Description |
|---|---|---|
DATABRICKS_TOKEN |
Yes | Your Personal Access Token (secret) |
HOME |
Yes | Set to /app/python/source_code in app.yaml |
ANTHROPIC_MODEL |
No | Claude model name (default: databricks-claude-opus-4-6) |
CODEX_MODEL |
No | Codex model name (default: databricks-gpt-5-2) |
GEMINI_MODEL |
No | Gemini model name (default: databricks-gemini-3-1-pro) |
DATABRICKS_GATEWAY_HOST |
No | AI Gateway URL (recommended) |
Single-user app β each user deploys their own instance with their own PAT. Only the token owner can access the terminal. Everyone else sees 403.
Production uses workers=1 (PTY state is process-local), threads=8 (concurrent polling), gthread worker class.
π Project Structure
coding-agents-in-databricks/
βββ app.py # Flask backend + PTY management + setup orchestration
βββ app.yaml.template # Databricks Apps deployment config template
βββ gunicorn.conf.py # Gunicorn production server config
βββ requirements.txt # Python dependencies
βββ setup_claude.py # Claude Code CLI + MCP configuration
βββ setup_codex.py # Codex CLI configuration
βββ setup_gemini.py # Gemini CLI configuration
βββ setup_opencode.py # OpenCode configuration
βββ setup_databricks.py # Databricks CLI configuration
βββ sync_to_workspace.py # Post-commit hook: sync to Workspace
βββ install_micro.sh # Micro editor installer
βββ static/
β βββ index.html # Terminal UI (xterm.js + split panes)
β βββ loading.html # Loading screen with snake game
β βββ lib/ # xterm.js library files
βββ .claude/
β βββ skills/ # 39 pre-installed skills
βββ docs/
βββ deployment.md # Full Databricks Apps deployment guide
βββ plans/ # Design documentation
Flask Β· Gunicorn Β· xterm.js Β· Python PTY Β· Databricks SDK Β· Databricks AI Gateway
