# Core Framework
fastapi>=0.110.0
uvicorn[standard]>=0.27.0

# Performance optimization
uvloop>=0.19.0;sys_platform!='win32'
orjson>=3.10.0

# Database & ORM (Python 3.13 compatible versions)
sqlmodel>=0.0.18
sqlalchemy[asyncio]>=2.0.35
aiosqlite>=0.20.0
greenlet>=3.0.0  # Required by SQLAlchemy asyncio on some platforms

# Settings & Configuration
pydantic>=2.6.0
pydantic-settings>=2.2.0
python-dotenv>=1.0.0

# Dependency Injection
dependency-injector>=4.41.0

# Caching (Redis) - Python 3.13 compatible
redis>=5.0.0

# HTTP Client
httpx>=0.27.0

# WebSocket Client (for WhatsApp RPC)
websockets>=12.0

# Async HTTP Client (for Android relay WebSocket)
aiohttp>=3.9.0

# QR Code Generation (for WhatsApp QR display)
qrcode[pil]>=7.4.0

# Logging
structlog>=23.2.0

# AI Providers (LangChain) - compatible versions
# langchain-anthropic 1.3+ requires langchain-core 1.2.6+ for ModelProfile class
langchain-core>=1.2.6
langchain-openai>=1.0.0
langchain-anthropic>=1.3.0
# Gemini 3+ requires >=3.1.0 for thought_signature support in tool calling
langchain-google-genai>=3.1.0
langchain-groq>=0.1.0
langchain-cerebras>=0.1.0

# DeepAgents - LocalShellBackend + validate_path + ExecuteResponse for the
# filesystem/shell plugins (nodes/filesystem/_backend.py). Not used as the
# agent harness itself (the deep_agent plugin was removed in 5335188).
deepagents>=0.4.12

# Temporal - Durable workflow execution (optional, requires TEMPORAL_ENABLED=true)
temporalio>=1.21.1

# Google Services
googlemaps>=4.10.0

# Scheduling
APScheduler>=3.10.0

# Web Search
ddgs>=9.0.0

# Authentication
bcrypt>=4.1.0
python-jose[cryptography]>=3.3.0
email-validator>=2.0.0

# Credential Encryption & Storage
cryptography>=44.0.0  # Fernet encryption (base backend)
keyring>=25.0.0       # OS-native credential storage (optional desktop backend)
# boto3>=1.34.0       # AWS Secrets Manager (optional cloud backend)

# Timezone support
pytz>=2024.1

# Twitter/X API
xdk>=0.1.0

# Apify Web Scraping
apify-client>=1.8.0

# Telegram Bot API
python-telegram-bot==22.6

# Gmail API
google-api-python-client>=2.100.0
google-auth>=2.27.0
google-auth-oauthlib>=1.2.0
google-auth-httplib2>=0.2.0

# Document Processing Nodes
beautifulsoup4>=4.12.0
langchain-text-splitters>=0.3.0
langchain-huggingface>=0.1.0
chromadb>=0.5.0
qdrant-client>=1.12.0
sentence-transformers>=3.0.0
pypdf>=4.0.0
# marker-pdf>=1.0.0  # Optional: GPU OCR (requires CUDA)
# unstructured>=0.16.0  # Optional: Multi-format document parsing

# RLM (Recursive Language Models) agent
rlms>=0.1.1
