timmeck/cortex
Self-hosted AI Agent OS — Persistent agents with memory, multi-agent coordination, RAG, tool use, and Ollama/Claude support. Pure Python + SQLite, no LangChain.
[](https://github.com/timmeck/cortex/actions/workflows/ci.yml) [](https://www.python.org/downloads/) [](LICENSE)
██████╗ ██████╗ ██████╗ ████████╗███████╗██╗ ██╗
██╔════╝██╔═══██╗██╔══██╗╚══██╔══╝██╔════╝╚██╗██╔╝
██║ ██║ ██║██████╔╝ ██║ █████╗ ╚███╔╝
██║ ██║ ██║██╔══██╗ ██║ ██╔══╝ ██╔██╗
╚██████╗╚██████╔╝██║ ██║ ██║ ███████╗██╔╝ ██╗
╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝
AI Agent Operating SystemA self-hosted platform for spawning persistent AI agents that remember across sessions, use tools, and coordinate multi-agent workflows. Runs 100% locally with Ollama — no cloud dependency, no API keys required.
Pure Python + SQLite. No LangChain. 54 tests passing.
| Feature | Description | |---|---| | Agent CRUD | Create, list, run, and archive persistent agents | | Think-Act-Remember Loop | Agents reason, use tools, and auto-extract memories | | 8 Built-in Tools | read_file, write_file, shell_exec, web_fetch, delegate_task, send_message, receive_messages, search_documents | | Persistent Memory | FTS5 full-text search, recency-weighted recall across sessions | | Multi-Agent Pipelines | Sequential chains (A → B → C) and parallel fan-out | | Agent-to-Agent Messaging | Delegation and async inbox messaging between agents | | RAG / Document Ingestion | Ingest files/directories, chunked FTS5 search for context | | Scheduled Agents | Cron-like intervals (5m, 1h, 24h) for recurring tasks | | Dual LLM Support | Anthropic Claude API or Ollama (local, free) — auto-detects | | Web Dashboard | FastAPI + SSE live-stream with cyber terminal UI | | MCP Protocol | Conne
Loading reviews...