Skip to content

neurondb/neuron-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

NeuronAgent

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.

Go PostgreSQL Version License

Hosted docs: neurondb.ai — NeuronAgent
Roadmap: docs/roadmap/6-month-world-class-plan.md


Install (Docker Compose)

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.sh

Apply 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.


First demo

bash scripts/bootstrap-demo.sh
# Create DB + API key (see docs/quickstart.md), then:
bash scripts/demo.sh

What you get

  • REST API (/api/v1/*) for agents, sessions, messages, memory, tools, workflows, RAG ingest, NeuronSQL routes
  • WebSocket /ws for streaming (authenticated)
  • OpenClaw-compatible bridge: GET /claw/v1/health, POST /claw/v1/tools/list, POST /claw/v1/tools/run
  • Metrics GET /metrics, ops probes GET /health, /healthz, /readyz, build info GET /version
  • API docs GET /docs (Redoc) and GET /docs/openapi.yaml

Why NeuronAgent

Layer Role
OpenClaw User-facing channels (Slack, web, …)
NeuronAgent Transactional agent brain: memory, tools, workflows, audit
NeuronDB + PostgreSQL Database-native embeddings, RAG, SQL

Use cases

  • 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

Examples

Templates: templates/


Repository layout

  • src/ — Go module (github.com/neurondb/NeuronAgent), HTTP server in cmd/agent-server
  • sql/ — Schema files for make migrate
  • docker/Dockerfile, docker-compose.neuronsql.yml (NeuronSQL demo stack)
  • docs/ — Local docs; start at docs/index.md

Build locally: make build./bin/neuron-agent


OpenClaw bridge

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.


Production deployment


Documentation


Contributing & security


License

See LICENSE.

About

Agentic Server for PostgreSQL

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors