跳转至

Agent 開發指南

Project

混合型專案,涵蓋 Python 後端 API、AI Agent(LangChain / LangGraph / DeepAgents)。

Setup

# 安裝依賴
uv sync

# 啟動開發環境
uv run main.py

Code Style

  • Python:型別標注、docstring
  • 遵循專案現有的命名慣例

Testing

# 執行相關測試
uv run pytest tests/ -v
  • 執行測試後再提交
  • 只跑相關測試,不跑整個 suite

注意事項

  • LangChain / LangGraph / DeepAgents API 用法以官方文件為準,不依賴舊版記憶