- 步驟1:從https://github.com/sotayamashita/ai-agent-playground克隆GitHub倉庫
- 步驟2:安裝Python 3.8+並通過pip install -r requirements.txt安裝依賴
- 步驟3:設置環境變數OPENAI_API_KEY以取得API存取權限
- 步驟4:使用python examples/example_agent.py運行範例代理
- 步驟5:在config.yaml中自訂代理設定,並在tools/中實作新工具
- 步驟6:執行你的自訂代理腳本,並在CLI中監控輸出