Cortex is an Agentic Personal Operating System designed to proactively manage your digital life. Built with FastAPI, LangGraph, and Next.js, it features a multi-agent architecture capable of intelligent routing, system monitoring, and future RAG/Calendar integrations.
-
Install Dependencies:
- Backend:
uv sync(orpip install -r requirements.txt) - Frontend:
cd frontend && npm install
- Backend:
-
Configure Environment:
- Copy
.env.exampleto.env. - Set your LLM keys (OpenAI, Hugging Face, or Groq).
- Copy
-
Launch Cortex:
chmod +x start_cortex.sh ./start_cortex.sh
- Backend:
http://localhost:8000 - Frontend:
http://localhost:3000
- Backend:
- Supervisor Agent: Routes requests using JSON-based reasoning (Model Agnostic).
- System Worker: Monitor CPU, RAM, Battery using local tools (Manual ReAct Loop).
- Journal Worker: (Coming Soon) RAG-based introspection.
- Calendar Worker: (Coming Soon) Schedule management.
- Backend: Python, FastAPI, LangGraph, LangChain.
- Frontend: TypeScript, Next.js, Tailwind CSS, shadcn/ui.
- LLM: Agnostic (Tested with Llama-3-70B via Hugging Face & OpenAI).
MIT