This file provides guidance to Claude Code when working in this repository.
- Read
docs/agent-policy.mdanddocs/agent-context.mdbefore answering any request in this repo.
docs/agent-policy.mdcontains the shared stable rules for both agents.docs/agent-context.mdcontains the current session state and handoff notes.
esp32_apiis the Python/FastAPI backend.esp32_uiis the Next.js/React/TypeScript frontend.b2b-dashboard-demois a separate Next.js/React/TypeScript frontend.
# Backend setup
python -m venv .venv
. .venv/bin/activate
pip install -r requirements-dev.txt
# Run API from the backend repo
cd server && uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
# Run tests
python -m pytest tests/
python -m pytest tests/test_query_planner.py
python -m pytest tests/test_query_planner.py -k "test_name"- Planning lives under
server/app/planning/. - Retrieval lives under
server/app/retrieval/. - Execution lives under
server/app/execution/answering/. - Framework adapters live under
server/app/frameworks/. - API routes live under
server/app/api/.
- External dependencies are env-driven.
- Copy
.env.exampleto.envat the repo root before running locally. - Key variables include Supabase connection strings, Ollama model settings, embedding dimensions, and auth tokens.