How it works
Your agent requests. Your runner executes.
When your agent needs something done, it doesn't reach for a shell. It asks emisar to run one declared action, on one server, for a stated reason. Your rules decide whether that runs right away, gets refused, or waits for a person to approve it. A small program on your server, the runner, does the work, and every step goes into the audit log.
Step 10 of 10. Everything is on the record. The audit trail holds all three decisions, the refused one included, and the runner keeps its own hash-chained journal of the two runs on the host.
Watch it work
Watch a real incident resolve.
A CSI driver erased 33 hours of metrics by reformatting a live storage volume. Follow the agent's investigation, the approved action that stopped further writes, and the Terraform fix it prepared for review.
The agent used fs, debugging, docker, and nomad packs from the catalog. Only the high-risk action was paused for human approval.
You set the rules once.
One person sets the policy for the whole team, so no engineer keeps a private approval list for their AI. Every agent in your workspace goes through the same rules.
The default policy
Every action has a risk tier, and the tier decides what happens.
-
low 1,241 actionsAllowed Runs right away linux.disk_usage
-
medium 258 actionsAllowed Runs right away docker.logs
-
high 364 actionsApproval Waits for a person nomad.job_revert
-
critical 55 actionsDenied Never runs kubernetes.drain
Your rules come first
Rules match an action pattern, and the first match wins. A runner or a runner group can have rules of its own.
-
1
*.delete_*Denied -
2
nomad.job_*Approval - 3 Anything else its tier decides
A person approves
A request that needs approval waits for one approver or two, in the console or from email. Approvals that keep repeating can become standing grants that expire on their own.
Each host has the last word
The runner can allow or deny actions itself and cap the risk it accepts, whatever the cloud policy says.
admission: deny: ["*.purge_*"] max_risk: medium
One request, in detail.
Here is the approval step from the map, field by field: an agent asks to end one database session that is holding a lock. The names and timings are illustrative.
-
01
The agent asks
The agent picks an action from its catalog and supplies the runner, the arguments, and a reason a person can read later.
request summary · not an API payload{ "tool": "run_action", "action_id": "postgres.terminate_backend", "args": { "pid": 48213 }, "reason": "pid 48213 has held a lock on orders for 9 minutes; checkout writes time out", "runner": "db-iad-01" } -
02
emisar checks it
emisar checks that the agent may use this runner, the action belongs to a trusted pack, and the arguments are valid. A pack whose hash matches the published catalog is trusted automatically. An admin must review and trust custom or modified packs.
the checks✓ action postgres.terminate_backend — in your catalog ✓ pack postgres @ 3f9c1e27… — trusted for this account ✓ args pid = 48213 — an integer from 1 to 4194304 ✓ runner db-iad-01 — this agent may use it
-
03
Your rules decide
Your policy allows the request, refuses it, or holds it for a person. Ending a session is high risk, so the default policy holds it, and Jordan approves it before the runner starts.
the decisionpolicy high risk → the default for its tier decision require_approval → waiting for a person approved Jordan Lee · 41 seconds later ✓
-
04
The runner does the work
The runner checks the request against its installed pack and its local rules, then runs the pack's fixed command. It masks secrets that match its patterns before the output leaves the host.
on your serverrunner db-iad-01 check pack hash + arguments — verified again on the host ✓ run $ psql -XAt -c "SELECT pg_terminate_backend(48213);" result exit 0 · 0.04s · t
-
05
Everything is on the record
Follow the request in the console from approval to result. The audit event links to the run, where you can inspect the command and its output.
where to look- Audit
- The request, the policy decision, Jordan's approval, and the outcome.
- Run history
- The arguments, the command, and the redacted output.
- Host journal
- A separate record the runner keeps on its own disk, chained line to line.
Run your first gated action in five minutes.
Install the runner, connect your agent, and put a real request through.
Three runners. Seven-day audit. No credit card.