brainapi2
Memory server
First committed by ChrisCoder9000
Published in Lumen-Labs/brainapi2. Publisher page
551 GitHub stars
What it is
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.
Summary from the brain’s metadata
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.
How it works
Memory model: Hybrid
AutoGineer overview, from the brain’s own files
Memory model: Hybrid. Folders: .github (agent config, 5 files); bin (scripts, 1 file); docs (docs, 36 files); scripts (scripts, 10 files); src (source code, 289 files); tests (tests, 88 files).
| Folder | Role | Files |
|---|---|---|
| .github | agent-config | 5 |
| bin | scripts | 1 |
| docs | docs | 36 |
| scripts | scripts | 10 |
| src | source-code | 289 |
| tests | tests | 88 |
| benchmarks | folder | 125 |
| console | folder | 27 |
| deploy | folder | 12 |
| licenses | folder | 1 |
| mcp-stdio-http-bridge | folder | 10 |
| plugins | folder | 1 |
| tui | folder | 54 |
Requirements
Runtimes: Python >=3.11,<4.0.0
Databases: Milvus, MongoDB, Neo4j, PostgreSQL, Redis
API keys (by name): BEARER_TOKEN, BEDROCK_SECRET_ACCESS_KEY, BEDROCK_SESSION_TOKEN, BRAINPAT_TOKEN, DEEPSEEK_API_KEY, DOCPARSER_TOKEN, OPENAI_API_KEY, PLUGIN_PUBLISHER_API_KEY
Works with: Claude Code, OpenAI Codex, GitHub Copilot, Cursor, Kiro, OpenCode, Amp, Cline, JetBrains Junie, Devin (ex-Windsurf)
Set it up
- Not scanned by AutoGineerThe author’s README also describes installing it from a clone of its repository. Read its install section: AutoGineer did not scan that path. https://github.com/Lumen-Labs/brainapi2/blob/4493e08ef690d46bd0abb43d63e86493137195c2/README.md#%EF%B8%8F-run-it-locally-dev-mode
First committed by ChrisCoder9000. Published in Lumen-Labs/brainapi2. Licence: Business Source License 1.1.
Usage
AutoGineer’s guidance for this type of brain
Add the server to your AI tool’s MCP configuration (see Set it up); your agent then stores and recalls memories through its tools.
Documentation by ChrisCoder9000
The licence does not allow AutoGineer to copy these files. Read the documentation at the source
512 files · 512 not served here
- .dockerignore (not served here)
- .env.example (not served here)
- .github/assets/console-sh.png (not served here)
- .github/assets/screen-video.png (not served here)
- .github/workflows/heavy-validation.yaml (not served here)
- .github/workflows/quality.yaml (not served here)
- .github/workflows/release.yaml (not served here)
- .gitignore (not served here)
- .pylintrc (not served here)
- AGENTS.md (not served here)
- CLAUDE.md (not served here)
- CONTRIBUTING.md (not served here)
- Dockerfile (not served here)
- LICENSE (not served here)
- Makefile (not served here)
- README.md (not served here)
- benchmarks/.env.example (not served here)
- benchmarks/.gitignore (not served here)
- benchmarks/AGENTS.md (not served here)
- benchmarks/CLAUDE.md (not served here)
- benchmarks/README.md (not served here)
- benchmarks/REPORTS.json (not served here)
- benchmarks/beam.sh (not served here)
- benchmarks/beam/__init__.py (not served here)
- benchmarks/beam/__main__.py (not served here)
- benchmarks/beam/answer.py (not served here)
- benchmarks/beam/cli.py (not served here)
- benchmarks/beam/client.py (not served here)
- benchmarks/beam/config.py (not served here)
- benchmarks/beam/dataset.py (not served here)
- benchmarks/beam/evaluate.py (not served here)
- benchmarks/beam/ingest.py (not served here)
- benchmarks/beam/judge.py (not served here)
- benchmarks/beam/metrics.py (not served here)
- benchmarks/beam/prompts.py (not served here)
- benchmarks/beam/provenance.py (not served here)
- benchmarks/beam/report.py (not served here)
- benchmarks/beam/sota.py (not served here)
- benchmarks/beam/test_beam_helpers.py (not served here)
- benchmarks/data/.gitkeep (not served here)
- benchmarks/locomo.sh (not served here)
- benchmarks/locomo/__init__.py (not served here)
- benchmarks/locomo/__main__.py (not served here)
- benchmarks/locomo/answer.py (not served here)
- benchmarks/locomo/cli.py (not served here)
- benchmarks/locomo/client.py (not served here)
- benchmarks/locomo/config.py (not served here)
- benchmarks/locomo/dataset.py (not served here)
- benchmarks/locomo/evaluate.py (not served here)
- benchmarks/locomo/ingest.py (not served here)
- benchmarks/locomo/judge.py (not served here)
- benchmarks/locomo/metrics.py (not served here)
- benchmarks/locomo/prompts.py (not served here)
- benchmarks/locomo/provenance.py (not served here)
- benchmarks/locomo/report.py (not served here)
- benchmarks/locomo/sota.py (not served here)
- benchmarks/locomo/taxonomy.py (not served here)
- benchmarks/locomo/test_sota_helpers.py (not served here)
- benchmarks/longmemeval.sh (not served here)
- benchmarks/longmemeval/__init__.py (not served here)
- benchmarks/longmemeval/__main__.py (not served here)
- benchmarks/longmemeval/answer.py (not served here)
- benchmarks/longmemeval/cli.py (not served here)
- benchmarks/longmemeval/client.py (not served here)
- benchmarks/longmemeval/config.py (not served here)
- benchmarks/longmemeval/dataset.py (not served here)
- benchmarks/longmemeval/evaluate.py (not served here)
- benchmarks/longmemeval/ingest.py (not served here)
- benchmarks/longmemeval/judge.py (not served here)
- benchmarks/longmemeval/metrics.py (not served here)
- benchmarks/longmemeval/prompts.py (not served here)
- benchmarks/longmemeval/provenance.py (not served here)
- benchmarks/longmemeval/report.py (not served here)
- benchmarks/longmemeval/sota.py (not served here)
- benchmarks/recsys.sh (not served here)
- benchmarks/recsys/__init__.py (not served here)
- benchmarks/recsys/__main__.py (not served here)
- benchmarks/recsys/cli.py (not served here)
- benchmarks/recsys/client.py (not served here)
- benchmarks/recsys/config.py (not served here)
- benchmarks/recsys/dataset.py (not served here)
- benchmarks/recsys/evaluate.py (not served here)
- benchmarks/recsys/mapping.py (not served here)
- benchmarks/recsys/report.py (not served here)
- benchmarks/requirements.txt (not served here)
- benchmarks/runs/.gitkeep (not served here)
- benchmarks/runs/beam-1m-1-product-v3c-compose/answers.jsonl (not served here)
- benchmarks/runs/beam-1m-1-product-v3c-compose/manifest.json (not served here)
- benchmarks/runs/beam-1m-1-product-v3c-compose/report.json (not served here)
- benchmarks/runs/beam-1m-1-product-v3c-compose/report.md (not served here)
- benchmarks/runs/beam-1m-1-product-v3c-compose/run.tar.gz (not served here)
- benchmarks/runs/locomo-compose-sota-conv26-v4d/NOTES.md (not served here)
- benchmarks/runs/locomo-compose-sota-conv26-v4d/answers.jsonl (not served here)
- benchmarks/runs/locomo-compose-sota-conv26-v4d/manifest.json (not served here)
- benchmarks/runs/locomo-compose-sota-conv26-v4d/report.json (not served here)
- benchmarks/runs/locomo-compose-sota-conv26-v4d/report.md (not served here)
- benchmarks/runs/locomo-compose-sota-conv26-v4d/run.tar.gz (not served here)
- benchmarks/scripts/beam_10m_keepalive.sh (not served here)
- benchmarks/scripts/beam_1m_keepalive.sh (not served here)
- benchmarks/scripts/boot_beam_10m_screen.sh (not served here)
- benchmarks/scripts/boot_beam_1m_screen.sh (not served here)
- benchmarks/scripts/eval_beam_10m_1_product.sh (not served here)
- benchmarks/scripts/eval_beam_1m_1_product.sh (not served here)
- benchmarks/scripts/run_beam_10m_1_ingest_eval.sh (not served here)
- benchmarks/scripts/run_beam_1m_1_ingest_eval.sh (not served here)
- benchmarks/scripts/run_beam_chats_2_3.sh (not served here)
- benchmarks/scripts/run_sota_locomo10.sh (not served here)
- benchmarks/search.sh (not served here)
- benchmarks/search/__init__.py (not served here)
- benchmarks/search/__main__.py (not served here)
- benchmarks/search/backfill_entities.py (not served here)
- benchmarks/search/catalog.py (not served here)
- benchmarks/search/cli.py (not served here)
- benchmarks/search/client.py (not served here)
- benchmarks/search/config.py (not served here)
- benchmarks/search/dataset.py (not served here)
- benchmarks/search/evaluate.py (not served here)
- benchmarks/search/export_hybrid_lists.py (not served here)
- benchmarks/search/finetune_esci_4class.py (not served here)
- benchmarks/search/finetune_esci_ce.py (not served here)
- benchmarks/search/finetune_esci_dense.py (not served here)
- benchmarks/search/jdsearch.py (not served here)
- benchmarks/search/jdsearch_stats.py (not served here)
- benchmarks/search/list_overlap.py (not served here)
- benchmarks/search/local_colbert.py (not served here)
- benchmarks/search/local_dense.py (not served here)
- benchmarks/search/ltr_head.py (not served here)
- benchmarks/search/mapping.py (not served here)
- benchmarks/search/metrics.py (not served here)
- benchmarks/search/mine_retrieved_lists.py (not served here)
- benchmarks/search/miss.py (not served here)
- benchmarks/search/miss_strata.py (not served here)
- benchmarks/search/pool_first_stage.py (not served here)
- benchmarks/search/rank_corpus.py (not served here)
- benchmarks/search/rank_pool.py (not served here)
- benchmarks/search/rank_pool_4class.py (not served here)
- benchmarks/search/replay_fusion.py (not served here)
- benchmarks/search/report.py (not served here)
- benchmarks/search/rerank_retrieved.py (not served here)
- benchmarks/synergies/__init__.py (not served here)
- benchmarks/synergies/report.py (not served here)
- bin/brainapi (not served here)
- console/.gitignore (not served here)
- console/AGENTS.md (not served here)
- console/CLAUDE.md (not served here)
- console/index.html (not served here)
- console/package-lock.json (not served here)
- console/package.json (not served here)
- console/src/App.tsx (not served here)
- console/src/components/Layout.tsx (not served here)
- console/src/components/Workbench.tsx (not served here)
- console/src/index.css (not served here)
- console/src/lib/api.ts (not served here)
- console/src/lib/auth.ts (not served here)
- console/src/lib/graphModel.ts (not served here)
- console/src/main.tsx (not served here)
- console/src/pages/DataPage.tsx (not served here)
- console/src/pages/GraphPage.tsx (not served here)
- console/src/pages/IngestPage.tsx (not served here)
- console/src/pages/LoginPage.tsx (not served here)
- console/src/pages/ObservationsPage.tsx (not served here)
- console/src/pages/OverviewPage.tsx (not served here)
- console/src/pages/TasksPage.tsx (not served here)
- console/src/pages/VectorsPage.tsx (not served here)
- console/src/vite-env.d.ts (not served here)
- console/tsconfig.json (not served here)
- console/tsconfig.node.json (not served here)
- console/tsconfig.tsbuildinfo (not served here)
- console/vite.config.ts (not served here)
- deploy/README.md (not served here)
- deploy/backup_restore.py (not served here)
- deploy/brainapi-backup (not served here)
- deploy/docker-compose.ci.yaml (not served here)
- deploy/docker-compose.heavy.yaml (not served here)
- deploy/docker-compose.light.yaml (not served here)
- deploy/env.heavy.example (not served here)
- deploy/env.light.example (not served here)
- deploy/env.public-demo.example (not served here)
- deploy/nginx/conf.d/brainapi.conf (not served here)
- deploy/nginx/nginx.conf (not served here)
- deploy/release-artifacts/README.md (not served here)
- docs/decisions/001-ingestion-structure.md (not served here)
- docs/decisions/002-structured-ingestion-specific-processing.md (not served here)
- docs/decisions/003-simple-one-shot-context-api-retrieval.md (not served here)
- docs/decisions/004-agentic-navigation-retrieval.md (not served here)
- docs/decisions/005-hybrid-one-shot-context-retrieval.md (not served here)
- docs/decisions/006-two-tier-retrieval-latency-budget.md (not served here)
- docs/decisions/007-three-product-surfaces-one-kb.md (not served here)
- docs/decisions/008-query-gated-search-personalization.md (not served here)
- docs/explore-atlas.md (not served here)
- docs/research/00-scope-and-constraints.md (not served here)
- docs/research/01-ingestion-extraction.md (not served here)
- docs/research/02-retrieval-multihop.md (not served here)
- docs/research/03-memory-substrate.md (not served here)
- docs/research/04-evaluation-and-applications.md (not served here)
- docs/research/05-temporal-truth.md (not served here)
- docs/research/06-roadmap.md (not served here)
- docs/research/07-event-graphrag-improvement-plan.md (not served here)
- docs/research/08-sota-locomo-protocol.md (not served here)
- docs/research/09-longmemeval-protocol.md (not served here)
- docs/research/10-beam-protocol.md (not served here)
- docs/research/10-ingest-cost-latency.md (not served here)
- docs/research/11-architect-loop-efficiency-plan.md (not served here)
- docs/research/12-locomo-93-at-low-multiplier.md (not served here)
- docs/research/13-locomo-93-research-levers.md (not served here)
- docs/research/14-beam-1m-65-plan.md (not served here)
- docs/research/15-ecommerce-gnn-recsys-landscape.md (not served here)
- docs/research/16-recsys-eval-protocol.md (not served here)
- docs/research/17-search-surface-and-cross-features.md (not served here)
- docs/research/18-search-eval-protocol.md (not served here)
- docs/research/19-search-esci-quality.md (not served here)
- docs/research/20-esci-sota-targets.md (not served here)
- docs/research/21-esci-ce-graded-and-first-stage.md (not served here)
- docs/research/22-multilingual-ecommerce-search.md (not served here)
- docs/research/23-search-wands-quality.md (not served here)
- docs/research/24-search-catalog-graph.md (not served here)
- docs/research/25-personalized-search.md (not served here)
- entrypoint.sh (not served here)
- example-docker-compose.yaml (not served here)
- licenses/Apache-2.0.txt (not served here)
- llms.txt (not served here)
- mcp-stdio-http-bridge/Cargo.lock (not served here)
- mcp-stdio-http-bridge/Cargo.toml (not served here)
- mcp-stdio-http-bridge/README.md (not served here)
- mcp-stdio-http-bridge/rust-toolchain.toml (not served here)
- mcp-stdio-http-bridge/src/bridge.rs (not served here)
- mcp-stdio-http-bridge/src/config.rs (not served here)
- mcp-stdio-http-bridge/src/lib.rs (not served here)
- mcp-stdio-http-bridge/src/main.rs (not served here)
- mcp-stdio-http-bridge/src/remote_transport.rs (not served here)
- mcp-stdio-http-bridge/src/stdio.rs (not served here)
- package-lock.json (not served here)
- plugins/readme.txt (not served here)
- poetry.lock (not served here)
- pyproject.toml (not served here)
- scripts/assemble_release_artifacts.py (not served here)
- scripts/benchmark_explore_atlas.py (not served here)
- scripts/check_release_readiness.py (not served here)
- scripts/install_extras.py (not served here)
- scripts/openai_ci_stub.py (not served here)
- scripts/preload_docker_models.py (not served here)
- scripts/production_smoke.py (not served here)
- scripts/release_version.py (not served here)
- scripts/seed_public_demo.py (not served here)
- scripts/write_security_artifact.py (not served here)
- src/__init__.py (not served here)
- src/adapters/__init__.py (not served here)
- src/adapters/cache.py (not served here)
- src/adapters/crawler.py (not served here)
- src/adapters/data.py (not served here)
- src/adapters/embeddings.py (not served here)
- src/adapters/graph.py (not served here)
- src/adapters/graph_operation_result_serializer.py (not served here)
- src/adapters/interfaces/__init__.py (not served here)
- src/adapters/interfaces/cache.py (not served here)
- src/adapters/interfaces/crawler.py (not served here)
- src/adapters/interfaces/data.py (not served here)
- src/adapters/interfaces/embeddings.py (not served here)
- src/adapters/interfaces/graph.py (not served here)
- src/adapters/interfaces/llm.py (not served here)
- src/adapters/llm.py (not served here)
- src/config.py (not served here)
- src/constants/__init__.py (not served here)
- src/constants/agents.py (not served here)
- src/constants/data.py (not served here)
- src/constants/embeddings.py (not served here)
- src/constants/kg.py (not served here)
- src/constants/output_schemas.py (not served here)
- src/constants/prompts/__init__.py (not served here)
- src/constants/prompts/architect_agent.py (not served here)
- src/constants/prompts/janitor_agent.py (not served here)
- src/constants/prompts/kg_agent.py (not served here)
- src/constants/prompts/misc.py (not served here)
- src/constants/prompts/observations_agent.py (not served here)
- src/constants/prompts/scout_agent.py (not served here)
- src/constants/spacy_models.py (not served here)
- src/constants/tasks/__init__.py (not served here)
- src/constants/tasks/ingestion.py (not served here)
- src/core/__init__.py (not served here)
- src/core/agents/__init__.py (not served here)
- src/core/agents/architect_agent.py (not served here)
- src/core/agents/chat_agent.py (not served here)
- src/core/agents/core/__init__.py (not served here)
- src/core/agents/core/agent_base.py (not served here)
- src/core/agents/core/invoke_loop.py (not served here)
- src/core/agents/core/parsing.py (not served here)
- src/core/agents/core/prompts.py (not served here)
- src/core/agents/core/runtime_agent_factory.py (not served here)
- src/core/agents/core/schema_utils.py (not served here)
- src/core/agents/core/structured_output.py (not served here)
- src/core/agents/core/types.py (not served here)
- src/core/agents/janitor_agent.py (not served here)
- src/core/agents/kg_agent.py (not served here)
- src/core/agents/observations_agent.py (not served here)
- src/core/agents/scout_agent.py (not served here)
- src/core/agents/temporal_agent.py (not served here)
- src/core/agents/tools/__init__.py (not served here)
- src/core/agents/tools/architect_agent/ArchitectAgentCheckUsedEntitiesTool.py (not served here)
- src/core/agents/tools/architect_agent/ArchitectAgentCreateRelationshipTool.py (not served here)
- src/core/agents/tools/architect_agent/ArchitectAgentGetRemainingEntitiesToProcessTool.py (not served here)
- src/core/agents/tools/architect_agent/ArchitectAgentMarkEntitiesAsUsedTool.py (not served here)
- src/core/agents/tools/architect_agent/__init__.py (not served here)
- src/core/agents/tools/chat_agent/__init__.py (not served here)
- src/core/agents/tools/janitor_agent/JanitorAgentExecuteGraphOperationTool.py (not served here)
- src/core/agents/tools/janitor_agent/JanitorAgentExecuteGraphReadOperationTool.py (not served here)
- src/core/agents/tools/janitor_agent/JanitorAgentGetSchemaTool.py (not served here)
- src/core/agents/tools/janitor_agent/JanitorAgentSearchEntitiesTool.py (not served here)
- src/core/agents/tools/janitor_agent/JanitorAgentSearchRelationshipTool.py (not served here)
- src/core/agents/tools/janitor_agent/__init__.py (not served here)
- src/core/agents/tools/kg_agent/KGAgentAddNodesTool.py (not served here)
- src/core/agents/tools/kg_agent/KGAgentAddTripletsTool.py (not served here)
- src/core/agents/tools/kg_agent/KGAgentCreateNodeTool.py (not served here)
- src/core/agents/tools/kg_agent/KGAgentCreateRelationshipTool.py (not served here)
- src/core/agents/tools/kg_agent/KGAgentDeleteNodesTool.py (not served here)
- src/core/agents/tools/kg_agent/KGAgentDeleteRelationshipTool.py (not served here)
- src/core/agents/tools/kg_agent/KGAgentExecuteGraphOperationTool.py (not served here)
- src/core/agents/tools/kg_agent/KGAgentRemoveNodeTool.py (not served here)
- src/core/agents/tools/kg_agent/KGAgentRemoveRelationshipTool.py (not served here)
- src/core/agents/tools/kg_agent/KGAgentSearchGraphTool.py (not served here)
- src/core/agents/tools/kg_agent/KGAgentUpdatePropertiesTool.py (not served here)
- src/core/agents/tools/kg_agent/__init__.py (not served here)
- src/core/agents/validator_agent.py (not served here)
- src/core/backups/__init__.py (not served here)
- src/core/backups/backup_creator.py (not served here)
- src/core/backups/scheduler.py (not served here)
- src/core/chunking/text_chunker.py (not served here)
- src/core/files/__init__.py (not served here)
- src/core/instances.py (not served here)
- src/core/layers/__init__.py (not served here)
- src/core/layers/errors/__init__.py (not served here)
- src/core/layers/errors/cypher_operations.py (not served here)
- src/core/layers/graph_consolidation/__init__.py (not served here)
- src/core/layers/graph_consolidation/graph_consolidation.py (not served here)
- src/core/layers/outputs/__init__.py (not served here)
- src/core/plugins/__init__.py (not served here)
- src/core/plugins/catalog.py (not served here)
- src/core/plugins/celery_discovery.py (not served here)
- src/core/plugins/cli.py (not served here)
- src/core/plugins/context.py (not served here)
- src/core/plugins/entrypoints.py (not served here)
- src/core/plugins/loader.py (not served here)
- src/core/plugins/manager.py (not served here)
- src/core/plugins/manifest.py (not served here)
- src/core/plugins/prompts.py (not served here)
- src/core/plugins/registry.py (not served here)
- src/core/saving/__init__.py (not served here)
- src/core/saving/architect_batch.py (not served here)
- src/core/saving/architect_scratchpad.py (not served here)
- src/core/saving/auto_kg.py (not served here)
- src/core/saving/grounding.py (not served here)
- src/core/saving/hub_bridges.py (not served here)
- src/core/saving/identity.py (not served here)
- src/core/saving/ingest_access_gate.py (not served here)
- src/core/saving/ingest_cancellation.py (not served here)
- src/core/saving/ingest_cost.py (not served here)
- src/core/saving/ingest_groups.py (not served here)
- src/core/saving/ingest_manifest.py (not served here)
- src/core/saving/ingest_publication.py (not served here)
- src/core/saving/ingest_recovery.py (not served here)
- src/core/saving/ingest_runtime.py (not served here)
- src/core/saving/ingest_staged_input.py (not served here)
- src/core/saving/ingest_staged_output.py (not served here)
- src/core/saving/ingest_staging.py (not served here)
- src/core/saving/ingest_worker.py (not served here)
- src/core/saving/ingest_write_buffer.py (not served here)
- src/core/saving/ingestion_manager.py (not served here)
- src/core/saving/pipeline_runtime.py (not served here)
- src/core/saving/pipeline_store.py (not served here)
- src/core/saving/topic_hyperedges.py (not served here)
- src/core/search/__init__.py (not served here)
- src/core/search/bm25.py (not served here)
- src/core/search/catalog_graph.py (not served here)
- src/core/search/context.py (not served here)
- src/core/search/entities.py (not served here)
- src/core/search/entity_context.py (not served here)
- src/core/search/entity_info.py (not served here)
- src/core/search/entity_sibilings.py (not served here)
- src/core/search/fact_filter.py (not served here)
- src/core/search/graph_channels.py (not served here)
- src/core/search/hooks.py (not served here)
- src/core/search/hybrid.py (not served here)
- src/core/search/personalize.py (not served here)
- src/core/search/recommend.py (not served here)
- src/core/search/relationships.py (not served here)
- src/core/search/synergy_metrics.py (not served here)
- src/core/search/traverse.py (not served here)
- src/lib/__init__.py (not served here)
- src/lib/crawler/__init__.py (not served here)
- src/lib/crawler/cleaned.py (not served here)
- src/lib/crawler/client_lumen.py (not served here)
- src/lib/crawler/errors.py (not served here)
- src/lib/embeddings/__init__.py (not served here)
- src/lib/embeddings/client.py (not served here)
- src/lib/embeddings/client_bedrock.py (not served here)
- src/lib/embeddings/client_ollama.py (not served here)
- src/lib/embeddings/client_openai.py (not served here)
- src/lib/embeddings/client_small.py (not served here)
- src/lib/embeddings/client_vertex.py (not served here)
- src/lib/embeddings/local.py (not served here)
- src/lib/llm/__init__.py (not served here)
- src/lib/llm/client_anthropic.py (not served here)
- src/lib/llm/client_anthropic_vertex.py (not served here)
- src/lib/llm/client_azure.py (not served here)
- src/lib/llm/client_bedrock.py (not served here)
- src/lib/llm/client_deepseek.py (not served here)
- src/lib/llm/client_large.py (not served here)
- src/lib/llm/client_ollama.py (not served here)
- src/lib/llm/client_openai.py (not served here)
- src/lib/llm/client_small.py (not served here)
- src/lib/llm/client_vertex.py (not served here)
- src/lib/milvus/client.py (not served here)
- src/lib/milvus/docker-compose.yaml (not served here)
- src/lib/milvus/readme.txt (not served here)
- src/lib/mongo/client.py (not served here)
- src/lib/mongo/docker-compose.yaml (not served here)
- src/lib/neo4j/__init__.py (not served here)
- src/lib/neo4j/client.py (not served here)
- src/lib/neo4j/config/neo4j.conf (not served here)
- src/lib/neo4j/docker-compose.yaml (not served here)
- src/lib/postgresql/__init__.py (not served here)
- src/lib/postgresql/_naming.py (not served here)
- src/lib/postgresql/_provisioning.py (not served here)
- src/lib/postgresql/data.py (not served here)
- src/lib/postgresql/docker-compose.yaml (not served here)
- src/lib/postgresql/graph_store.py (not served here)
- src/lib/postgresql/networkx.py (not served here)
- src/lib/postgresql/networkx_client.py (not served here)
- src/lib/postgresql/read_query.py (not served here)
- src/lib/postgresql/vectors.py (not served here)
- src/lib/qdrant/__init__.py (not served here)
- src/lib/rabbitmq/__init__.py (not served here)
- src/lib/rabbitmq/docker-compose.yaml (not served here)
- src/lib/redis/__init__.py (not served here)
- src/lib/redis/client.py (not served here)
- src/lib/redis/docker-compose.yaml (not served here)
- src/lib/tracing/__init__.py (not served here)
- src/lib/tracing/events.py (not served here)
- src/lib/tracing/middleware.py (not served here)
- src/lib/tracing/profiler.py (not served here)
- src/lib/tracing/runtime.py (not served here)
- src/lib/tracing/subscribers.py (not served here)
- src/lib/tracing/tracker.py (not served here)
- src/lib/tracing/workers.py (not served here)
- src/main.py (not served here)
- src/services/__init__.py (not served here)
- src/services/api/app.py (not served here)
- src/services/api/console_static.py (not served here)
- src/services/api/constants/__init__.py (not served here)
- src/services/api/constants/requests.py (not served here)
- src/services/api/constants/responses.py (not served here)
- src/services/api/constants/tool_schemas.py (not served here)
- src/services/api/controllers/__init__.py (not served here)
- src/services/api/controllers/changelogs.py (not served here)
- src/services/api/controllers/entities.py (not served here)
- src/services/api/controllers/kg.py (not served here)
- src/services/api/controllers/meta.py (not served here)
- src/services/api/controllers/model.py (not served here)
- src/services/api/controllers/observations.py (not served here)
- src/services/api/controllers/retrieve.py (not served here)
- src/services/api/controllers/search.py (not served here)
- src/services/api/controllers/structured_data.py (not served here)
- src/services/api/controllers/system.py (not served here)
- src/services/api/controllers/vectors.py (not served here)
- src/services/api/dependencies.py (not served here)
- src/services/api/errors.py (not served here)
- src/services/api/middlewares/__init__.py (not served here)
- src/services/api/middlewares/auth.py (not served here)
- src/services/api/middlewares/brains.py (not served here)
- src/services/api/middlewares/ingest_publication.py (not served here)
- src/services/api/openapi.py (not served here)
- src/services/api/pyproject.toml (not served here)
- src/services/api/routes/__init__.py (not served here)
- src/services/api/routes/explore.py (not served here)
- src/services/api/routes/ingest.py (not served here)
- src/services/api/routes/meta.py (not served here)
- src/services/api/routes/model.py (not served here)
- src/services/api/routes/public.py (not served here)
- src/services/api/routes/retrieve.py (not served here)
- src/services/api/routes/system.py (not served here)
- src/services/api/routes/tasks.py (not served here)
- src/services/api/uv.lock (not served here)
- src/services/brain_lifecycle.py (not served here)
- src/services/chat/__init__.py (not served here)
- src/services/data/__init__.py (not served here)
- src/services/data/main.py (not served here)
- src/services/explore/communities.py (not served here)
- src/services/explore/store.py (not served here)
- src/services/input/__input__.py (not served here)
- src/services/input/agents.py (not served here)
- src/services/kg_agent/main.py (not served here)
- src/services/mcp/__init__.py (not served here)
- src/services/mcp/app.py (not served here)
- src/services/mcp/executor.py (not served here)
- src/services/mcp/main.py (not served here)
- src/services/mcp/oauth_provider.py (not served here)
- src/services/mcp/prompt.py (not served here)
- src/services/mcp/utils.py (not served here)
- src/services/observations/__init__.py (not served here)
- src/services/observations/main.py (not served here)
- src/services/triggers/__init__.py (not served here)
- src/services/triggers/neighbourhood.py (not served here)
- src/services/triggers/synthetic_kg.py (not served here)
- src/services/webserver/docker-compose.yaml (not served here)
- src/services/webserver/nginx/Dockerfile (not served here)
- src/services/webserver/nginx/nginx.conf (not served here)
- src/utils/__init__.py (not served here)
- src/utils/cleanup.py (not served here)
- src/utils/dates.py (not served here)
- src/utils/debug/__init__.py (not served here)
- src/utils/debug/logtable.py (not served here)
- src/utils/logging.py (not served here)
- src/utils/nlp/__init__.py (not served here)
Advantages
- Local-first: the memory stays in files or a database on your own machine (a rule-derived fact from the brain’s files, evidence: README.md)
- Works with 10 MCP clients (a rule-derived fact from the brain’s files, evidence: README.md)
Limitations
- Needs an API key (BEARER_TOKEN, BEDROCK_SECRET_ACCESS_KEY, BEDROCK_SESSION_TOKEN) (a rule-derived fact from the brain’s files, evidence: README.md)
- Needs a database (Milvus, MongoDB, Neo4j) (a rule-derived fact from the brain’s files, evidence: README.md)
- Link-only: AutoGineer links to the files instead of serving them (a rule-derived fact from the brain’s files)
Security
Risk level: Low risk
This brain runs
Agent instructions that run or fetch something (7)
benchmarks/AGENTS.md:./search.sh evaluate --dataset data/search_esci.jsonl --brain searchbenchesci --run search-escibenchmarks/AGENTS.md:./search.sh --brain searchbenchwands evaluate --dataset data/search_wands.jsonl --run search-wands-passages-k50 --channels passages --k 50 --ks 5,10,20,50benchmarks/AGENTS.md:./search.sh --brain searchbenchwands evaluate --dataset data/search_wands.jsonl --run search-wands-passages-k50 --channels passages --k 50 --ks 5,10,20,50 --skip-ingestbenchmarks/AGENTS.md:./search.sh --brain searchbenchwandsgraph evaluate --dataset data/search_wands.jsonl --run search-wandsgraph-communities-k50 --channels communities --k 50 --ks 5,10,20,50 --ingest-graphbenchmarks/AGENTS.md:./search.sh report --run <run_id>benchmarks/AGENTS.md:After any completed evaluate/report that produces a successful scored run, ensure the suite entry in `REPORTS.json` reflects it.benchmarks/AGENTS.md:TUI / `brainapi start` may run from `~/.brainapi/source`, not this workspace.
- Low risk: scripts-present (scripts/install_extras.py)
Attribution and licence
- First committed by
ChrisCoder9000
- Declared authors
- Christian (declared in pyproject.toml)
- Publisher
- Lumen Labs (Community)
- Source
- Lumen-Labs/brainapi2 · commit 4493e08
- Licence
- Business Source License 1.1 (The licence does not allow AutoGineer to copy these files.)
- Synced
- Contributors
- ChrisCoder9000, shreytiwari09
AutoGineer is not affiliated with or endorsed by ChrisCoder9000 or Lumen Labs.
Install from source
The licence does not allow AutoGineer to copy these files. Lumen-Labs/brainapi2 at 4493e08