Repository avatar
Other Tools
v1.0.0
active

hegl

io.github.Katch-AI/hegl

Build, measure and improve Hegl agents from your coding agent.

Documentation

Hegl

Hegl is the reliability layer for agentic automation. LLM-first automations are brittle, they drift, fail in subtle ways and require constant babysitting. Hegl learns the task from your systems and data, builds it as a deterministic flow, and isolates every judgment call in a decision box - a typed step with its own evals and success criteria, tested on real production data. The entire system runs inside a feedback loop that rewrites its own logic as feedback and new data arrive, so it gets more accurate and cost efficient over time.

https://github.com/user-attachments/assets/2e577b30-6ff7-4cd9-8d19-a1faee1b453f

Plugin

Build, measure and improve Hegl agents from your own coding harness. The plugin registers the Hegl MCP server (https://app.hegl.ai/mcp) and the skills Hegl's hosted coding agent works from. Sign-in happens in your browser on first use; a new email gets a link to create an account. Whenever a step needs you (connecting an account, filling a form, publishing), the right dashboard page opens in your browser: in Claude Code a hook does it (set HEGL_NO_BROWSER=1 to turn that off), elsewhere the skills ask your coding agent to.

Install

Claude Code

/plugin install hegl --marketplace Katch-AI/hegl-plugin

Before Claude Code 2.1.275, add the marketplace first: /plugin marketplace add Katch-AI/hegl-plugin, then /plugin install hegl.

Codex

Add the marketplace from the shell, then install from /plugins: codex plugin marketplace add Katch-AI/hegl-plugin. On first use Codex asks you to authorize hegl through the browser.

Alternatively, add it to ~/.codex/config.toml:

[marketplaces.hegl]
source_type = "git"
source = "https://github.com/Katch-AI/hegl-plugin"

OpenCode

See .opencode/INSTALL.md.

What you get

  • The hegl MCP server: every operation the hosted coding agent can perform, as tools, acting as you.
  • Fifteen skills: hegl (start here), build, feedback, fix-errors, building-the-automation, implementing-decision-boxes, linking-to-the-dashboard, platform-api, activepieces, fetching-data-via-pieces, calling-custom-apis, composing-email-html, rendering-templates, mermaid, asciidoc.

Start with "list my Hegl organizations" and go from there.

Commands

In Claude Code, three of the skills are commands. Each takes an optional agent name.

/hegl:build [agent]        start building an agent, or pick up where the build stopped
/hegl:feedback [agent]     see what people complained about and improve the agent on it
/hegl:fix-errors [agent]   find out why runs are failing and fix it

In Codex and OpenCode, ask in words ("fix the errors on my agent") and the same skill loads.

Developing against another Hegl host

The plugin points at production. To use a development host, register the server by hand (claude mcp add --transport http hegl https://<host>/mcp) and disable the plugin's server, or edit .mcp.json in a local checkout installed from a path.

License

MIT.

No installation packages available.

Remote