{"id":"a9dcc36f-1620-41b1-8476-9ccfc5194b70","entityType":"agent","slug":"crewai-niikkkhiil-orchestrating-agent","name":"Orchestrating_agent","canonicalUrl":"https://www.xpersona.co/agent/crewai-niikkkhiil-orchestrating-agent","canonicalPath":"/agent/crewai-niikkkhiil-orchestrating-agent","generatedAt":"2026-10-10T08:45:55.448Z","source":"GITHUB_REPOS","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T21:09:32.447Z","emptyReason":null},"description":"Autonomous self-healing DevOps agent CrewAI + FAISS + Langfuse + Groq. Monitors Docker containers, diagnoses failures with LLMs, applies smart fixes. Zero human intervention. 🛡️ Self-Healing DevOps Agent An autonomous infrastructure monitoring and remediation system that detects Docker container failures, diagnoses them using AI, and fixes them automatically, with zero human intervention. --- 💡 The Problem When a Docker container crashes in production, someone has to: - Notice it (usually via an alert at 3am) - SSH into the server - Read the logs - Diagnose the issue - Manually apply th","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 10/9/2026.","installCommand":null,"sourceUrl":"https://github.com/niikkkhiil/Orchestrating_agent","homepage":null,"primaryLinks":[{"label":"View Source","url":"https://github.com/niikkkhiil/Orchestrating_agent","kind":"source"}],"safetyScore":66,"overallRank":19.8,"popularityScore":8,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Autonomous self-healing DevOps agent CrewAI + FAISS + Langfuse + Groq. Monitors Docker containers, diagnoses failures with LLMs, applies smart fixes. Zero human"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T21:09:32.447Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[{"label":"crewai","status":"self-declared"},{"label":"multi-agent","status":"self-declared"}],"verifiedCount":0,"selfDeclaredCount":3,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"},{"key":"crewai","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"multi-agent","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile capability:crewai|supported|profile capability:multi-agent|supported|profile"}},"adoption":{"evidence":{"source":"GITHUB REPOS","verified":false,"confidence":"medium","updatedAt":"2026-10-09T21:09:32.447Z","emptyReason":null},"stars":1,"forks":0,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":"1 GitHub stars"},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-10-09T21:09:32.349Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T21:09:32.447Z","lastCrawledAt":"2026-10-09T21:09:32.349Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-16T21:09:32.349Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"GITHUB REPOS","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":null,"setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/crewai-niikkkhiil-orchestrating-agent/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/crewai-niikkkhiil-orchestrating-agent/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/crewai-niikkkhiil-orchestrating-agent/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/crewai-niikkkhiil-orchestrating-agent/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/crewai-niikkkhiil-orchestrating-agent/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/crewai-niikkkhiil-orchestrating-agent/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"GITHUB_REPOS","generatedAt":"2026-10-10T08:45:55.448Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/crewai-niikkkhiil-orchestrating-agent/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/crewai-niikkkhiil-orchestrating-agent/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/crewai-niikkkhiil-orchestrating-agent/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/crewai-niikkkhiil-orchestrating-agent/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"GITHUB REPOS","verified":false,"confidence":"high","updatedAt":"2026-10-09T21:09:32.447Z","emptyReason":null},"readme":"# 🛡️ Self-Healing DevOps Agent\n\nAn autonomous infrastructure monitoring and remediation system that detects Docker container failures, diagnoses them using AI, and fixes them automatically, with zero human intervention.\n\n---\n\n## 💡 The Problem\n\nWhen a Docker container crashes in production, someone has to:\n- Notice it (usually via an alert at 3am)\n- SSH into the server\n- Read the logs\n- Diagnose the issue\n- Manually apply the right fix\n\n**This takes 15–60 minutes and requires human attention.**\n\nThis agent removes that loop entirely.\n\n---\n\n## ✅ What It Does\n\n| Without Agent | With Agent |\n|---|---|\n| Container crashes | Container crashes |\n| Human gets paged | Agent detects in seconds |\n| Human reads logs | LLM + error detection analyzes logs |\n| Human applies fix | Agent applies smart fix based on error type |\n| Human writes report | Incident saved to FAISS memory |\n| Slack fills with noise | Only critical alerts sent to Slack |\n| **15–60 minutes downtime** | **Under 30 seconds** |\n\n---\n\n## 🧠 Smart Error Detection\n\nThe agent doesn't just restart blindly. It detects the specific error type and applies the right fix:\n\n| Error Type | Detection | Action |\n|---|---|---|\n| OOMKilled | Exit code 137 / OOMKilled flag | Increase memory limit → restart |\n| Port conflict | \"address already in use\" in logs | Free port → restart |\n| Clean exit | Exit code 0 | Simple restart |\n| App crash | Exit code 1 + crash logs | Restart → Slack alert |\n| Config error | Missing env vars in logs | Alert Slack for human review |\n| Disk full | \"no space left on device\" | Docker prune → restart |\n| Network error | \"connection refused\" in logs | Wait 10s → restart |\n| Unknown | Any other failure | Restart → Slack alert |\n\n---\n\n## 🏗️ Architecture\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│                  Self-Healing Agent Loop                    │\n│                                                             │\n│  ┌──────────┐   ┌────────────────┐   ┌──────────────────┐   │\n│  │ Monitor  │──▶│    Analyzer    │──▶│    Executor      │   │\n│  │  Agent   │   │    Agent       │   │    Agent         │   │\n│  │          │   │                │   │                  │   │\n│  │ Detects  │   │ 1. Check FAISS │   │ SmartFix based   │   │\n│  │ failed   │   │ 2. Detect error│   │ on error type    │   │\n│  │containers│   │ 3. Save memory │   │ + Slack alerts   │   │\n│  └──────────┘   └────────────────┘   └──────────────────┘   │\n│                         │                      │            │\n│                         ▼                      ▼            │\n│              ┌────────────────┐    ┌─────────────────────┐  │\n│              │  FAISS Memory  │    │   Langfuse Traces   │  │\n│              │ Past incidents │    │ Full observability  │  │\n│              └────────────────┘    └─────────────────────┘  │\n└─────────────────────────────────────────────────────────────┘\n```\n\n---\n\n## 🛠️ Tech Stack\n\n| Technology | Role |\n|---|---|\n| `Python 3.11` | Core language |\n| `docker-py` | Docker container control |\n| `CrewAI 1.14` | Multi-agent orchestration |\n| `Groq (Llama 3.3 70B)` | LLM — fast, free inference |\n| `FAISS` | Vector memory for past incidents |\n| `Langfuse` | LLM observability & tracing |\n| `Slack Webhooks` | Critical alerts to humans |\n| `Ollama` | Local LLM fallback (llama3.2) |\n\n---\n\n## 📦 Project Structure\n\n```\nself-healing-agent/\n├── src/\n│   ├── main.py              ← Entry point + monitoring loop\n│   └── crew/\n│       ├── __init__.py\n│       ├── agents.py        ← 3 CrewAI agents\n│       ├── tasks.py         ← Task definitions\n│       ├── tools.py         ← Docker + memory + Slack tools\n│       └── memory.py        ← FAISS incident memory\n├── memory/\n│   ├── incidents.index      ← FAISS vector index\n│   └── incidents.json       ← Incident history\n├── .env                     ← API keys (never commit)\n├── .gitignore\n├── requirements.txt\n├── Dockerfile               ← Coming Step 9\n└── README.md\n```\n\n---\n\n## 🚀 Getting Started\n\n### Prerequisites\n- Python 3.11+\n- Docker installed and running\n- Groq API key (free at console.groq.com)\n- Langfuse account (free at cloud.langfuse.com)\n- Slack webhook (optional, for alerts)\n\n### Installation\n\n```bash\n# Clone the repo\ngit clone https://github.com/niikkkhiil/Orchestrating_agent\ncd self-healing-agent\n\n# Create virtual environment\npython3.11 -m venv orch\nsource orch/bin/activate\n\n# Install dependencies\npip install -r requirements.txt\n```\n\n### Configure environment\n\n```bash\ncp .env.example .env\n# Edit .env with your API keys\n```\n\n`.env` file:\n```\nOPENAI_API_KEY=dummy-not-used\nGROQ_API_KEY=your-groq-key\nLANGFUSE_PUBLIC_KEY=pk-lf-your-key\nLANGFUSE_SECRET_KEY=sk-lf-your-key\nLANGFUSE_HOST=https://cloud.langfuse.com\nSLACK_WEBHOOK_URL=https://hooks.slack.com/your-webhook\n```\n\n### Run the agent\n\n```bash\ncd src\npython3 main.py\n```\n\n### Simulate a failure to test\n\n```bash\n# Terminal 1 — run the agent\npython3 main.py\n\n# Terminal 2 — simulate a container failure\ndocker stop test-nginx\n\n# Watch Terminal 1 — agent detects, diagnoses, and fixes automatically\n```\n\n---\n\n## 📊 Observability\n\nEvery scan is traced in Langfuse:\n- Which agent ran and what it decided\n- Token cost per incident\n- Latency per agent\n- Error type detected\n- Fix applied\n\nView your traces at: `cloud.langfuse.com`\n\n---\n\n## 🗺️ Roadmap\n\n- [x] **Step 1** — List all Docker containers\n- [x] **Step 2** — Detect unhealthy containers\n- [x] **Step 3** — Auto-restart failed containers\n- [x] **Step 4** — LLM-powered log analysis (Groq + Llama 3.3 70B)\n- [x] **Step 5** — Continuous monitoring loop (5 min interval)\n- [x] **Step 6** — CrewAI multi-agent system (Monitor + Analyzer + Executor)\n- [x] **Step 7** — FAISS incident memory (check before LLM call)\n- [x] **Step 8** — Langfuse observability (traces every scan)\n- [x] **Step 8b** — Smart error detection (OOM, port conflict, crash, disk full)\n- [x] **Step 8c** — Slack alerts for critical failures\n- [x] **Step 9** — Dockerise the agent (docker-compose)\n- [x] **Step 10** — CI/CD pipeline (GitHub Actions)\n\n---\n\n## 🤝 Contributing\n\nThis is a personal project — but PRs and feedback are welcome.\n\n---\n\n## 📄 License\n\nMIT\n\n---\n\n> Built by [Nikhil Ganorkar](https://github.com/niikkkhiil) — DevOps & AI/ML Engineer\n> Stack: Python · CrewAI · Groq · FAISS · Langfuse · Docker","readmeExcerpt":"🛡️ Self-Healing DevOps Agent An autonomous infrastructure monitoring and remediation system that detects Docker container failures, diagnoses them using AI, and fixes them automatically, with zero human intervention. --- 💡 The Problem When a Docker container crashes in production, someone has to: - Notice it (usually via an alert at 3am) - SSH into the server - Read the logs - Diagnose the issue - Manually apply th","codeSnippets":[],"executableExamples":[{"language":"text","snippet":"┌─────────────────────────────────────────────────────────────┐\n│                  Self-Healing Agent Loop                    │\n│                                                             │\n│  ┌──────────┐   ┌────────────────┐   ┌──────────────────┐   │\n│  │ Monitor  │──▶│    Analyzer    │──▶│    Executor      │   │\n│  │  Agent   │   │    Agent       │   │    Agent         │   │\n│  │          │   │                │   │                  │   │\n│  │ Detects  │   │ 1. Check FAISS │   │ SmartFix based   │   │\n│  │ failed   │   │ 2. Detect error│   │ on error type    │   │\n│  │containers│   │ 3. Save memory │   │ + Slack alerts   │   │\n│  └──────────┘   └────────────────┘   └──────────────────┘   │\n│                         │                      │            │\n│                         ▼                      ▼            │\n│              ┌────────────────┐    ┌─────────────────────┐  │\n│              │  FAISS Memory  │    │   Langfuse Traces   │  │\n│              │ Past incidents │    │ Full observability  │  │\n│              └────────────────┘    └─────────────────────┘  │\n└─────────────────────────────────────────────────────────────┘"},{"language":"text","snippet":"self-healing-agent/\n├── src/\n│   ├── main.py              ← Entry point + monitoring loop\n│   └── crew/\n│       ├── __init__.py\n│       ├── agents.py        ← 3 CrewAI agents\n│       ├── tasks.py         ← Task definitions\n│       ├── tools.py         ← Docker + memory + Slack tools\n│       └── memory.py        ← FAISS incident memory\n├── memory/\n│   ├── incidents.index      ← FAISS vector index\n│   └── incidents.json       ← Incident history\n├── .env                     ← API keys (never commit)\n├── .gitignore\n├── requirements.txt\n├── Dockerfile               ← Coming Step 9\n└── README.md"},{"language":"bash","snippet":"# Clone the repo\ngit clone https://github.com/niikkkhiil/Orchestrating_agent\ncd self-healing-agent\n\n# Create virtual environment\npython3.11 -m venv orch\nsource orch/bin/activate\n\n# Install dependencies\npip install -r requirements.txt"},{"language":"bash","snippet":"cp .env.example .env\n# Edit .env with your API keys"},{"language":"text","snippet":"OPENAI_API_KEY=dummy-not-used\nGROQ_API_KEY=your-groq-key\nLANGFUSE_PUBLIC_KEY=pk-lf-your-key\nLANGFUSE_SECRET_KEY=sk-lf-your-key\nLANGFUSE_HOST=https://cloud.langfuse.com\nSLACK_WEBHOOK_URL=https://hooks.slack.com/your-webhook"},{"language":"bash","snippet":"cd src\npython3 main.py"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["python"],"docsSourceLabel":"GITHUB REPOS","editorialOverview":"Autonomous self-healing DevOps agent CrewAI + FAISS + Langfuse + Groq. Monitors Docker containers, diagnoses failures with LLMs, applies smart fixes. Zero human intervention. 🛡️ Self-Healing DevOps Agent An autonomous infrastructure monitoring and remediation system that detects Docker container failures, diagnoses them using AI, and fixes them automatically, with zero human intervention. --- 💡 The Problem When a Docker container crashes in production, someone has to: - Notice it (usually via an alert at 3am) - SSH into the server - Read the logs - Diagnose the issue - Manually apply th","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":385,"uniquenessScore":69,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T21:09:32.447Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T21:09:32.447Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-10T08:45:55.448Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/github_repos","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}