Developer Guide · 02
Technology Stack
Backend
| Technology | Version | Purpose |
|---|---|---|
| Python | 3.11+ | Runtime (Tauri bundles 3.12.7) |
| FastAPI | 0.104+ | Web framework |
| Uvicorn | 0.24+ | ASGI server |
| deepagents | 0.4.1+ | AI Agent framework (custom fork) |
| LangGraph | latest | Agent state graph + checkpointer |
| LangChain | latest | LLM abstraction layer |
| langchain-anthropic / openai | latest | Claude / GPT adapters |
| langgraph-checkpoint-sqlite | latest | State persistence (WAL mode) |
| Pydantic | 2.0+ | Data validation |
| boto3 / aioboto3 | latest | S3 storage (S3 mode only) |
| httpx | 0.27+ | Async HTTP client |
| bcrypt | 4.0+ | Password hashing (sha256 fallback) |
| pycryptodome | 3.20+ | AES-128-ECB (WeChat media) + AES-256-GCM (API Keys) |
| croniter | latest | Cron expressions (per-user timezone) |
| silk-python | 0.2+ | WeChat voice SILK decoding |
| websockets | 11+ | S2S WebSocket proxy |
Frontend
| Technology | Version | Purpose |
|---|---|---|
| React | 19 | UI framework |
| TypeScript | 5.7 | Type safety (strict) |
| Vite | 6 | Build tool (multi-entry) |
| Ant Design | 5 | UI component library (dynamic theming) |
| React Router | 7 | Routing (BrowserRouter) |
| Phosphor Icons | 2.x | Icons (sole icon library) |
| marked | 15+ | Markdown rendering |
| DOMPurify | 3.2+ | XSS protection |
| highlight.js | 11 | Code highlighting (17 languages on demand) |
| dayjs | latest | Time formatting |
Desktop
| Technology | Purpose |
|---|---|
| Tauri | v2, Rust + WebView |
| Rust crates | tauri 2 / reqwest / tokio / serde / open / libc |
| Embedded runtimes | python-build-standalone 3.12.7 + Node.js 20.18.0 |