Was macht megingjord-harness?
KI-Agenten-Governance-Harness: Baton-Workflow, LLM-Routing über mehrere Modelle (Ollama/Claude/OpenRouter) und CI-Gates für Copilot, Claude Code und Codex.
Übersicht
Das megingjord-harness bietet eine zentrale Steuerungsebene für den Einsatz von KI-Agenten in Entwicklungsumgebungen. Es ermöglicht:
- Baton-Workflow: Schrittweise Ausführung von Agenten-Aktionen mit manuellen oder automatischen Genehmigungspunkten
- LLM-Routing: Dynamische Verteilung von Anfragen an verschiedene Modelle über Ollama, Claude oder OpenRouter
- CI-Gates: Integration in CI/CD-Pipelines, um KI-generierte Änderungen zu prüfen und zu validieren
Unterstützte Plattformen
| Plattform | Unterstützung |
|---|---|
| Copilot | ✅ |
| Claude Code | ✅ |
| Codex | ✅ |
Voraussetzungen
- Node.js 18+ oder Python 3.10+
- Zugriff auf mindestens ein LLM-Backend (Ollama, Claude API oder OpenRouter)
- Optional: CI/CD-Umgebung (GitHub Actions, GitLab CI, etc.)
Installation
# Mit npm (global)
npm install -g megingjord-harness
# Oder mit pip
pip install megingjord-harness
Verwendung
Baton-Workflow starten
megingjord workflow start --provider openrouter --model gpt-4o
LLM-Routing konfigurieren
# config.yaml
routing:
primary: claude-3-opus
fallback: "ollama:llama3"
strategy: "latency"
CI-Gate einrichten (GitHub Actions Beispiel)
- name: KI-Governance-Check
uses: megingjord/action@v1
with:
api-key: ${{ secrets.MEGINGJORD_API_KEY }}
gate: security
Konfiguration
Umgebungsvariablen:
MEGINGJORD_API_KEY– API-Schlüssel für die Harness-APIOPENROUTER_API_KEY– OpenRouter-Schlüssel (optional)ANTHROPIC_API_KEY– Claude-Schlüssel (optional)
Lizenz
MIT