umair801/sidekick-agent
0
๐ค Sidekick: Autonomous AI Agent
An intelligent AI co-worker that autonomously completes tasks using web browsing, code execution, and self-evaluation loops.
๐ Live Demo: huggingface.co/spaces/umair801/sidekick-agent
๐ฏ Key Features
- Autonomous Task Completion with built-in self-evaluation loop
- Web Automation via Playwright browser control
- Code Execution in sandboxed Python environment
- Smart Retry Logic based on user-defined success criteria
- Multi-Tool Integration: Web search, Wikipedia, File I/O, Push notifications
๐๏ธ Architecture
Built with LangGraph + LangChain + GPT-4o-mini using a Worker-Evaluator pattern:
User Input
โ
[Worker Agent] โ uses tools โ produces response
โ
[Evaluator Agent] โ checks against success criteria
โ
Pass โ Return to user
Fail โ Feedback loop back to Worker- Stateful conversation with memory persistence (MemorySaver)
- Conditional edge routing in LangGraph
- Async Playwright browser for live web interaction
๐ก Use Cases
- Automated research and data collection from the web
- Multi-step workflow automation
- Report generation from live web sources
- Code execution and analysis tasks
๐ ๏ธ Tech Stack
โ๏ธ Environment Variables
To run locally, create a .env file with:
OPENAI_API_KEY=your_key
SERPER_API_KEY=your_key
PUSHOVER_USER_KEY=your_key
PUSHOVER_API_TOKEN=your_key๐ Run Locally
git clone https://github.com/umair801/sidekick_agent.git
cd sidekick_agent
pip install -r requirements.txt
playwright install chromium
python app.pyBuilt by [Muhammad Umair](https://datawebify.com) โ Agentic AI Consultant
