Skip to content

Commit 24a76d8

Browse files
authored
Merge pull request #932 from jupyter-naas/931-documentation-update
docs(README): update production deployment section and get started
2 parents 40f008a + cfbc3fe commit 24a76d8

1 file changed

Lines changed: 54 additions & 157 deletions

File tree

README.md

Lines changed: 54 additions & 157 deletions
Original file line numberDiff line numberDiff line change
@@ -2,224 +2,121 @@
22
<img src="libs/naas-abi/naas_abi/apps/nexus/apps/web/public/abi-logo-rounded.png" alt="ABI Logo" width="128" height="128">
33

44
# ABI
5-
*Agentic Brain Infrastructure*
5+
6+
_Question Everything, Create your own AI System_
7+
8+
ABI (Agentic Brain Infrastructure) is the open-source AI Operating System that grounds LLMs in your organization's ontology to create tools that extend human capabilities. An open and accessible alternative to Palantir.
9+
610
</div>
711

812
<div align="center">
913

1014
[![Version](https://img.shields.io/badge/version-ABI--OS1%20Beta-red.svg)](https://github.com/jupyter-naas/abi/releases)
11-
[![Python](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
15+
[![Python](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)
1216
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT)
1317
[![FastAPI](https://img.shields.io/badge/FastAPI-0.115+-00a393.svg)](https://fastapi.tiangolo.com/)
1418

15-
1619
[![GitHub Stars](https://img.shields.io/github/stars/jupyter-naas/abi?style=social)](https://github.com/jupyter-naas/abi/stargazers)
1720
[![GitHub Forks](https://img.shields.io/github/forks/jupyter-naas/abi?style=social)](https://github.com/jupyter-naas/abi/network/members)
1821
[![Contributors](https://img.shields.io/github/contributors/jupyter-naas/abi.svg)](https://github.com/jupyter-naas/abi/graphs/contributors)
1922

2023
</div>
2124

22-
> Multi-agent AI Operating System with semantic knowledge graphs, ontology-driven reasoning, and intelligent workflow automation.
23-
24-
**Star and follow to stay updated!**
25-
2625
## Quick Start
2726

2827
### Prerequisites
29-
```bash
30-
# Install uv package manager
31-
curl -LsSf https://astral.sh/uv/install.sh | sh
32-
33-
# Install Docker Desktop (for local services)
34-
# https://www.docker.com/products/docker-desktop
35-
```
36-
37-
### Local Development
38-
```bash
39-
# Clone repository
40-
git clone https://github.com/jupyter-naas/abi.git
41-
cd abi
4228

43-
# Install dependencies (Python + frontend)
44-
uv sync --all-extras
29+
- Python 3.12+, Git, [uv](https://astral.sh/uv) (`curl -LsSf https://astral.sh/uv/install.sh | sh`)
30+
- [Docker Desktop](https://www.docker.com/products/docker-desktop) (8GB+ RAM for full stack)
31+
- LLMs API key: OpenAI and OpenRouter
4532

46-
# Install frontend dependencies
47-
cd libs/naas-abi/naas_abi/apps/nexus/apps/web
48-
pnpm install
49-
cd ../../../../..
33+
You also need to have the `docker` command available in your terminal.
5034

51-
# Create local config
52-
cp config.yaml.example config.yaml
53-
# Edit config.yaml with your API keys
54-
55-
# Configure for local development (update .env)
56-
# Change Docker hostnames to localhost:
57-
# POSTGRES_HOST=localhost (not postgres)
58-
# QDRANT_HOST=localhost (not qdrant)
59-
# MINIO_HOST=localhost (not minio)
35+
### Local Development
6036

61-
# Start infrastructure
62-
docker compose up -d postgres fuseki rabbitmq
37+
```bash
38+
uv tool install naas-abi-cli --force --upgrade
6339

64-
# Start platform
65-
uv run abi stack start
40+
abi new project demo #You can change the project name to your own
41+
cd demo
42+
abi start
6643
```
6744

68-
**Platform will launch at:**
69-
- 🌐 **Nexus UI**: http://localhost:3000
70-
- 📊 **Nexus API**: http://localhost:9879
71-
- 🤖 **Agent API**: http://localhost:8001
72-
- 🗄️ **Fuseki**: http://localhost:3030
45+
**Platform launch:**
46+
47+
- Services Portal: https://localhost:8080
48+
- Backend: https://api.localhost (Important: you must access it first and accept the self-signed TLS certificate for the frontend to work)
49+
- Frontend: https://nexus.localhost
7350

7451
### CLI Commands
52+
7553
```bash
76-
uv run abi stack start # Start all services
77-
uv run abi stack stop # Stop all services
78-
uv run abi stack status # Show service health
79-
uv run abi stack logs [svc] # Stream BFO logs (api|web|core|all)
80-
uv run abi seed-jena # Populate graph database
81-
uv run abi chat # Interactive agent chat
54+
abi start # Start all services
55+
abi stop # Stop all services
56+
abi chat # Interactive agent chat
57+
abi config validate # Validate the configuration
8258
```
8359

84-
### Configuration
85-
86-
**Minimal config (loads AbiAgent only):**
87-
```yaml
88-
modules:
89-
- module: naas_abi
90-
enabled: true
91-
- module: naas_abi_core.modules.templatablesparqlquery
92-
enabled: true
93-
- module: naas_abi_marketplace.ai.chatgpt
94-
enabled: true
95-
96-
services:
97-
triple_store:
98-
triple_store_adapter:
99-
adapter: "apache_jena_tdb2"
100-
config:
101-
jena_tdb2_url: "http://admin:abi@localhost:3030/ds"
102-
```
60+
## How It Works
10361

104-
## Architecture
105-
106-
**Four-Layer AI Operating System:**
107-
108-
1. **User Layer**: Chat UI, REST API, MCP Protocol
109-
2. **Agent Layer**: ABI SuperAssistant + 20+ domain experts
110-
3. **Storage Layer**: Knowledge Graph (Jena/Oxigraph), Vector DB (Qdrant), Memory (PostgreSQL)
111-
4. **Execution Layer**: Ontologies (BFO), Workflows, Integrations, Analytics
112-
113-
```mermaid
114-
graph LR
115-
USER[👤 User] --> APPS[📱 Apps]
116-
APPS --> AGENTS[🧠 Agents]
117-
AGENTS --> STORAGE[(💾 Storage)]
118-
AGENTS --> EXEC[⚙️ Components]
119-
STORAGE --> KG[(Knowledge Graph)]
120-
STORAGE --> VDB[(Vector DB)]
121-
EXEC --> ONT[Ontologies]
122-
EXEC --> WF[Workflows]
123-
```
62+
**1. Your data becomes structured knowledge**
12463

125-
## Key Features
64+
Connect any data source: CRMs, code repositories, databases, productivity tools, financial systems. ABI ingests everything, maps relationships between entities, and builds a living knowledge graph of your organization. Not a data warehouse. A model of your reality.
12665

127-
### 🤖 Multi-Model AI
128-
- **Cloud**: ChatGPT, Claude, Gemini, Grok, Llama, Mistral
129-
- **Local**: Qwen, DeepSeek, Gemma (via Ollama)
130-
- **Supervisor**: ABI agent with intelligent routing
66+
**2. Your team gets AI that knows their job**
13167

132-
### 🧠 Knowledge Management
133-
- **Semantic Graph**: BFO-compliant RDF ontologies
134-
- **SPARQL Queries**: 30+ optimized queries
135-
- **Vector Search**: Intent matching via embeddings
136-
- **Memory**: Persistent conversation context
68+
Build agents for any role and workflow, each grounded in your organization's ontology. They understand the context of the work, not just the words in the question. The more you build, the deeper the institutional intelligence.
13769

138-
### 🏪 Marketplace
139-
- **Domain Experts**: 20+ agents (Engineer, Analyst, Creator, etc.)
140-
- **Integrations**: GitHub, LinkedIn, Google, PostgreSQL, ArXiv, etc.
141-
- **Modular**: Enable/disable via `config.yaml`
70+
**3. Every question finds the right intelligence**
14271

143-
### ⚙️ Automation
144-
- **Workflows**: End-to-end process automation
145-
- **Pipelines**: Data → Semantic transformation
146-
- **Event-Driven**: Knowledge graph triggers
147-
- **Integrations**: External APIs and exports
72+
A supervisor agent reads the intent behind each request and routes it to the right AI model, domain expert agent, or directly into your knowledge graph. Swap providers without rebuilding. The infrastructure adapts as AI evolves.
14873

149-
### 🌐 Multiple Interfaces
150-
- **Terminal**: `uv run abi chat` - Interactive CLI
151-
- **REST API**: HTTP endpoints
152-
- **MCP Protocol**: Claude Desktop / VS Code
153-
- **Web UI**: http://localhost:3000
74+
For the full architecture, including module structure, five-layer stack, services, and data flow, see [The ABI Stack](https://docs.naas.ai/architecture/the-stack).
15475

155-
### Production Deployment
76+
## Repository Layout
15677

157-
### Deploy to Naas Cloud
158-
```bash
159-
uv run abi deploy naas
160-
```
161-
Requires [Naas subscription](https://naas.ai). Deploys as containerized API at `https://{space}.default.space.naas.ai`
78+
| Package | What it does |
79+
| ---------------------- | ---------------------------------------------------------------- |
80+
| `naas-abi-core` | Infrastructure adapters: storage, vector DB, message bus, SPARQL |
81+
| `naas-abi` | Core agents, ontologies, and the Nexus app (API + web UI) |
82+
| `naas-abi-cli` | The `abi` CLI |
83+
| `naas-abi-marketplace` | Optional domain agents and third-party integrations |
84+
85+
## Production Deployment
16286

16387
### Self-Hosted Docker
88+
16489
```bash
165-
docker-compose up -d
90+
docker compose up -d
16691
```
92+
16793
Full stack with PostgreSQL, Fuseki, Qdrant, MinIO
16894

169-
## Services
95+
### Managed Hosting
17096

171-
| Service | Port | Purpose |
172-
|---------|------|---------|
173-
| Nexus Web | 3000 | Frontend UI |
174-
| Nexus API | 9879 | Platform API |
175-
| Agent API | 8001 | Agent execution |
176-
| Fuseki | 3030 | Graph database |
177-
| PostgreSQL | 5432 | Relational DB |
178-
| Qdrant | 6333 | Vector DB |
179-
| MinIO | 9000/9001 | Object storage |
97+
Need a hosted, managed deployment? [Get started on naas.ai](https://naas.ai) or reach out to the team directly.
18098

18199
## Why ABI?
182100

183-
**Ontology-Based AI for Freedom to Reason**: When semantic alignment meets kinetic action through ontology-driven systems, we get one of the most powerful technologies ever created. This power should be distributed, not concentrated - the ability to understand, reason, and act upon complex information is fundamental to human autonomy and democratic society.
101+
Most AI tools are black boxes. ABI is built on open standards so every decision is traceable, every model is replaceable, and you own your data.
102+
103+
**Built on international standards:**
184104

185-
**Built on International Standards:**
186105
- [ISO/IEC 42001:2023](https://www.iso.org/standard/42001) - AI Management Systems
187106
- [ISO/IEC 21838-2:2021](https://www.iso.org/standard/74572.html) - Basic Formal Ontology (BFO)
188107
- EU AI Act compliance-ready
189108

190-
**For:**
191-
- 👤 **Individuals**: Run locally, own your data
192-
-**Pro**: Automate workflows, optimize costs
193-
- 👥 **Teams**: Share knowledge, build agents
194-
- 🏢 **Enterprise**: Deploy at scale, full control
195-
196109
## Research & Development
197110

198111
Collaborative effort between:
112+
199113
- **[NaasAI](https://naas.ai)** - Applied AI Research Lab
200114
- **[OpenTeams](https://openteams.com/)** - Open SaaS Infrastructure
201115
- **[University at Buffalo](https://www.buffalo.edu/)** - Research University
202116
- **[NCOR](https://ncor.buffalo.edu/)** - National Center for Ontological Research
203117
- **[Forvis Mazars](https://www.forvismazars.com/)** - Global Audit & Consulting
204118

205-
## Requirements
206-
207-
**System:**
208-
- Python 3.10+
209-
- uv package manager
210-
- Git
211-
212-
**Hardware (Minimal - Cloud AI):**
213-
- 2GB+ RAM
214-
- 500MB disk
215-
216-
**Hardware (Full - Local/Docker):**
217-
- 8GB+ RAM
218-
- 10GB+ disk
219-
- Docker Desktop
220-
221-
**API Keys (at least one):**
222-
- OpenAI, Anthropic, Google AI, OpenRouter, or other LLM providers
119+
**If ABI is useful to you, star the repo to help others find it.**
223120

224121
## Contributing
225122

@@ -229,4 +126,4 @@ We welcome contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md) for guideline
229126

230127
MIT License - see [LICENSE](https://opensource.org/licenses/MIT)
231128

232-
For enterprise support: support@naas.ai
129+
For enterprise support or managed hosting, visit [naas.ai](https://naas.ai).

0 commit comments

Comments
 (0)