Skip to content

Developers / Quickstart

Quickstart

From signup to first authority decision in under three minutes. Install the CLI, submit intent for verification, and verify the signed Authority Token.

01

Install and authenticate

bash
# Install the Intended CLI
npm install -g @intended/cli

# Authenticate with your API key
intended auth login --key mrt_test_abc123

# Initialize workspace with default policy set
intended init --policy-pack startup
One-time setup.
02

Submit an intent

bash
# Submit your first intent
intended intent submit \
  --action "deployment.trigger" \
  --target "service-checkout" \
  --environment "staging"

# ✓ Intent evaluated
# ✓ Risk score: 18/100 (low)
# ✓ Policy: allow-staging-deployments
# ✓ Decision: AUTHORIZED
# ✓ Token: eyJhbGciOiJSUzI1NiIs...
# ✓ Audit entry: sha256:7f3a2b...
Your first authority decision.
03

Verify the token

bash
# Verify the authority token
intended token verify eyJhbGciOiJSUzI1NiIs...

# ✓ Signature: valid (RS256)
# ✓ Tenant: your-org
# ✓ Nonce: unused
# ✓ Expiry: 2026-03-10T12:05:00Z (valid)
# ✓ Claims: deployment.trigger → service-checkout
Independent cryptographic verification.

Use the SDK

Use the TypeScript SDK for programmatic intent verification in your application code, CI/CD pipelines, or AI agent frameworks.

typescript
import { IntendedClient } from "@intended/sdk";

const intended = new IntendedClient({
  apiKey: process.env.INTENDED_API_KEY,
});

// Submit intent for authority evaluation
const decision = await intended.execute({
  action: "deployment.trigger",
  target: "service-checkout",
  environment: "staging",
  adapter: "github-actions",
});

// decision.outcome: "AUTHORIZED"
// decision.token: "eyJhbGciOiJSUzI1NiIs..."
// decision.riskScore: 18
// decision.auditHash: "sha256:7f3a2b..."
TypeScript SDK for intent verification and governed execution.

Next Moves

Configure policy rules

Define verification thresholds, escalation rules, and approval workflows for your organization.

Learn more

Build a custom adapter

Use the Connector SDK to create execution adapters for your target systems in under 200 lines.

Learn more

Set up escalation workflows

Route high-risk actions to the right approvers with full risk context and evidence.

Learn more

Verify audit chains

Run integrity checks on your audit ledger and export evidence bundles for compliance.

Learn more