Initial commit

This commit is contained in:
2026-04-08 12:43:24 +02:00
commit be674c2f93
148 changed files with 25007 additions and 0 deletions

13
server/brain/__init__.py Normal file
View File

@@ -0,0 +1,13 @@
"""
brain/ — 2nd Brain module.
Provides persistent semantic memory: capture thoughts via Telegram (or any
Aide tool), retrieve them by meaning via MCP-connected AI clients.
Architecture:
- PostgreSQL + pgvector for storage and vector similarity search
- OpenRouter text-embedding-3-small for 1536-dim embeddings
- OpenRouter gpt-4o-mini for metadata extraction (type, tags, people, actions)
- MCP server mounted on FastAPI for external AI client access
- brain_tool registered with Aide's tool registry for Jarvis access
"""