Agent framework

Vercel AI SDK + AxioRank

Guard the tools you hand to generateText or streamText, with no change to your agent logic.

TypeScript · no agent rewrite · decision in under 100ms

TypeScript
import { guardTools } from "@axiorank/sdk/vercel";

const tools = guardTools(myTools, axio, { onDeny: "return" });
await generateText({ model, tools, prompt });

How it works

Three steps to a governed agent.

Put every tool your Vercel AI SDK agent runs behind the AxioRank gateway. The adapter funnels through the same scoring, policy, and audit as a hand-written integration, so the allow, deny, and hold semantics are identical.

1

Install the SDK

npm install @axiorank/sdk
2

Wrap your tools

Use the Vercel AI SDK adapter to wrap the tools you already define. Name, description, and schema are preserved.

3

Run with confidence

Every call is scored, checked against your policy, and audited. A denied call raises, or returns a short refusal the agent can recover from.

See it decide

Score a tool call live.

This is the real engine that sits behind the adapter. Edit the arguments or pick an attack preset and watch the risk score, the signals, and the decision update in your browser. No signup.

Why guard at the tool boundary

The agent keeps its autonomy. You keep control.

The model still chooses what to do. AxioRank checks the concrete tool call (its arguments, the resource it touches, the secrets and PII it carries) the moment before it runs, so a prompt-injected or mistaken action is caught at the point it would do harm.

Catches the real action

Detects leaked secrets, PII, destructive operations, prompt injection, and egress in the actual call.

No rewrite

Wrap the tools you already have. Names, descriptions, and schemas are preserved.

One line per tool

The adapter funnels through the same gateway as the raw SDK, so semantics match exactly.

Guard your Vercel AI SDK agent today

Create a key, wrap your tools, and route a call through the gateway in minutes. Or try it locally with no key first.