Virtual-manager
Autonomous AI Manager that proactively plans projects, manages people operations (leave/burnout), and monitors execution using a multi-agent architecture (LangGraph + MCP).
claude mcp add --transport stdio agusain2001-virtual-manager python -m uvicorn backend.app.main:app --reload \ --env HOST="0.0.0.0" \ --env PORT="8000" \ --env DATABASE_URL="postgresql://user:password@localhost:5432/virtual_manager" \ --env SLACK_BOT_TOKEN="<your-slack-bot-token>" \ --env SLACK_SIGNING_SECRET="<your-slack-signing-secret>" \ --env GITHUB_OAUTH_CLIENT_ID="<your-client-id>" \ --env GITHUB_OAUTH_CLIENT_SECRET="<your-client-secret>" \ --env GOOGLE_CALENDAR_CREDENTIALS="<path-or-json-contents>"
How to use
Virtual AI Manager (VAM) is an autonomous, multi-agent system that continuously operates to plan, monitor, and execute management tasks. Built around LangGraph orchestration and MCP tool integration, VAM spans a FastAPI backend (agent core) and a Next.js control plane that lets humans supervise and intervene when needed. The MCP tools enable seamless connections to external services (GitHub, Google Calendar, Slack, etc.) so agents can manage calendars, track issues, monitor risks, and report progress without explicit user prompts. The control plane UI provides dashboards, task views, and actionable prompts to review high-risk actions or lifecycle events.
To interact with the MCP server, ensure the backend (FastAPI) is running and the control plane frontend is available. The backend exposes a set of MCP tool servers that agents use to execute actions (e.g., scheduling, authentication, calendar operations, and repository interactions). The system can autonomously decompose goals into DAGs, plan tasks, and monitor execution, while maintaining human-in-the-loop through the RBAC-enabled control plane.
How to install
Prerequisites:
- Python 3.10+
- Node.js 18+
- Git
- Internet access to install dependencies
- Optional: GitHub OAuth App and Google OAuth App credentials for calendar/integration
Install steps:
-
Clone the repository git clone https://github.com/agusain2001/Virtual-manager.git cd Virtual-manager
-
Backend setup (FastAPI agent core) python -m venv venv
Windows
venv\Scripts\activate
Linux/macOS
source venv/bin/activate pip install -r backend/requirements.txt cp backend/.env.example backend/.env # edit with credentials
-
Frontend setup (Next.js control plane) cd frontend npm install
-
Run the system
Backend (Brain)
cd backend uvicorn backend.app.main:app --reload
Backend API runs on http://localhost:8000
Frontend (Control Plane)
cd frontend npm run dev
Frontend dashboard runs on http://localhost:3000
Notes:
- Ensure OAuth credentials (GitHub, Google) are configured in the environment or .env file.
- Update DATABASE_URL to point to a real database if not using the default.
- If you deploy via MCP tooling, you can adjust the mcp_config block to suit your runtime (see JSON in this README).
Additional notes
Tips and common issues:
- Ensure the environment variables for OAuth and Slack are securely stored; do not commit secrets.
- If the backend fails to start, check Python version and dependencies in backend/requirements.txt; run in a virtual environment.
- The MCP tool servers (under backend/app/agents and backend/app/services) expect proper database migrations; run any schema migrations if provided by the project.
- For production, consider configuring a reverse proxy (e.g., Nginx) and a proper DB persisted storage. Adjust HOST/PORT in mcp_config accordingly.
- RBAC is enforced; admins should configure users and roles to control access to sensitive operations.
Related MCP Servers
mcp-agent
Build effective agents using Model Context Protocol and simple workflow patterns
sdk-typescript
A model-driven approach to building AI agents in just a few lines of code.
sandboxed.sh
Self-hosted orchestrator for AI autonomous agents. Run Claude Code & Open Code in isolated linux workspaces. Manage your skills, configs and encrypted secrets with a git repo.
mcp
🤖 Taskade MCP · Official MCP server and OpenAPI to MCP codegen. Build AI agent tools from any OpenAPI API and connect to Claude, Cursor, and more.
fullstack-langgraph-nextjs-agent
Production-ready Next.js template for building AI agents with LangGraph.js. Features MCP integration for dynamic tool loading, human-in-the-loop tool approval, persistent conversation memory with PostgreSQL, and real-time streaming responses. Built with TypeScript, React, Prisma, and Tailwind CSS.
mcp-agent
Lightweight, focused utilities to manage connections and execute MCP tools with minimal integration effort. Use it to directly call tools or build simple agents within your current architecture.