Skip to content
AX Framework

Examples

SaaS Dashboard

Reports, settings, and long-running jobs in a B2B product.

B2B products are increasingly operated by agents working for teams: pulling reports, changing settings, inviting users. This example covers a fictional analytics product, Meridian.

Illustrative example

Tasks

TaskRiskNotes
"Send me last month's signup report as a CSV."ReadLong-running export
"Invite our new analyst with viewer access."MediumAffects another person
"Turn off the legacy webhook."HighAffects integrations

Organizational grants

In B2B products, the principal is often an organization. Grants record both the person who delegated and the organization whose data is affected, and an admin can see every grant in the workspace.

json
{
  "grantId": "grt_org_19",
  "agent": "ops-assistant.example",
  "principal": { "user": "u_ana", "organization": "org_meridian_acme" },
  "scopes": ["reports:read", "members:invite"],
  "constraints": { "members:invite": { "roles": ["viewer"] } }
}

Note the constraint: the agent may invite members, but only as viewers. Granting admin access would need a different grant.

Long-running exports

Report exports return 202 Accepted with a status resource. See Execution Status.

http
POST /api/ax/export_report
Idempotency-Key: ana-oct-signups

{ "report": "signups", "period": { "from": "2026-09-01", "to": "2026-09-30" }, "format": "csv" }
http
HTTP/1.1 202 Accepted
Location: /jobs/job_55

Changes that affect others

Disabling a webhook breaks someone else's integration. The action declares affectsOthers: true, requires approval from a workspace admin rather than the requesting user, and the receipt includes an undo action valid for 7 days.

Audit

Every agent action appears in the workspace audit log, labelled with the agent and the delegating user:

TimeActorActionResult
14:02Ops Assistant for Anaexport_report signups, SepCompleted
14:05Ops Assistant for Anainvite_member viewerCompleted
14:07Ops Assistant for Anadisable_webhook legacyAwaiting admin approval

Last updated 2026-10-06. AX Framework documentation describes proposals unless a section is marked as an established standard.