- Add dynamic_graph_builder.py that constructs LangGraph graphs at runtime
from frontend CouncilBlueprint JSON (no more hardcoded graphs in production)
- Add PostgreSQL persistence via SQLAlchemy async with Blueprint model
- Add blueprint CRUD endpoints (POST/GET/PUT/DELETE /api/councils/)
- Add POST /api/councils/{id}/run to execute blueprints dynamically
- Add Alembic migration infrastructure with initial blueprints table
- Add database.py with async engine and SQLite fallback for dev/test
- Fix missing typing-extensions and add aiosqlite dependency
- Add 42 new tests (80/80 total passing) covering dynamic graph building,
blueprint service CRUD, and API integration
https://claude.ai/code/session_014yZUxrPsgZbvkebXbCXR4U
40 lines
620 B
Text
40 lines
620 B
Text
# Core AI orchestration
|
|
langgraph>=0.2.0
|
|
langchain>=0.2.0
|
|
langchain-anthropic>=0.1.0
|
|
langchain-openai>=0.1.0
|
|
|
|
# Backend API
|
|
fastapi>=0.111.0
|
|
uvicorn[standard]>=0.30.0
|
|
websockets>=12.0
|
|
python-multipart>=0.0.9
|
|
|
|
# Database
|
|
asyncpg>=0.29.0
|
|
aiosqlite>=0.20.0
|
|
sqlalchemy[asyncio]>=2.0.0
|
|
alembic>=1.13.0
|
|
|
|
# Vector DB (PDF tool)
|
|
chromadb>=0.5.0
|
|
pypdf>=4.0.0
|
|
|
|
# Search tool
|
|
tavily-python>=0.3.0
|
|
|
|
# Utilities
|
|
python-dotenv>=1.0.0
|
|
pydantic>=2.0.0
|
|
pydantic-settings>=2.0.0
|
|
typing-extensions>=4.5.0
|
|
|
|
# Linting and formatting
|
|
ruff>=0.4.0
|
|
black>=24.0.0
|
|
|
|
# Testing
|
|
pytest>=8.0.0
|
|
pytest-asyncio>=0.23.0
|
|
pytest-mock>=3.14.0
|
|
httpx>=0.27.0
|