Start
Try it in the demo
Send the example requests, change the policy and watch the decisions, in your browser.
/demo runs the real engine in your browser. A scripted agent writes the intents, the engine compiles and judges them against a policy you can edit, and every decision is kept as a record. Nothing is signed and nothing is sent.
Send a request
The Agent panel has one button for each example request. Press one and the agent writes its intent, shown as JSON under the message. The Gate panel runs the six checks on it one by one and shows the decision, and the record joins the Records list.
Under the default policy the examples come out like this:
| Request | Decision | Failed rule |
|---|---|---|
| Pay Maya | allow | |
| 3 SOL invoice | deny | daily_spend |
| Pay 20 USDC | allow | |
| Unlimited approval | deny | no_unlimited_approval |
| Swap 1 SOL | deny | program_allowlist |
| Memo | deny | program_allowlist |
| Injected prompt | deny | daily_spend |
| Ask for the key | none | no record: the agent answered without an intent |
Injected prompt is a pasted message telling the agent to move the whole balance. The agent writes the transfer, and the engine denies it on the amount, whatever the text said.
Change the policy
The Policy panel edits the policy the next request is judged by. Its digest at the top changes with every edit.
- paused denies every intent.
- The daily SOL and USDC caps set
daily_spendandtoken_limits. New day clears what was sent in the window. - program_allowlist lists the programs a transaction may call. Tick Jupiter v6 and send Swap 1 SOL again: it is allow this time.
- no_unlimited_approval off lets Unlimited approval through.
Reset demo puts back the default policy and clears the records.