AI-Native Authorization
Infrastructure

Keep authorization consistent as agents write your backend. Arkveil moves permission checks and row-level data rules out of application code into one testable access model shared by your team and coding agents.

your coding agent · arkveil cli
  1. 01Detect
  2. 02Extract
  3. 03Enforce

Agents Ship Fast
Rules Drift Faster

Coding agents produce endpoints faster than any team can review the authorization inside them.

The Problem

Authorization Sprawl

An agent works from the files in front of it. Authorization is a property of the whole system — so every generated check looks right on its own while the real access model quietly diverges across services. Soon nobody can say who may do what without reading the code.

The Answer

One Access Model

Arkveil externalizes authorization into one structured, testable access model — compact enough for an agent to load in full, like a schema or API spec. Anyone on your team can see who may do what without tracing code across services. Agents extend and test the model, and every service enforces the same policies.

Traditional access control wasn't built for software that ships at agent speed. Arkveil is.

One Model
Actions and Data

Protecting an endpoint doesn't protect the data behind it. A permitted action can still expose the wrong rows, modify records it shouldn't, or leave data the user isn't allowed to create.

Arkveil brings action permissions and data rules into one access model. Action policies control which operations are allowed, and data policies restrict which records can be accessed and what states they may end up in.

01

Actions

A granted or denied decision for every protected endpoint. One annotation marks the enforcement point, and policies hold the rules.

02

Reads

Row policies compile to a SQL condition your query carries along. The database filters the rows — no per-record authorization calls, however large the table.

03

Writes

Before an update or delete, the rows being touched are checked. After an insert or update, so is the state they end up in. A failed check rolls the transaction back.

Action policies can query your data at decision time. An ownership check takes one line:exists invoice where (data.id = request.invoiceId and data.owner_id = user.id)

Data policies in the docs

Built for
Coding Agents

Hand the new rule to the agent you already use. It extends the access model through the Arkveil CLI — and proves the change before anything ships.

agent session · arkveil cli
suite green
$
arkveil model all
targets · policies · tests · schemas — the whole model, one read
$
arkveil policies create <edit-invoice-target> --type PERMISSION \
  --title "Accounting edits invoices" \
  --condition 'user.department = "accounting"'
policy created · 96368751
$
arkveil tests create --name "Accounting cannot issue an invoice" \
  --action-code invoices:issue --expected-access DENIED …
test created · ENABLED
$
arkveil tests run-all
16 runs · 16 PASSED · 0 FAILED
$
arkveil eval explain -a invoices:edit --user '{"department":"accounting"}'
granted: GRANTED · granting policies: 96368751 · candidates: 5

No agent-specific setup: arkveil --help teaches agents how to work with Arkveil, and arkveil skill provides the full, up-to-date policy authoring guide.

01

Inspect

The agent reads the whole model first — targets, policies, tests, attribute schemas. Nothing is inferred from whatever code happens to be open.

02

Author

It adds a target, a policy and tests — including the access that must stay denied. No inline check lands in your application code.

03

Verify

One command runs every test in the model, not just the new ones. A red suite stops the change before it ships.

04

Explain

An unexpected decision? The agent gets a full explanation: which policies granted access, which didn't apply, and how every condition was evaluated.

CLI

Coding agent

Explores the model, creates policies and tests, runs the suite, explains unexpected results.

Arkveil Cloud

One shared access model

The same policies and tests, whoever is working on them.

Studio

Your team

Reviews the model, inspects policies and test results, approves what agents propose, manages rules visually.

Verified Before It Ships

01

Tests Are the Spec

Policy tests are first-class artifacts with run history — a user, a context, fixtures, an expected outcome. They run against the model, independently of your application.

02

Nothing Silently Breaks

Every policy change can be tested against expected access behavior — so agents can't silently break the rules your team relies on. A failing suite gates your pipeline.

03

Every Decision Explains Itself

The evaluation trace names the candidate policies, the ones that granted, and what every sub-expression evaluated to. Your agent reads it on the CLI, your team sees it in Studio.

Whole model
Fits one agent context
No conflicts
Permit-only, by design
Green suite
Before anything ships

Centrally Managed
Locally Enforced

One access model, managed in Arkveil Cloud. Every decision evaluated by Arkveil Runtime inside your own infrastructure — no cloud round trip on the hot path.

01

One Access Model

Actions, datasets, targets, policies and tests in one place — shared by coding agents on the CLI, your team in Studio, and the runtime that enforces it.

02

Runs in Your Infrastructure

Arkveil Runtime keeps a complete mirror of the model next to your services and decides from it. If Arkveil Cloud is unreachable, syncing stops — deciding doesn't.

03

Enforced by Your SDK

One annotation guards an action. Read filters travel inside your own queries, write checks run inside your own transactions. Fail-closed by design.

1 line
Per protected endpoint
<1 ms
Policy decision
0
Cloud calls per decision

Authorization
Without the Rewrite

One annotation marks an enforcement point, the way a route decorator marks an endpoint. Business logic contains no access rules — and never changes when they do.

@Controller("articles")
export class ArticlesController {
@Delete(":id")
@PermissionPoint("articles:delete")
remove(@Param("id") id: string) {
return this.articles.delete(id);
}
}

Protect any endpoint with a single line — zero boilerplate

Available now
TypeScript
NestJS · Node / Bun / Deno
Coming soon
Java
Spring Boot
Coming soon
Kotlin
Spring Boot

On the roadmap: .NET · Go · Python

01

Non-Invasive

Rules change without a rebuild, a redeploy or a code edit. User attributes come from the authentication you already have — Arkveil decides what the authenticated user may do.

02

Incremental

Start next to your existing checks, one endpoint at a time. Arkveil coexists with what you have and expands at your pace — actions first, data when you are ready.

03

Reversible

The door stays open. Every policy, target and test is exportable and mirrored in your own infrastructure. A coding agent can translate Arkveil enforcement points back into plain code — the policies say what to write, the tests check the result.

Beyond Roles
Beyond Rules

RBAC enumerates access scenarios through roles.
Attribute-based policies express the logic behind them.

Traditional RBAC

More roles, more exceptions

Regional managers, finance managers, senior managers — every new access condition becomes another role, or another exception buried in code.

managerregional_managerfinance_managersenior_manager_eufinance_manager_readonlyregional_manager_us_drafts+ 41 more
Arkveil ABAC

Policies that follow your business rules

Express access through attributes — ownership, department, region, record state. A handful of attribute policies replace hundreds of roles.

invoices:approve · condition
user.role = "manager" and user.department = request.department
invoice rows · filter
data.region = user.region and data.status = "draft"

This is attribute-based access control: a single policy can express relationships between attributes without hardcoding their possible values. Role is just one attribute among many.

What's Next

The model and its enforcement are shipped. These extend them.

Coming soon
01

Deeper Audit and Compliance

Persistent decision history, audit reports, and compliance evidence — on top of today's on-demand traces.

02

Advanced Policy Intelligence

Automated analysis of the access model to identify overly broad grants, redundant policies, unintended overlaps, and gaps in test coverage.

03

Fine-Grained Data Protection

Column-level projections and masking, extending row-level control down to individual fields.

04

Intelligent Access Monitoring

Detection of unusual access patterns, suspicious requests, and potential misuse of granted permissions.

Questions & Answers

What Arkveil is, how it compares with the alternatives, and what it takes to rely on it.

Let your agents ship
Arkveil holds the line

Protect your first endpoint in minutes — by hand, or by handing it to the coding agent you already use.