Transform your operating system into an intelligent AI assistant
๐ Quick Start โข ๐ Documentation โข ๐ Issues
AGENTD is a revolutionary AI-powered operating system agent that brings intelligence to your computer. Built with cutting-edge AI technologies, AGENTD can understand natural language commands, execute complex tasks, and integrate with external services through the Model Context Protocol (MCP).
- ๐ง Advanced AI Intelligence: Powered by Google Gemini 2.5 Flash and LangGraph
- ๐ป Full System Control: Execute terminal commands, manage files, and monitor system performance
- ๐ Web Browsing: Browse the internet and extract information using BrowserUse cloud
- ๐ MCP Integration: Connect with external services like Zapier, GitHub, and more
- ๐ Real-time Analytics: Monitor system metrics with beautiful dashboards
- ๐จ Modern UI: Clean, responsive interface with dark theme
- โก Task Automation: Save and rerun complex automation tasks
- ๐ฌ Natural Chat Interface: Communicate with your agent conversationally
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ React Frontendโ โ FastAPI Backendโ โ LangGraph Agent โ
โ โ โ โ โ โ
โ โข Chat Interfaceโโโโโบโ โข REST API โโโโโบโ โข AI Reasoning โ
โ โข Dashboard โ โ โข WebSocket โ โ โข Tool Execution โ
โ โข Agent Builder โ โ โข Streaming โ โ โข Memory โ
โ โข System Monitorโ โ โข CORS โ โ โข State Mgmt โ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโ
โ Tools & MCP โ
โ โ
โ โข Terminal โ
โ โข File System โ
โ โข Web Browsing โ
โ โข Zapier โ
โ โข GitHub โ
โ โข Custom MCP โ
โโโโโโโโโโโโโโโโโโโ
- Python 3.11+
- Node.js 18+
- Git
-
Clone the repository
git clone https://github.com/rixprog/agentx-hackathon.git cd agentx-hackathon -
Set up environment variables
cp .env.example .env # Edit .env with your API keys -
Install Python dependencies
pip install -r requirements.txt
-
Install Node.js dependencies and build frontend
cd agentd-web npm install npm run build cd ..
-
Run the application
python app.py
-
Open your browser
http://localhost:8000
Create a .env file in the root directory:
# AI Models (Required)
GOOGLE_API_KEY=your_google_gemini_api_key
GROQ_API_KEY=your_groq_api_key
# External Services (Optional)
BROWSER_USE_API_KEY=your_browser_use_api_key
TAVILY_API_KEY=your_tavily_api_key
# Optional: LangSmith Tracing
LANGSMITH_TRACING=true
LANGSMITH_ENDPOINT=https://api.smith.langchain.com
LANGSMITH_API_KEY=your_langsmith_api_key
LANGSMITH_PROJECT=agentd- Natural Language: Talk to AGENTD like you would a human assistant
- Real-time Progress: Watch as tasks execute with live progress updates
- Multi-session: Manage multiple conversations simultaneously
- Create Tasks: Define complex automation workflows
- Save & Reuse: Store tasks for repeated execution
- Status Tracking: Monitor task execution in real-time
- Performance Metrics: CPU, memory, disk usage in real-time
- Historical Data: Analyze system performance over time
- Resource Monitoring: Keep track of system health
- Zapier: Automate workflows across 5,000+ apps
- GitHub: Manage repositories, issues, and pull requests
- Custom Servers: Add your own MCP-compatible services
| Tool | Description | Status |
|---|---|---|
| Terminal | Execute shell commands | โ Active |
| File System | Create, read, edit, delete files | โ Active |
| Web Browsing | Browse internet with AI assistance | โ Active |
| Zapier | 5,000+ app integrations | โ Active |
| GitHub | Repository management | โ Active |
| System Metrics | Performance monitoring | โ Active |
โโโ app.py # FastAPI backend entrypoint
โโโ requirements.txt # Python dependencies
โโโ agentd_backend/ # Backend logic
โ โโโ agentD_2.py # Main LangGraph agent
โ โโโ agentD_State.py # Agent state management
โ โโโ browse_cloud_tool.py # Web browsing tool
โ โโโ file_tools.py # File system operations
โ โโโ terminal_tool.py # Terminal command execution
โ โโโ zapier_tools.py # Zapier MCP integration
โ โโโ mcp_config.py # MCP server configuration
โ โโโ system_metrics.py # System monitoring
โ โโโ progress_gemini.py # Progress step generation
โ โโโ prompts.py # System prompts
โโโ agentd-web/ # React frontend
โ โโโ src/
โ โ โโโ App.tsx # Main React app
โ โ โโโ components/ # React components
โ โ โ โโโ ChatInterface.tsx
โ โ โ โโโ Dashboard.tsx
โ โ โ โโโ AgentBuilder.tsx
โ โ โ โโโ ...
โ โ โโโ types/
โ โโโ package.json
โ โโโ vite.config.ts
โโโ browser_mcp.json # MCP server configuration
โโโ memory.sqlite # Chat history database
โโโ README.md # This file
POST /api/chat
# Send messages to the AI agent
{
"session_id": "session_123",
"message": "List all files in the current directory"
}
GET /api/system-metrics
# Get real-time system performance data
POST /api/agent_tasks
# Create and manage automated tasks
{
"name": "Daily Backup",
"description": "Backup important files",
"task": "Create a backup of /home/user/documents"
}
GET /api/chat_sessions
# Get all chat sessions
POST /api/chat_sessions
# Create new chat session
{
"id": "session_123",
"title": "My Chat Session"
}// Progress updates during task execution
{
"type": "progress",
"step": 2,
"total": 6,
"message": "Analyzing system requirements..."
}
// Final response
{
"type": "response",
"content": "Task completed successfully"
}- Dark Theme: Modern dark interface with neon accents
- Responsive Design: Works on desktop and mobile devices
- Real-time Updates: Live progress bars and status indicators
- Smooth Animations: Fluid transitions and micro-interactions
- Accessibility: Keyboard navigation and screen reader support
- API Key Protection: Secure storage of sensitive credentials
- Input Validation: Sanitized user inputs and command validation
- Permission System: Granular control over agent capabilities
- Audit Logging: Complete activity tracking in database
- Real-time Processing: Sub-second response times
- Efficient Memory Usage: Optimized for long-running sessions
- Background Processing: Non-blocking task execution
- Database Optimization: SQLite with proper indexing
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Add tests if applicable
- Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
# Backend development
pip install -r requirements.txt
python app.py
# Frontend development (in another terminal)
cd agentd-web
npm install
npm run devBackend won't start
- Check Python version:
python --version(should be 3.11+) - Install dependencies:
pip install -r requirements.txt - Check environment variables in
.env
Frontend build fails
- Clear node_modules:
rm -rf node_modules && npm install - Check Node.js version:
node --version(should be 18+)
MCP servers not connecting
- Check
browser_mcp.jsonconfiguration - Verify API keys in
.env - Check backend logs for connection errors
Database issues
- Delete
memory.sqliteand restart (will recreate) - Check file permissions
Run with debug logging:
DEBUG=1 python app.pyThis project is licensed under the MIT License - see the LICENSE file for details.
- Google Gemini AI for powering the intelligence
- LangGraph for the agent framework
- BrowserUse for web automation
- Zapier for workflow automation
- FastAPI for the robust backend
- React & Vite for the modern frontend
- Tailwind CSS for the beautiful styling
- Issues: GitHub Issues
- Discussions: GitHub Discussions
Made with โค๏ธ for the future of AI-assisted computing
โญ Star us on GitHub โข ๐ Report Issues
AGENTD - Your AI Operating System Agent