- Move agent code from backend/src/agent/ to agent/src/ss_tools/agent/ - Extract shared stdlib-only utilities to shared/src/ss_tools/shared/ - Add #region/#endregion contracts to all ~140 functions (INV_1 compliance) - Update docker files, entrypoint, build scripts for new package layout - Backend now imports ss_tools.shared._llm_health (no gradio/langchain deps) - Add specs for 036-039 feature plans
45 lines
858 B
Plaintext
45 lines
858 B
Plaintext
# Agent runtime: Gradio + LangGraph agent (no embedding model by default)
|
|
# Shared package install: pip install -e /app/shared/ (Docker) or pip install -e ../shared (dev)
|
|
# Note: shared package MUST be installed BEFORE these dependencies in Docker builds
|
|
anyio>=4.12.0
|
|
certifi>=2025.11.12
|
|
h11>=0.16.0
|
|
httpcore>=1.0.9
|
|
httpx>=0.28.1
|
|
idna>=3.11
|
|
sniffio>=1.3.0
|
|
|
|
pydantic>=2.7,<3
|
|
pydantic-settings
|
|
pydantic_core>=2.41.0
|
|
typing_extensions>=4.15.0
|
|
|
|
# Gradio UI
|
|
gradio>=5.50.0,<6
|
|
python-multipart>=0.0.21
|
|
aiofiles>=24.1.0
|
|
|
|
# LangChain agent framework
|
|
langchain-core>=0.3
|
|
langchain-openai>=0.3
|
|
langgraph>=0.2
|
|
langgraph-checkpoint-postgres
|
|
|
|
# OpenAI SDK
|
|
openai>=1.0.0
|
|
|
|
# Document parsing
|
|
pdfplumber
|
|
openpyxl
|
|
|
|
# DB for LangGraph checkpoint
|
|
psycopg2-binary
|
|
psycopg>=3.1
|
|
|
|
# Retry/utility
|
|
tenacity>=8.0.0
|
|
requests>=2.32.0
|
|
|
|
# JWT token validation
|
|
python-jose[cryptography]
|