ContextForge is a document-aware AI workspace with a Flutter client and a FastAPI backend. It supports project-based conversations, document ingestion, retrieval-augmented generation, authentication, MLflow tracking, Redis caching, PostgreSQL persistence, and Qdrant vector search.
app/ Flutter frontend
backend/ FastAPI backend, Docker, Kubernetes, and database migrations
- Flutter SDK
- Python 3.12
- Docker Desktop
- Kubernetes enabled in Docker Desktop for Kubernetes commands
cd backend
python3.12 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
cp k8s/k8s.env.example k8s/k8s.envConfigure the values in .env and k8s/k8s.env. These files contain local credentials and must not be committed.
cd backend
source .venv/bin/activate
make api-runThe API documentation is available at http://localhost:8000/docs.
cd backend
make dev-upThe development API is available at http://localhost:8080/docs.
Stop the development stack with:
make dev-downcd app
flutter pub get
flutter runDo not commit .env, k8s/k8s.env, databases, uploads, MLflow artifacts, credentials, or generated build files. Use the supplied example configuration files as templates.