A local-first, intelligent middleware between you and AI models.
- Backend: ✅ Complete (Core Engine, API, DB)
- Frontend: 🚧 In Progress (Structure built, dependencies pending)
- Python 3.11+
- Node.js 18+ (for frontend)
- API Keys: Google Gemini (Required), Anthropic Claude (Optional)
-
Setup Environment:
python scripts/setup.py
-
Configure API Keys: Copy
.env.exampleto.envand add your keys:cp .env.example .env # Edit .env and add GEMINI_API_KEY -
Run Backend Server:
.venv/Scripts/python -m backend.main
Server will start at
http://localhost:3847. API Documentation:http://localhost:3847/docs
-
Core Engine:
Intake: Analyzes intent using Gemini Flash.Clarifier: Asks smart questions when ambiguous.Optimizer: Builds perfect single-shot prompts.Executor: Routes to best model (Gemini/Claude) and handles tools.Memory: Stores user profile and context in SQLite.Skills: Auto-selects best prompt engineering techniques.MCP: Connects to local tools via Model Context Protocol.
-
Tech Stack:
- FastAPI, SQLAlchmey, SQLite
- React, Vite, Tailwind CSS (Frontend)
To run both backend and frontend (once frontend is fixed):
python scripts/dev.py