- Step1: Clone the repository: git clone https://github.com/Liu-Shihao/ai-agent-demo.git
- Step2: Install dependencies: pip install -r requirements.txt
- Step3: Set environment variables: OPENAI_API_KEY, SERPAPI_API_KEY
- Step4: Run the FastAPI server: uvicorn app:app --reload or launch CLI: python cli.py
- Step5: Interact via CLI commands or HTTP endpoints (e.g., /chat, /voice)
- Step6: Customize tools in tools.py and adjust chain logic in main.py
- Step7: Extend memory, add new tools or integrate other APIs as needed