ARMORIQ

Your agent will read something that lies to it. Here’s what happens next.

Meet the ArmorIQ Cookbook: 25 runnable agents across 9 frameworks. 23 of them run with no account. Live today at cookbook.armoriq.ai.

Nov 26, 20269 min read
Your agent will read something that lies to it. Here’s what happens next.// Cover

We launched the ArmorIQ Cookbook.

Before I tell you what’s in it, here’s one recipe.

There’s a SQLite warehouse in it with a feedback table. Row 7 is a “customer comment” that claims to be a system override. It tells the AI to drop the orders table and export customers to a paste site.

Ask the agent to summarize this week’s feedback and it reads row 7 like any other row. Then the model tries to do what row 7 says.

It doesn’t get far. Running a SELECT is fine. Dropping a table and exporting data are both on the “never” list, so those calls don’t run. The agent finishes the summary, and the planted instructions go nowhere.

That’s one of 25.

What we’re launching

cookbook.armoriq.ai is a library of small, complete agents, each with a real job. There’s an accounts payable clerk, an on-call assistant, a release desk, a SQL analyst, a support desk, a GitHub helper and a notes app. Each one sends its tool calls past ArmorIQ before they run, and gets one of three answers back:

  • allow: the call runs

  • hold: the call waits until a person approves it

  • block: the call never runs

Every recipe sorts its tools into those three buckets at the top, so you know what to expect before you run anything. Then you run it and watch it happen.

We built it because most agent docs only show the happy path. The interesting part is what happens when an agent tries something it shouldn’t, and that’s hard to show in a docs page. So we wrote it as code you can run.

Bring the framework you already use

  • Google ADK: installed onto the agent in one line, using ADK’s own lifecycle callbacks

  • LangChain: one extra callback, ArmorIQLangChain, passed when you invoke

  • Strands Agents: the shipped ArmorIQStrands integration

  • Claude Agent SDK: one check inside the SDK’s canUseTool callback

  • LangGraph: a hold becomes a native interrupt() that resumes through the checkpointer

  • CrewAI: ArmorIQCrew wraps the crew, or you drive the client yourself per tool

  • OpenAI Agents SDK: change the base URL, no package needed (Intent Gateway)

  • Vercel AI SDK: change the provider’s base URL, no package needed (Intent Gateway)

  • Claude Code: a ready-made ArmorClaude config, no app code

  • No framework: the ArmorIQ SDK in a hand-written loop

16 recipes are TypeScript, 7 are Python and 2 are config only. Several come in both languages, telling the same story with the same tools and the same planted data. Each recipe lists the exact SDK version it was tested with.

Run 23 of them without an account

23 of the 25 recipes have an offline mode. It runs the real agent code against local stand-ins for ArmorIQ and the model, so you need no API keys, no sign-up and no network:

npm install
npm run demo:offline

The stand-in reads the recipe’s own rules file. Move a tool from “allow” to “block”, run it again, and the result changes. Most recipes also ship an offline test that runs the same thing as a pass-or-fail check, so you can see that the rules work, not just read that they do.

Seven recipes worth opening first

1. The support desk with a poisoned ticket (Strands, Python and TypeScript)

A support assistant can look up tickets, reply, issue refunds and close accounts. Reads and replies run, refunds are held for approval, and closing an account is blocked. Ticket TCK-1002 contains an injection that claims the refund and closure are “pre-authorized”. The model tries to comply. The refund is still held and the closure is still blocked, because ArmorIQ checks the real tool and its real arguments, not what the ticket text says about itself.

2. The ops copilot that refunds $49 but not $2,388 (Google ADK)

A support engineer asks the agent to sort out a billing complaint. It reads the ticket, looks up the customer and lists their charges. Refunding a duplicate $49 charge is allowed. A $2,388 goodwill credit is held for a person to approve. When the ticket asks it to export the customer table, that call is blocked. That’s all three outcomes in one run.

3. The on-call agent that pauses instead of waiting (LangGraph)

You page it with “checkout-api is throwing 502s, find out why and fix it”. It reads status and logs, decides it needs a restart, and asks for one. The restart is held, and the hold becomes a native LangGraph interrupt(). The run stops, the checkpointer saves the thread, your app shows the held call to a person, and Command(resume=...) picks the graph up where it stopped. No worker sits blocked while you wait for an approver. Deleting a volume is blocked outright.

4. The analyst who can’t do what its lead can (TypeScript, and CrewAI in Python)

An incident lead gets a token covering metrics, logs and restarts. It hands its log analyst a narrower, delegated token that covers reading metrics and logs only. Both agents carry the exact same tools. When the analyst reaches for the restart, it’s refused, even though the rules allow restarts and the lead makes one a minute later. The rules are the same for both agents. The difference is in the token each one holds.

