Database-native agent runtime on PostgreSQL and NeuronDB: durable memory, RAG, SQL-native tooling, workflows, and audit-friendly APIs. Not a chat toy — it is the backend for reliable agent applications.
Hosted docs: neurondb.ai — NeuronAgent
Roadmap: docs/roadmap/6-month-world-class-plan.md
git clone https://github.com/neurondb/neuron-agent.git
cd neuron-agent
cp .env.example .env
docker compose build neuronagent && docker compose up -d
bash scripts/wait-for-health.sh
bash scripts/smoke-test.shApply SQL schema with make migrate (see Quickstart). NeuronDB (vectors/RAG) needs Postgres with the extension built in: clone neurondb/neurondb, set NEURONDB_REPO in .env, then run make up-neurondb (see Docker Compose). Plain postgres:17-alpine is fine for smoke tests without vectors/RAG.
bash scripts/bootstrap-demo.sh
# Create DB + API key (see docs/quickstart.md), then:
bash scripts/demo.sh- REST API (
/api/v1/*) for agents, sessions, messages, memory, tools, workflows, RAG ingest, NeuronSQL routes - WebSocket
/wsfor streaming (authenticated) - OpenClaw-compatible bridge:
GET /claw/v1/health,POST /claw/v1/tools/list,POST /claw/v1/tools/run - Metrics
GET /metrics, ops probesGET /health,/healthz,/readyz, build infoGET /version - API docs
GET /docs(Redoc) andGET /docs/openapi.yaml
| Layer | Role |
|---|---|
| OpenClaw | User-facing channels (Slack, web, …) |
| NeuronAgent | Transactional agent brain: memory, tools, workflows, audit |
| NeuronDB + PostgreSQL | Database-native embeddings, RAG, SQL |
- Customer support — grounded replies with policy or ticket RAG, HTTP/SQL tools, audit trail
- Internal research & ops — sessions with memory tiers, workflows, and human approval steps
- SQL & data copilots — NeuronSQL routes and safe database tooling against PostgreSQL
- Channel-connected agents — OpenClaw (or similar) for UX; NeuronAgent for durable state and tools
- Scheduled automation — workflow DAGs with cron schedules, retries, and execution history
- Platform / multi-tenant — API keys, roles, metrics, and standard HTTP probes for production
Templates: templates/
src/— Go module (github.com/neurondb/NeuronAgent), HTTP server incmd/agent-serversql/— Schema files formake migratedocker/—Dockerfile,docker-compose.neuronsql.yml(NeuronSQL demo stack)docs/— Local docs; start at docs/index.md
Build locally: make build → ./bin/neuron-agent
Channel gateways can integrate via /claw/v1 (health, tool list/run for NeuronSQL-style tools). Scope, roles, and wiring are documented in docs/integrations/openclaw.md.
- Docker Compose — docs/deploy/docker-compose.md (vanilla Postgres, or
make up-neurondbwith a local NeuronDB checkout) - Kubernetes — docs/deploy/kubernetes.md
- Local docs hub: docs/index.md — quickstart, configuration, architecture, security, workflows, RAG, observability, roadmap implementation status
- Hosted: neurondb.ai — NeuronAgent
See LICENSE.