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 no MCP bundles installed. The agent still has built-in platform capabilities (home, conversations, files, settings, usage, automations). You’ll install bundles in step 5 to give it domain-specific tools.
-
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:27247depends_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 27247 (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 can you help me with?The agent responds using its built-in platform capabilities. To give it domain-specific tools, install a bundle in the next step.
-
Install an app
Ask the agent to install a bundle:
Search mpak for available bundlesThe agent uses
nb__search(withscope: "registry") to search the registry. To install one:Install @nimblebraininc/ipinfoThe agent calls
nb__manage_appto download and start the bundle. You can now ask things like “What’s the IP info for 8.8.8.8?”