Jesús Ortiz
enes

projects / agenthook

AgentHook

An agent orchestrator. Tickets in from your board, pull requests out.

status
active
last updated
entries
2
flow · from ticket to pull request

A ticket moves on your task board (Linear, Jira, GitHub or a local one). AgentHook, the orchestrator, receives it, queues it and runs it through its stages: triage, code and review. Each stage runs on a local agent or a cloud one. A draft PR comes out, and the verdict (advance, rework, or hold for your answer) goes back to the board.

verdict: advance · rework · holdyour boardLinear · JiraGitHub · localAgentHookagent orchestratortriage → code → reviewqueuelocal agentsOllama · your GPUcloud agentsClaude · Cursordraft PRto reviewverdict: advance · rework · holdyour boardLinear · JiraGitHub · localAgentHookagent orchestratortriage → code → reviewqueuelocal agentsOllama · your GPUcloud agentsClaude · Cursordraft PRto review
  1. Routing work to more than one brain

    Until now every ticket went to the same agent on the same provider. Today I’m starting on multi-provider routing: send some tasks to a local model on Ollama, others to Anthropic or DeepSeek, based on what the ticket needs. Cheap and private where that’s enough, heavier models where it matters.

    A real run: init, start, add a ticket, watch it go code → review → done, then the diff

    The part I haven’t settled: what decides the route. Ticket labels? Estimated size? Cost budget per day? Whether my solar panels are producing (see powmon)? Probably a mix, but the first version has to be simple enough that I’ll actually use it.

    Stats: heatmap of finished tickets, spend by step, outcomes, cost per ticket Spend per step is the number I keep looking at. Routing is really about this chart.

    How would you route work between local and cloud agents?

    What would you do here? Email me, or open a thread in Discussions.

  2. Let it merge itself, and let it run while I sleep

    This release is about trusting the thing a little more. Two features carry it.

    Auto-merge on approval. Until now the review agent approved a PR and then waited for me to click merge. Every single time. Now, when the review verdict says advance and the ticket’s risk tier is in forge.autoMerge.tiers, the receiver marks the PR ready and turns on GitHub auto-merge. Checks pass, it merges. I only hear about it if something refuses. Opt-in, per tier, never on hold, changes or fail.

    Approve with follow-up checks. The reviewer can approve while attaching criteria that only make sense once the change is live: “confirm the digest reads in Spanish on the real dashboard”. They sit on the ticket as followUp, surface in agenthook followup, and fire followup_due when the PR merges. agenthook never sees a deploy, so it stops at reminding me. That felt like the honest boundary.

    Smaller, but I use them daily:

    • agenthook service install: the receiver as a systemd user service. It comes back after a crash and at login. Before this I had a tmux pane I was afraid to close.
    • agenthook watch --actionable: wake only for what needs a human (blocked, failed, red CI nobody fixed). Everything else folds into a summary. My supervisor agent went from chatty to quiet.
    • Blockers on the local board: ticket add --blocked-by, so a chain of tickets waits properly without a tracker account.

    What I’m not sure about: auto-merge on low and medium risk means code lands in main that no human has read. I review the diff afterwards, in batches. Is that a reasonable trade for a solo project, or am I building a habit I’ll regret with a team?

    What would you do here? Email me, or open a thread in Discussions.