Local-first system for interactive idea generation and refinement with an evolutionary algorithm + LLM generator/critic agents.
- Backend: Python + FastAPI + SQLite (
uvworkflow) - Frontend: React + TypeScript + Vite (
bunworkflow) - LLM provider: OpenRouter chat completions API
/Users/mishaaghamalyan/Development/personal/evolv/backendFastAPI backend/Users/mishaaghamalyan/Development/personal/evolv/frontendReact frontend/Users/mishaaghamalyan/Development/personal/evolv/dataSQLite DB, project artifacts, checkpoints, exports
- Install deps
cd /Users/mishaaghamalyan/Development/personal/evolv/backend
uv sync- Optional OpenRouter config
export EVOLV_OPENROUTER_API_KEY="your_key"If no key is set, backend runs in deterministic mock-LLM mode.
- Run server
uv run uvicorn app.main:app --reload --port 8000- Install deps
cd /Users/mishaaghamalyan/Development/personal/evolv/frontend
bun install- Run dev server
bun run devFrontend proxies /api and /ws to backend on localhost:8000.
- Project CRUD with problem statement, criteria, hyperparams, seed ideas
- Async run orchestration with
start,pause,resume,stop - Evolution operators: mutate, crossover, random inject, elitism
- Critic scoring with weighted aggregate objective
- Diversity scoring (sentence-transformers with fallback)
- WebSocket live event stream
- Checkpoint creation and resume-from-checkpoint support
- Run results endpoint + Markdown/JSON export
- SQLite persistence + on-disk artifacts
- Health + Prometheus metrics endpoints
POST /api/projectsGET /api/projectsGET /api/projects/{project_id}PATCH /api/projects/{project_id}POST /api/projects/{project_id}/runsGET /api/runs/{run_id}POST /api/runs/{run_id}/pausePOST /api/runs/{run_id}/resumePOST /api/runs/{run_id}/stopPOST /api/runs/{run_id}/checkpointGET /api/runs/{run_id}/resultsGET /api/runs/{run_id}/export?format=json|mdGET /api/runs/{run_id}/eventsGET /health/liveGET /health/readyGET /metricsWS /ws/runs/{run_id}
cd /Users/mishaaghamalyan/Development/personal/evolv/backend
uv run pytest- This is V1 local-first architecture with in-process async workers.
- Cost/token telemetry is informational only in this version.