InfraGPT is an AI SRE Copilot for the Cloud that provides infrastructure management agents through Slack integration. The system consists of multiple services that work together to deliver intelligent DevOps workflows.
The services work together in this message flow:
- User posts in Slack channel or uses CLI
- Backend Service receives requests via Socket Mode
- Backend Service calls Agent Service via gRPC for AI processing
- Agent Service processes with LLM intelligence
- Responses flow back through the system to Slack or CLI
- π£οΈ Natural Language Processing: Convert natural language to infrastructure commands
- π Slack Integration: Seamless Slack bot for team collaboration
- π§ Multi-Agent AI: Intelligent routing and specialized agent responses
- π Web Dashboard: Modern web interface for platform management
- ποΈ Infrastructure as Code: Generate Terraform and other IaC
- π Monitoring: Track usage and infrastructure changes
- π Enterprise Security: Authentication, authorization, and audit trails
We use a flexible data model so that we can support multiple integrations. Currently, InfraGPT supports Slack, GitHub and Terraform. We are actively working on adding integrations to the our stack.
Interactive terminal interface for infragpt
- Natural language queries for infrastructure commands
- Interactive mode with command history
- Support for OpenAI GPT-4o and Anthropic Claude models
- Install with:
pipx install infragpt
# Install using pipx (recommended)
pipx install infragpt
# Launch interactive mode
infragpt
# Example usage
> create a new VM instance called test-vm in us-central1 with 2 CPUsMulti-agent framework with LLM integration
- Conversation management and RCA analysis
- FastAPI + gRPC dual server architecture
- Integration with Backend service
Main Slack bot and infrastructure management service
- Slack Socket Mode integration
- PostgreSQL-backed persistence
- GitHub PR management
- Terraform code generation
- Clean architecture with domain/infrastructure layers
graph TD
subgraph Core Services
GoBackend[Go Backend<br>Service]
PythonAgent[Python Agent<br>Service]
GoBackend <--> |gRPC| PythonAgent
end
PythonAgent --> MainAgent["Main Agent<br>(Orchestrator)"]
MainAgent --> ConversationAgent[Conversation<br>Agent]
MainAgent --> RCAAagent[RCA<br>Agent]
MainAgent --> FutureAgents[Future<br>Agents]
ConversationAgent --> ToolManager
RCAAagent --> ToolManager
FutureAgents --> ToolManager
ToolManager["Tool Manager<br>(Unified)"]
ToolManager --> LangChain["LangChain<br>Tools"]
ToolManager --> MCP["MCP Servers<br>(kubectl-ai,<br>gcloud, github)"]
ToolManager --> CustomTools[Custom<br>Tools]
Web client interface for InfraGPT platform
- Modern React with Vite and TypeScript
- Radix UI components with Tailwind CSS
- Authentication via Clerk
- Real-time integration with platform services
For information on how to contribute to InfraGPT, including development setup, release process, and CI/CD configuration, please see the CONTRIBUTING.md file.
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.


