PySpur 是一個面向 AI 智慧體的可視化工作流平台,讓 AI 工程師能夠以 10 倍速度迭代開發 AI 智慧體。這是一個由 Y Combinator 支持的開源項目,專為解決 AI 工程師在構建智慧體時遇到的關鍵痛點而設計。
AI 工程師在構建智慧體時普遍面臨三大挑戰:
pip install pyspur
pyspur init my-project
cd my-project
pyspur serve --sqlite
默認情況下,這將在 http://localhost:6080
啟動 PySpur 應用,使用 sqlite 數據庫。推薦在 .env
文件中配置 postgres 實例 URL 以獲得更穩定的體驗。
.env
文件(推薦配置 postgres)並使用 pyspur serve
重啟推薦使用 Cursor/VS Code 配合開發容器(.devcontainer/devcontainer.json
)來獲得:
步驟:
git clone https://github.com/PySpur-com/pyspur.git
cd pyspur
docker compose -f docker-compose.dev.yml up --build -d
.env
配置環境(如 PostgreSQL 設置)注意:手動設置需要額外配置,可能不包含所有開發容器功能。
PySpur 特別適合以下場景: