Quickstart
Get NimbleBrain running locally with Docker Compose. You need Docker and an Anthropic API key.
-
Create a config file
Create
nimblebrain.jsonin a new directory:nimblebrain.json {"$schema": "https://schemas.nimblebrain.ai/nimblebrain.json","bundles": []}This minimal config starts NimbleBrain with the default bundle (
@nimblebraininc/bash), which gives the agent shell access. -
Create a Docker Compose file
docker-compose.yml services:platform:image: nimblebrain/platform:latestrestart: unless-stoppedvolumes:- workspace:/data- ./nimblebrain.json:/app/nimblebrain.json:roenvironment:- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}- NB_API_KEY=${NB_API_KEY}web:image: nimblebrain/web:latestrestart: unless-stoppedports:- "27246:8080"environment:- PLATFORM_URL=http://platform:3000depends_on:platform:condition: service_healthyvolumes:workspace: -
Set your environment variables and start
Terminal window export ANTHROPIC_API_KEY=sk-ant-api03-...export NB_API_KEY=my-secret-key-at-least-8-charsdocker compose upYou should see output like:
✔ Container quickstart-platform-1 Healthy✔ Container quickstart-web-1 StartedThe platform container runs the agent engine on port 3000 (internal). The web container serves the UI on port 27246.
-
Open the web UI
Go to http://localhost:27246. Enter your
NB_API_KEYvalue to log in.Try sending a message:
What files are in my home directory?The agent uses the
bashbundle to runls ~and returns the results. You’ll see the tool call and its output inline in the chat. -
Install an app
Ask the agent to install a bundle:
Search mpak for available bundlesThe agent uses
nb__discover_bundlesto search the registry. To install one:Install @nimblebraininc/ipinfoThe agent calls
nb__manage_bundleto download and start the bundle. You can now ask things like “What’s the IP info for 8.8.8.8?”