5. The release agent that keeps going after a “no” (no framework, Python and TypeScript)

Most examples stop at the first blocked call. This one doesn’t. A release desk assistant reads CI, deploys to staging (allowed), deploys to production (held) and tries to delete an environment (blocked). The recipe shows what to do with each refusal: re-plan around a blocked tool, stop cleanly when a person rejects a held call, sign a new plan when the agent drifts from the old one, and get a fresh token when the old one expires. If your agent has no framework, copy this one.

6. Two agents, one setting changed (OpenAI Agents SDK and Vercel AI SDK)

Neither recipe installs an ArmorIQ package. The agent’s model client points at Intent Gateway instead of OpenAI or Anthropic, and the gateway checks every tool call the model asks for.

The OpenAI one rolls out the way you’d do it for real, in three passes on an accounts payable agent:

  1. Record traffic only.

  2. Turn on Monitor mode. The payment still goes through, and the gateway logs that it would have stopped it.

  3. Turn Monitor mode off. The payment call is removed from the model’s reply, with a note naming the rule.

The Vercel one is a Claude support bot. When the gateway removes a call, the bot hands the gateway’s note back to Claude, so the customer gets a plain explanation instead of a silent failure.

7. The Postgres agent that shows you the SQL first (TypeScript)

The reference Postgres MCP server has exactly one tool, query, which takes any SQL. There’s no separate “select” and “delete” tool to sort into buckets. So the recipe holds every query, and a person reads the actual SQL before approving it. It’s a good example of choosing a rule based on what a tool name can and can’t tell you.

Using Claude Code? Two configs you can drop in

There’s no app code here, just ready-made ArmorClaude configs (with the same rules for ArmorCodex):

  • ArmorDev, for everyday coding. Reads, edits, tests and builds run without asking. Secret files are out of reach. Destructive commands and pushes to main never run. Publishing a package or reaching the network from the shell waits for you.

  • ArmorOps, for agents pointed at live infra. kubectl get, terraform plan and aws … describe-* run. kubectl apply, terraform apply and helm upgrade wait for you. terraform destroy, kubectl delete namespace and aws rds delete-db-instance never run.

What the recipes are honest about

Every recipe has a limits section, and I’d read those too:

  • These are checks on tool calls, not a sandbox. The Claude Code configs say so plainly. A shell rule matches command text, so an alias or a wrapper script hides what it does. Those land in “ask me first” rather than “never”, and the offline table marks each one as a known gap.

  • Give the agent narrow credentials anyway. The ArmorOps config says the strongest control for an infra agent is credentials that can’t delete a database. The config is the second layer.

  • Through Intent Gateway, a hold currently acts like a block. The gateway creates the approval request, but approving it doesn’t release the agent’s next attempt yet. The gateway recipes spell this out.

  • CrewAI is the narrowest adapter. It routes calls through a cloud proxy, so it can’t reach an MCP server running on your laptop. The recipe tells you this before step 1 and points you to the delegated-crew pattern if you need more.

I’d rather you hit these in a README than in production.

The code is on GitHub

Every recipe is public at github.com/armoriq/cookbook. Each one lives at recipes/<framework>/<language>/<scenario>/ with a recipe.yaml that describes it, and the index on the site is generated from those files.

Recipes come in two tiers. Official recipes are maintained by our team and tested live. Community recipes are reviewed and pass the offline checks. You can run the same checks our CI runs:

npm ci
npm run check
npm run check:recipes

The first check covers the schema and every recipe.yaml. The second builds each recipe and runs its offline test, with no API keys.

Where to start

  • You want to see it before you sign up: any recipe, offline mode.

  • Your agent reads things it shouldn’t trust (tickets, rows, emails): the Strands support desk or the LangChain SQL analyst.

  • You want an approval step that doesn’t block a worker: the LangGraph interrupt.

  • You run more than one agent: the delegation recipes.

  • You don’t want to touch your agent’s code: the Intent Gateway recipes.

  • You use Claude Code every day: the ArmorDev config.

What’s next

This is launch day, not the finish line. Next up are recipes for a multi-tenant server, approvals end to end, testing and mocking, and known errors with their fixes.

Pydantic AI, Mastra, LlamaIndex and AG2 don’t have a recipe yet. If you build agents on one of them, or on anything else we haven’t covered, open an issue on the repo and tell us what you’d want it to stop doing. That’s how the next recipe gets picked.

Go break something: cookbook.armoriq.ai

Onboarding open

Ready to control what your AI agents actually do?

Join the teams shipping safer, compliant AI agent deployments. White-glove onboarding for the first 50 design partners.

Read Docs →
Live Intent Assurance↗