How a program passes the checkpoint.
The agent writes a program
Not forty-two tool calls: one short TypeScript program against a typed API of your MCP servers.
Sekimori reads it first
Before anything runs, it extracts every tool the program will touch and draws the plan.
Policy, tegata or your seal
Cedar checks every call. A tegata lets routine programs through; the rest waits for one seal.
It runs in a sandbox
Credentials stay at the boundary. Every call is checked again with its real arguments.
The model gets the result
Computed results go back. Raw confidential values stay behind, withheld or replaced by placeholders.
Approve the program, not forty-two calls.
In code mode an agent writes a short program against your tools instead of calling them one by one. Sekimori parses that program before it runs, draws the plan, and asks you once.
const mails = await gmail.search({ query: "label:incidents" });
for (const m of mails.slice(0, 20)) {
const body = await gmail.read({ id: m.id });
await jira.createIssue({
project: "OPS",
summary: m.subject,
description: body,
});
}
await slack.post({
channel: "#ops",
text: `${mails.length} incidents filed`,
});| C-01 | gmail.search | ×1 | reads mail list | untrusted |
|---|---|---|---|---|
| C-02 | gmail.read | ×20 | reads mail bodies | untrusted |
| C-03 | jira.createIssue | ×20 | writes to OPS | sensitive |
| C-04 | slack.post | ×1 | posts to #ops | sensitive |
Untrusted mail content reaches two sensitive actions. One seal required.
Sealed. All 42 calls ran inside the approved plan.
What the model reads, and what it never sees.
Agents may work with payroll lists, bank details and IDs. The program reads them inside Sekimori's sandbox and computes there; a cloud model only gets the result, and placeholders where it needs to refer to a value.
payroll.list_employees| Name | IBAN | Salary |
|---|---|---|
| Mara Beispiel | AT61 1904 3002 3457 3201 | 52,000 |
| Jon Example | DE89 3704 0044 0532 0130 00 | 61,000 |
| Lea Muster | AT48 3200 0000 1234 5864 | 68,500 |
| Name | IBAN | Salary |
|---|---|---|
| Mara Beispiel | ⟦bank·b8e2c1⟧ | withheld |
| Jon Example | ⟦bank·8b07ab⟧ | withheld |
| Lea Muster | ⟦bank·4ae118⟧ | withheld |
Average salary in Sales, computed in the sandbox: 56,500
- Kept back
- Values Sekimori recognises never reach the model as they are: not returned, not renamed, not written into a sentence, not reformatted, not inside an error message.
- Recognised by: field names, checksummed patterns, and the sources you name.
- Placeholders
- The agent can still act on a value it never saw. It passes the placeholder on, and Sekimori inserts the real value only for a tool that may receive it.
- Keeps: an IBAN from payroll out of Slack, unless a grant or your seal allows it.
- Release seal
- After an agent has read untrusted input, a result computed from confidential data waits for your seal before the model sees it.
- Stops: the injected program that spells every salary backwards.
Built in: payroll, bank details, German and Austrian tax and social insurance numbers, EU VAT IDs, health data and credentials. Switch classes off, or add your own fields, patterns and sources. The dashboard counts what was kept back for every request, without ever showing the values.
Three rules at the checkpoint.
- Program approval
- The gateway reads the code before it runs and extracts every tool it will touch. You approve the plan, once.
- Instead of: forty-two prompts, or none at all.
- Data-flow control
- Once a program reads untrusted data, such as an email body, a web page or tool output, every sensitive action after it needs your seal.
- Stops: the email that tells your agent to forward the inbox.
- Tegata 手形
- A standing pass per agent: "may read mail and file issues in OPS". Programs inside the pass run without a human.
- Keeps: approvals rare enough that nobody clicks through blindly.
Also at the checkpoint: Cedar policies on every call, secrets injected at the boundary and never inside the sandbox, and an audit trail with every call numbered.
Your data stays on your side of the line.
You run the gateway on your own machine or infrastructure. Sekimori Cloud, the next milestone, will manage it from the other side, and the connection will only ever go out.
Your infrastructure
- Sekimori gateway, open source
- Agent code and its sandbox
- Credentials and per-user OAuth tokens
- Raw tool results
Sekimori Cloud planned
- Policies and tegata
- Approvals in the web and Slack
- Audit history, redacted
- Teams and billing
Never crosses the line: credentials, tokens, raw results, or the string values inside agent code.
What v1 guarantees, and what it doesn't yet.
Guaranteed
- Every tool call is checked against policy with its real arguments. An approval never overrides a deny.
- After any untrusted read, no sensitive action runs without a seal or a matching tegata.
- Tools nobody has classified count as untrusted and sensitive. It fails closed.
- Secrets never enter the sandbox.
- A program cannot return a confidential value Sekimori recognises, whether as it is, renamed, reformatted or inside an error.
- A confidential value only goes back to the server it came from, unless a reveal grant or your seal allows more.
Not yet
- Per-value tracking. v1 flags the whole program after one untrusted read; precise tracking arrives with Sekimori's restricted interpreter.
- Recognition by meaning. Confidential data is found by field names, patterns and sources; a salary mentioned in free text is not.
- Shared platforms. One gateway serves one person; a team gateway for platforms such as Open WebUI comes later.
- A model gateway. Routing and budgets for LLM traffic come later; run it next to LiteLLM today.
- Sekimori Cloud. Approvals in the web and Slack, policy distribution and audit history are the next milestone.
- A hosted runtime. The gateway always runs on your side.