This project is a demo for Revertly AI, an AI agent management platform that provides cross-system, dependency-aware rollback capabilities. Think of it as "Git for AI Agents" - giving you the undo button every company needs before deploying AI agents.
- 🤖 AI Agent Management - Track and manage multiple AI agents across your organization
- 🔄 Cross-System Rollback - Revert agent actions across Confluence, GitHub, and more with one click
- 📊 Real-time Timeline - Monitor all agent actions in real-time with complete audit trails
- 🔍 Action Details - View before/after states for every change
- ✅ Service Integration - Connect agents to Confluence, GitHub, and other services
- 🎯 Demo Mode - Simulate agent actions for demonstrations and testing
Want to see it in action? Check out the DEMO_GUIDE.md for a complete walkthrough of the demo flow.
- Node.js and npm
- Python 3.10
-
Navigate to the UI directory:
cd web -
Install dependencies:
npm install
-
Run the application:
npm start
The UI will be available at http://localhost:3000.
-
Create and activate a virtual environment:
- Create the virtual environment:
python3.10 -m venv venv
- Activate the virtual environment:
- Windows:
venv\Scripts\activate
- macOS/Linux:
source venv/bin/activate
- Windows:
- Create the virtual environment:
-
Navigate to the backend directory:
cd src -
Install dependencies:
pip install -r requirements.txt
-
Run the application:
uvicorn main:app --reload
The backend API will be available at http://127.0.0.1:8000.
This server integrates with Confluence Cloud to track and revert AI agent actions.
-
Create and activate a virtual environment:
- If you haven't already, create a virtual environment in the project root:
python3.10 -m venv venv
- Activate the virtual environment:
- Windows:
venv\Scripts\activate
- macOS/Linux:
source venv/bin/activate
- Windows:
- If you haven't already, create a virtual environment in the project root:
-
Navigate to the MCP server directory:
cd mcp -
Install dependencies:
pip install -r requirements.txt
-
Run the application:
uvicorn main:app --reload
The MCP server API will be available at http://127.0.0.1:8000.
Before an AI agent can interact with Confluence via the MCP server, it needs to be registered. Use the POST /api/agents/register endpoint (documented in mcp/API_ENDPOINTS.md) to register your agents, providing their Confluence user email and API token.
Note: A demo agent is pre-registered for testing purposes.
Run the test script to verify everything is working:
python test_demo.pyThis will test all the API endpoints and simulate an agent action.
- Start both the backend and frontend (see setup instructions above)
- Open your browser to
http://localhost:3000 - Click "Simulate Agent Action" in the demo controls
- View the action in the timeline below
- Click "Details" to see the full change information
- Click "Revert" to test the rollback functionality
For a complete demo script and presentation guide, see DEMO_GUIDE.md.
The demo showcases:
- Dashboard with AI agents and connected services
- Real-time timeline of agent actions
- Detailed action information with before/after states
- One-click revert functionality
- Visual feedback and notifications
┌─────────────────┐
│ React Frontend │ (Port 3000)
│ - Dashboard │
│ - Timeline │
│ - Agent Cards │
└────────┬────────┘
│
│ HTTP/REST
│
┌────────▼────────┐
│ MCP Server │ (Port 8000)
│ - FastAPI │
│ - Agent Mgmt │
│ - Change Track│
└────────┬────────┘
│
│ API Calls
│
┌────────▼────────┐
│ Confluence │
│ GitHub │
│ (Services) │
└─────────────────┘
See mcp/API_ENDPOINTS.md for complete API documentation.
Key endpoints:
GET /api/agents- List all agentsGET /api/changes- Get timeline of changesPOST /api/demo/simulate_action- Simulate an agent action (demo mode)POST /api/confluence/revert_page/{change_id}- Revert a change
- Update theme colors in
web/src/App.js - Modify the sidebar in
web/src/SideNav.js - Change the logo and company name
- Update agent service connections in
web/src/Agents.js - Add new API integrations in the
mcpdirectory - Implement service-specific rollback logic
- Update
secrets/confluence.jsonwith your credentials - Register agents with real Confluence API tokens
- Use the actual Confluence API endpoints instead of demo mode
If port 8000 or 3000 is already in use:
- Backend:
uvicorn main:app --reload --port 8001 - Frontend: Set
PORT=3001before runningnpm start
Update the origins list in mcp/main.py to include your frontend URL.
- Make sure you're using Python 3.10
- Delete
node_modulesand runnpm installagain - Recreate the virtual environment if needed
This is a demo project for Revertly AI. For production use or pilot program inquiries, contact the team.
Proprietary - Revertly AI