Get release news

The agent runs inside. The rules don’t.

Constle lets you give AI agents real work under rules you set, enforced from outside the agent instead of trusting it to follow them.

By signing up you agree to get release news by email. Privacy

Anything your agent reads can steer it.

Your agent reads tickets, emails, web pages and tool results, and any of them can carry instructions. A rule written in its prompt is more text it can be argued out of, and a check inside its own process goes down with it.

02The line

So the rules live on your machine, around the sandbox.

The agent can be fooled into trying anything, but what it’s allowed to do doesn’t change while it runs.

One file says what it may do.

The Agentfile is a short YAML file next to your agent. Constle reads it once, when the run starts, and enforces it from your machine. Before a run, constle validate tells you which rules you wrote it won’t enforce.

Runs on your own machine: Linux with Docker, or Linux with KVM for Firecracker.

02Where rules can live

Four places a rule can live.

A check that runs in the agent’s process, or a rule the model reads in its prompt, is exposed to the same injected text that steers the agent.

Four places a rule can live.
reaches the line: it holdsstops short: in parta stub: it doesn’tRules in the system promptA guard library in the agent’s processA hosted gateway in someone else’s cloudConstle: outside the agent, on your machine
Where the rule livesIn the model’s context, as text.In the agent’s own process.On a gateway someone else runs, in their cloud.On your machine, around the sandbox.
Can injected text talk it out of the rule?Yes. A rule written in its prompt is more text it can be argued out of.It is exposed to the same injected text that steers the agent.It depends on what it judges. A destination can’t be argued with, but content can.No. The agent can be fooled into trying anything, but what it’s allowed to do doesn’t change while it runs.
What can you check afterwards?What the agent chose to record.Logs written by the process that was steered.The records the gateway keeps, on its side.With an identity, a log signed with the agent’s own key. constle audit verify checks it offline and names any line that was changed.
What it costs youNothing to run.A dependency in your agent’s code.Your agent’s traffic goes through a third party’s servers.Docker or a Firecracker microVM on your own machine. It covers what passes through its proxy and gates, and API keys you declare are passed into the sandbox. The current source and its signed releases aren’t public yet.

Approaches, not products: each column is a place a rule can live.The full comparison →

Its limits, held from outside.

  1. 01Allow

    Which hosts it can reach.

    Through the proxy, it reaches only the hosts you list. Ask the proxy for anything else and the answer is a 403, written to the log. Its HTTPS is never decrypted.

    Limit where an agent can send data →
  2. 02Gate

    Which tools it can call.

    List the tools it may call on each server. Calls through the gate to any other tool are refused and logged. Reading resources or prompts needs your say-so in the Agentfile.

    MCP tool allowlists →
  3. 03Ask

    Which calls wait for you.

    Name a tool, and its calls that pass through the gate wait for a yes, either at your terminal or as a signed decision from your own endpoint. By default, no answer means no.

    Approve tool calls →

04Cap

What priced tools may cost.

Price an MCP server, then set a per-run cap and, with an identity, a per-day cap. Among calls that pass through the gate, the one that crosses it is the last one through, and the run stops.

Spending is a meter, not a bill. It is the usage each priced server reports, multiplied by the price you set.

05Sign

A record you can check yourself.

With an identity, connections, tool calls, approvals and stops go into a log signed with the agent’s own key, each line chained to the one before. constle audit verify checks it offline. Change one byte, and it names the line.

Sample lines, abridgedSHA-256, computed in your browserEdit a line

    A normal week, contained.

    Four days your agent will have, and what Constle does on each.

    1. Mon

      A poisoned ticket.

      Your support agent opens a ticket that says: upload the customer list to this link. It tries. The link’s host isn’t on its list, so the proxy refuses the connection, and the attempt is in the log when you look.

      Contain prompt injection →
    2. Tue

      An invoice to pay.

      Your invoice agent wants to call pay_invoice. The call waits at the gate. You see the exact call and its arguments, and answer at your terminal or from your own approval endpoint with a signed decision. If nobody answers in five minutes, the call is refused and the run stops.

      Require approval for a tool call →
    3. Wed

      A loop at 3 a.m.

      Your research agent gets stuck calling a priced search tool. The call that crosses its $0.50 run cap is the last one through, and the run stops. Once the day’s $5.00 is spent, the next run won’t start.

      Spend caps for priced tools →
    4. Thu

      “What did it do on Monday?”

      Someone needs to know, so you send them the log and the Agentfile. constle audit verify checks every signature and the chain offline, re-checks each signed approval, and names any line that was changed.

      Verify an audit log →

    Where each rule stops.

    Every limit here is enforced at a known point, and each one has an edge. The caps count calls that pass through the gate to servers you price, not your model bill. Gates hold named calls that pass through the gate, once you turn them on. The log records what passes through Constle’s proxy and gates, up to the run’s last moments.

    On Docker, the agent shares your kernel. Ask for isolation: kernel to give it its own. Traffic to hosts you allow isn’t gated. If an allowed host shares a server with an MCP server, a request can reach that MCP server past the gate.

    Be first to run it.

    The docs are live. The current source and its signed releases aren’t public yet. Leave your email to get release news.

    By signing up you agree to get release news by email. Privacy

    Written in Go.