langgraph-harness
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Self-hosted AI coding agent platform for GitLab, built with LangGraph. Reviews merge requests, resolves issues autonomously, and chats with full project context.
langgraph-harness
Self-hosted AI coding agent platform for GitLab, built with LangGraph
Reviews merge requests, resolves issues autonomously, and chats with full project context — remembering what matters so every run builds on the last.
In active production use since mid-2026 — 979 reviews, 64% comment acceptance rate (Sept 2026, see snapshot).
Docs · Getting Started · Features · Screenshots · Screencasts
Not affiliated with LangChain. See DISCLAIMER.md.
What it does
Four harnesses, one shared foundation:
- 🔍 MR Review — fires on webhook events, reads the diff, drafts comments, publishes them. No polling, no manual trigger.
- 🛠️ Issue Resolution — assign an issue and get an agent that runs inside its own Kata Containers VM (a dedicated guest kernel per sandbox, not just syscall interception), opens a draft MR, and keeps responding to follow-up comments on the same branch.
- 💬 Chat — an interactive, GitLab-aware assistant with real tool access: GitLab data, a headless browser, its own review/chat history; sensitive tool calls pause for explicit human approval before running.
- 🛡️ Guardrails & quality control — every drafted comment is screened before it posts; a run that misbehaves (repeats a call, loops, ends on a question, skips a check) gets caught and corrected mid-run — backed by persistent checkpoints, so a run resumes instead of restarting from scratch.
Full breakdown: Features · Architecture
Screenshots
More in the screenshots gallery.
Stack
- Frontend — React admin UI (Dashboard, Threads, Chat, Workflows) for monitoring runs and chatting directly with the agent
- Backend — Elysia API server running a LangGraph agent with persistent checkpoints
- Agent — Multi-provider LLM (OpenRouter, Ollama, or sglang) with GitLab MCP tools and skill-based workflows
- Queue — BullMQ; debounced re-reviews, capped concurrency, live queue state in the UI
- Memory — context engineering for GitLab: durable, project-scoped facts learned across reviews; personal memory in Chat
Quick Start
Prerequisites: Node.js 22+, Docker, a GitLab PAT (api scope), a GitLab OAuth app, and an OpenRouter key or a local Ollama/sglang instance.
npm install
cp backend/.env.example backend/.env
# fill in GITLAB_PAT, GITLAB_OAUTH_CLIENT_ID/SECRET, SESSION_SECRET, SECRETS_ENCRYPTION_KEY,
# ADMIN_GITLAB_USERNAMES, and one of OPENROUTER_API_KEY / OLLAMA_BASE_URL / SGLANG_BASE_URL
npm run dev
Frontend at http://localhost:5173, API at http://localhost:3698.
Full walkthrough — GitLab OAuth app setup, webhook config, per-repo .harness.yml: Getting Started.
Deployment & CI/CD
Self-hosted via Docker Compose; production deploys are automated through GitLab CI on push. See Deployment for server setup, and sglang Deployment if self-hosting the LLM backend.
The Story
Curious how this got built? The Story So Far.
"LangGraph" is a trademark of LangChain, Inc., used here under nominative fair use to describe the framework this project is built on. This project is independent and not affiliated with LangChain, Inc. — see DISCLAIMER.md. Licensed under the MIT License.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found