Rules for AI agents, enforced outside the model

Let your agents do more. See what they do, stop what you forbid.

See the tool calls your agents make, live. Write a rule in one sentence, sign it, and Halgent enforces it.

acme/api - agent-1 - session 7f2cIllustration
  1. 10:12Readallowed
  2. 10:13Editallowed
  3. 10:14Bash: npmallowed
  4. 10:15Bash: terraformblocked

rule no-terraformAgents never run terraform

What the agent hears

Blocked by Halgent rule no-terraform: Block Bash calls that run terraform. Do not work around it. If the call is needed, ask a person to change the rules.

Illustration of an agent session. The feed shows program names, never the full command line.

Why it helps

Today the choice is to ban the agent or trust it blindly.

Halgent gives you a third option: let it work, and draw the lines that matter to you.

  • See every session

    Every agent session your team runs with Halgent lands in one feed: each tool and program it called, and what was blocked.

  • Stop one action, keep the agent

    Block terraform or a push to main. The agent keeps working on everything else.

  • Write rules in words

    Type a sentence. Halgent turns it into a precise rule. You check it and sign it with your passkey.

Scenarios

What you can stop today

  • "Agents never run terraform"
    "Agents never run rm"

    Blocks a program by name. The hook applies it at once, in the running session.

  • "Agents never push to main"
    "Agents never merge into main"

    Protect your main branch. Every new session enforces the rule.

  • "Only the release agent may use the deploy tool"

    Give a tool to one agent and no other.

  • write your own

    Any program. Any tool. Any repo or branch.

    Describe it in one sentence. Halgent turns it into a rule.

    "Agents never push to main in acme/api"

How it works

Your agent runs on your machine. Only names and verdicts reach Halgent.

Flow diagram. Your machine: Agent goes to Halgent hook plus gateway, which goes to your tools: git, GitHub, MCP. Stays on your machine: your code, keys, full command lines, file contents, logs. From the hook and gateway, names only go to the feed in Halgent cloud: Bash: git push, repo (acme/api), branch, PR number, head SHA, GitHub login, verdict and rule, agent, MCP and client names, exit codes. From the rules in Halgent cloud, rules signed with your passkey come back to the hook and gateway.Your machineHalgent cloudAgentHalgent hook+ gatewayYour tools:git, GitHub, MCPStays herecode, keys,full command lines,file contents, logsThe feedThe rulesnames onlyBash: git push · repo (acme/api)branch · PR number · head SHAGitHub login · verdict and ruleagent · MCP and client namesexit codesrules signed with your passkeyFlow diagram, stacked. Your machine: Agent goes to Halgent hook plus gateway, which goes to your tools: git, GitHub, MCP. Stays on your machine: your code, keys, full command lines, file contents, logs. Names only go to the feed in Halgent cloud: Bash: git push, repo (acme/api), branch, PR number, head SHA, GitHub login, verdict and rule, agent, MCP and client names, exit codes. Rules signed with your passkey come back from the rules to the hook and gateway.Your machineHalgent cloudAgentHalgent hook + gatewayYour tools: git, GitHub, MCPStays herecode, keys,full command lines,file contents, logsThe feedThe rulesnames onlyBash: git push · repo (acme/api)branch · PR number · head SHAGitHub login · verdict and ruleagent · MCP and client namesexit codesrules signed with your passkey
Host name and OS user once, at pairing. Full list on Security.

Your code, keys, full command lines and file contents never reach Halgent. We see program names like Bash: git push.

Hand-drawn sketch of how it works in four steps: 1, start your agent through Halgent. 2, watch the feed: Read and Bash: npm allowed, Bash: terraform blocked. 3, write a rule in a sentence, Agents never push to main, and sign it with your passkey. 4, every session enforces it.HalgentStart your agentthrough HalgentReadBash: npmBash: terraformWatch the feedAgents neverpush to mainyour passkeyWrite a rule in a sentenceand sign itruleEvery sessionenforces itHand-drawn sketch of how it works in four steps: 1, start your agent through Halgent. 2, watch the feed: Read and Bash: npm allowed, Bash: terraform blocked. 3, write a rule in a sentence, Agents never push to main, and sign it with your passkey. 4, every session enforces it.HalgentStart your agentthrough HalgentReadBash: npmBash: terraformWatch the feedAgents neverpush to mainyour passkeyWrite a rule in a sentenceand sign itruleEvery sessionenforces it
  1. Start your agent through Halgent
  2. Watch the feedTool calls stream in live, each with its verdict.
  3. Write a rule in a sentence and sign itWith a passkey your team holds.
  4. Every session enforces itOn every machine that trusts your key.

Video

See it in two minutes

Read what the video says

This is your agent. It can read the repo, run commands in the terminal and push code. Would you let it push to main? Most teams pick one of two answers: ban it, or trust it blindly.

Halgent gives you a third answer, and it runs right on your laptop. You start your agent as usual, just through Halgent. Your code, your keys and your logs stay on your machine.

Every tool call your agents make shows up in a live feed for your whole team. Only names and verdicts reach Halgent's cloud, like "Bash: git push". Never the full command line, never your files.

See something you don't want? Write it as a sentence: "Agents never push to main." Halgent turns that sentence into a precise rule: block a push to main on GitHub. You sign it with your passkey.

Next session, the agent tries to push to main. Halgent stops the call and tells the agent which rule it hit. So the agent pushes to a branch and opens a pull request instead. Work goes on, and main stays safe.

See what your agents do. Stop what you don't allow. Let your agents do more. Join us at halgent.com.

Protection

Control stays with your team

  • Enforced outside the model

    Rules run as code in Halgent's hook and gateway, not in the prompt, so the agent cannot talk its way past them.

  • Only your passkey signs rules

    A rule counts only when a passkey your team holds signs it. Our server cannot sign for you. How signing works

  • Normal or locked

    Normal mode for your laptop: your agents work as they do now, and signed rules stop the calls they name. A rule on a service such as GitHub also sends the network through Halgent from the next session. Locked mode for servers and CI: everything no rule allows is denied.

How Halgent is secured