OpenAgents PR Hackathon 2026 Submission
An AI infrastructure automation agent that remembers your deployments and learns over time.
InfraGenius is an AI agent that automates infrastructure tasks through natural language. Unlike traditional DevOps tools, InfraGenius remembers your past deployments, configurations, and even errors β learning from experience to provide smarter assistance over time.
Key Innovation: Integration of MemU long-term memory with OpenAgents, enabling stateful DevOps automation.
| Feature | Description |
|---|---|
| π§ Long-term Memory | Remembers deployments, configs, and learnings across sessions |
| π Semantic Search | Find past deployments by meaning, not just keywords |
| π¦ E2B Sandboxes | Provision cloud sandboxes for safe deployment testing |
| π¬ Natural Language | Deploy apps with simple commands like "deploy my-app" |
| π Learning | Stores error fixes and applies them to future deployments |
- Python 3.11+
- Groq API Key (free tier available)
- E2B API Key (optional, for sandbox deployments)
- Nebius API Key (for MemU memory)
# Clone the repository
git clone https://github.com/Nsuccess/Infra-genius.git
cd Infra-genius
# Install dependencies
pip install openagents==0.8.5 e2b-code-interpreter requests memu-py>=1.1.0
# Configure environment
cp .env.example .env
# Edit .env with your API keysEdit .env with your API keys:
# Groq for agent reasoning (fast LLM)
GROQ_API_KEY=your-groq-key
CUSTOM_API_KEY=your-groq-key
# E2B for cloud sandboxes (optional)
E2B_API_KEY=your-e2b-key
# Nebius for MemU memory (chat + embeddings)
NEBIUS_API_KEY=your-nebius-key
MEMU_BASE_URL=https://api.tokenfactory.nebius.com/v1/
MEMU_CHAT_MODEL=Qwen/Qwen3-30B-A3B-Instruct-2507
MEMU_EMBED_MODEL=BAAI/bge-multilingual-gemma2Terminal 1 - Start Network:
openagents network start .Terminal 2 - Start Agent:
# Windows PowerShell (load env vars first)
Get-Content .env | ForEach-Object { if ($_ -match '^([^#][^=]*)=(.*)$') { [Environment]::SetEnvironmentVariable($matches[1], $matches[2], 'Process') } }
openagents agent start ./agents/deployer.yaml
# Linux/Mac
export $(cat .env | xargs) && openagents agent start ./agents/deployer.yamlOpen Studio: http://localhost:8700/studio
You: Hi!
InfraGenius: I can provision and list E2B cloud sandboxes, store/retrieve
info in memory. How can I help you?
You: Remember that I prefer deploying Node.js apps to E2B
InfraGenius: β
Stored in memory: [DEPLOYMENT] I prefer deploying Node.js apps to E2B
You: What do you remember about my preferences?
InfraGenius: Found 1 memory: You prefer deploying Node.js apps to E2B
You: Provision a sandbox called my-app
InfraGenius: β
Sandbox provisioned!
π¦ Name: my-app
π ID: sbx-abc123
π URL: https://8000-sbx-abc123.e2b.app
You: List my sandboxes
InfraGenius: π¦ Active Sandboxes:
β’ my-app (ID: sbx-abc123)
infra-genius/
βββ agents/
β βββ deployer.yaml # Agent configuration
βββ tools/
β βββ infra.py # E2B sandbox tools
β βββ memory.py # MemU memory tools
βββ network.yaml # OpenAgents network config
βββ .env.example # Environment template
βββ README.md # This file
| Tool | Description |
|---|---|
provision_sandbox |
Create a new E2B cloud sandbox |
list_sandboxes |
List all active sandboxes |
run_command |
Execute shell commands in sandbox |
deploy_app |
Full deployment pipeline |
| Tool | Description |
|---|---|
remember |
Store information in long-term memory |
recall |
Search memory semantically |
list_memories |
Show stored memories |
remember_deployment |
Store structured deployment record |
find_deployments |
Search past deployments |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β OpenAgents Studio β
β http://localhost:8700 β
βββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββ
β OpenAgents Network β
β (HTTP:8700 / gRPC:8600) β
βββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββ
β InfraGenius Agent β
β (llama-3.3-70b via Groq) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β βββββββββββββββ βββββββββββββββ βββββββββββββββββββ β
β β Infra Tools β β Memory Toolsβ β Messaging Tools β β
β β (E2B) β β (MemU) β β (OpenAgents) β β
β ββββββββ¬βββββββ ββββββββ¬βββββββ ββββββββββββββββββ β
βββββββββββΌβββββββββββββββββΌβββββββββββββββββββββββββββββββ
β β
βΌ βΌ
ββββββββββββ ββββββββββββββββ
β E2B β β MemU β
β Sandbox β β Memory β
β Cloud β β (Nebius) β
ββββββββββββ ββββββββββββββββ
[Link to 3-minute demo video - Coming Soon]
The demo shows:
- Network and agent startup
- Memory operations (remember/recall)
- Sandbox provisioning
- Natural language infrastructure commands
| Component | Technology |
|---|---|
| Agent Framework | OpenAgents v0.8.5 |
| Long-term Memory | MemU |
| LLM (Agent) | Groq (llama-3.3-70b-versatile) |
| LLM (Memory) | Nebius (Qwen3-30B + BGE embeddings) |
| Sandboxes | E2B |
This project is part of a multi-hackathon effort:
| Hackathon | Submission | Status |
|---|---|---|
| OpenAgents | InfraGenius (this repo) | β Submitted |
| MemU | 8 PRs (adapters, memory types) | β All passing CI |
MIT
Built for the OpenAgents PR Hackathon 2026 π
An AI DevOps agent that remembers your infrastructure and manages it over time.