Getting Started with NeuronAgent
Introduction
📌 Branch & Version Selection
NeuronAgent has three branches with different versions. Choose based on your needs:
| Branch | Version | Status | Use When |
|---|---|---|---|
main | 3.0.0-devel | Latest | New projects, development, latest features (default) |
REL2_STABLE | 2.0.0 | Stable | Production, stable v2.0 features |
REL1_STABLE | 1.0.0 | Stable | Production, maximum stability required |
Note: This documentation reflects version 3.0.0-devel from the main branch. For stable releases, use REL2_STABLE (v2.0.0) or REL1_STABLE (v1.0.0). See GitHub repository for branch details.
NeuronAgent is an AI agent runtime system providing REST API and WebSocket endpoints for building autonomous agent applications. It includes:
- Agent Runtime - Complete state machine for autonomous task execution with persistent memory
- Multi-Agent Collaboration - Agent-to-agent communication, task delegation, and shared workspaces
- Workflow Engine - DAG-based workflow execution with human-in-the-loop (HITL) support
- Long-term Memory - HNSW-based vector search for context retrieval across sessions
- 20+ Tools - SQL, HTTP, Code, Shell, Browser, Filesystem, Memory, Collaboration, NeuronDB tools, Multimodal
- Budget & Evaluation - Real-time cost tracking, budget controls, and quality scoring
What you can build: Autonomous AI agents with persistent memory, multi-agent systems, workflow automation, and agentic AI applications - all backed by PostgreSQL.
Choose Your Path
Pick the installation method that best fits your needs:
| Method | Best For | Time | Difficulty |
|---|---|---|---|
| Quick Start | Create your first agent with tools and memory | 10 minutes | ⭐⭐ Medium |
| Docker Installation | Complete setup with Docker Compose | 5 minutes | ⭐ Easy |
| Source Build | Production, custom builds, developers | 30+ minutes | ⭐⭐⭐ Advanced |
💡 Note: New here? Start with Quick Start to create your first agent. For Docker deployment, use Docker Installation. Production deployments should use Source Build.
Docker Quick Start
Complete NeuronAgent setup running in under 5 minutes with Docker Compose. This method includes NeuronAgent with NeuronDB integration and requires minimal configuration.
Start NeuronAgent with Docker Compose
# Clone repository (main branch = 3.0.0-devel)
git clone https://github.com/neurondb-ai/neurondb.git
cd neurondb
# For stable 1.0.0 release, checkout REL1_STABLE branch:
# git checkout REL1_STABLE
# Start NeuronAgent with NeuronDB
docker compose up -d neuronagent neurondb
# Verify services
docker compose ps
# Check health endpoint
curl -sS http://localhost:8080/healthThis starts:
- NeuronAgent (REST API) on port 8080
- NeuronDB (PostgreSQL with extension) on port 5433
- WebSocket support for real-time streaming
- Background workers for memory promotion and async tasks
Source Build (Advanced)
For production deployments or custom builds, install from source. This requires Go 1.21+, PostgreSQL 16-18 with NeuronDB extension, and build dependencies.
See the Installation Guide for detailed platform-specific instructions.
Quick reference (Ubuntu/Debian)
# Install dependencies
sudo apt-get install -y postgresql-17 postgresql-server-dev-17 build-essential golang-go
# Clone repository
git clone https://github.com/neurondb-ai/neurondb.git
cd neurondb
# For stable 1.0.0 release, checkout REL1_STABLE branch:
# git checkout REL1_STABLE
# Build NeuronAgent
cd NeuronAgent
go build -o neuronagent ./cmd/server
# Run NeuronAgent
./neuronagent --config configs/config.yaml.exampleAfter building NeuronAgent, configure it to connect to your NeuronDB instance. See the Configuration Guide for details.
Next Steps
After installation, use these guides:
- Quick Start Guide - Create your first agent with tools and memory
- Configuration Guide - Configure API keys, rate limiting, and database connections
- NeuronDB Integration - Integrate with NeuronDB for vector search and embeddings
- Features Documentation - Complete feature reference for agents, workflows, and tools
- NeuronDB Documentation - Vector search, ML inference, and RAG pipelines
- Agent Tools Example - Complete working example with multiple tools