brainapi2
BrainAPI is a knowledge graph–powered AI memory layer that transforms unstructured data into structured knowledge, enabling intelligent search, recommendations,
What is brainapi2?
BrainAPI is a knowledge graph–powered AI memory layer that transforms unstructured data into structured knowledge, enabling intelligent search, recommendations, and contextual memory for AI agents and applications.
Overview of brainapi2
What it is
BrainAPI is a knowledge graph–powered AI memory layer that turns unstructured text into structured knowledge. It uses a swarm of AI agents to read documents, notes, messages, or events, extract facts, and build them into a queryable event-centric knowledge graph. You can ask plain-language questions and receive answers with a traceable graph path showing how the answer was derived, rather than a similarity-based guess.
Key features
- Automatically builds a knowledge graph from raw text using a swarm of specialized AI agents.
- Event-centric modeling that captures subject–action–object relationships with context (who did what, to whom, when).
- Answers come with a traceable path (triples) showing the graph connections used to derive the response.
- Includes a web UI console for exploring the graph, text chunks, vectors, observations, and tasks.
- Provides a TUI (CLI wizard) for simplified setup, installation, starting services, and management (init, start, config, doctor, update).
- Supports multiple deployment modes: development (with hot reload), Docker Compose profiles (light with PG + DeepSeek + OpenAI embeddings, or heavy with Neo4j + Milvus + Mongo + GCP/Azure), and cloud.
- Offers an MCP server endpoint for integration with other tools.
Use cases
- Building AI agents with contextual memory that can answer multi-step questions about events and relationships.
- Intelligent search over unstructured document collections where results are backed by a knowledge graph.
- Recommendations and insights derived from event-centric connections in meeting notes, emails, logs, or message histories.
Getting started
The quickest way to run BrainAPI is using the TUI installer:/n/nsh/nnpm install -g brainapi-tui/nbrainapi init # clone, install deps, setup wizard (or pass flags to skip prompts)/nbrainapi start # backing services + API + MCP + worker + console/n
License and pricing
BrainAPI is open source. The repository metadata does not specify a particular license (license type: NOT ASSERTED).
Based on the project's public README and repository metadata.