guides
Intended Documentation
Developer Integration
The developer track — submit intents, verify Authority Tokens locally, build fail-closed connectors, govern agent tool calls through the gateway, and handle every error the runtime returns.
Developer Integration#
This is the build track. Every page here is grounded in the shipping code — the @intended-inc/sdk, @intended/verify, and @intended/connector-sdk packages — so the signatures, fields, and error codes you read are the ones the runtime actually uses.
There are three ways to put Intended in the path of an action, in increasing order of how much you control the integration:
- Submit intents directly. Your service calls
POST /intent, reads theAPPROVED/ESCALATED/DENIEDdecision, and acts on the result. This is the most direct path and the foundation everything else builds on. - Build a connector. Extend
BaseAdapterfrom@intended/connector-sdk. The base class verifies the Authority Token — signature, tenant, adapter, expiry, single-use nonce — before your action code ever runs. Validation is fail-closed and not optional. - Govern an agent runtime through the gateway. Point an agent's model base URL at the LLM gateway and every tool call the model emits is evaluated before it reaches your tools. No code change inside the agent.
Start here#
Make your first authorized call
API Quickstart — obtain an intended_live_ key, submit an intent, and handle the three decision outcomes with their HTTP statuses.
Verify the token at the point of execution
Verify Decision Tokens — verify the Ed25519 Authority Token locally with @intended/verify, pin the kid, and reject on the documented failure reasons.
Enforce before you act
Connector SDK — wrap any downstream system in a fail-closed adapter, or use the SDK reference to drive intents and verification from your application.
All developer pages#
- API Quickstart — submit your first intent and read the decision.
- Verify Decision Tokens — local Ed25519 verification, and on-robot verifiers for physical AI.
- Connector SDK — build a fail-closed
BaseAdapterconnector. - Enforcement SDK — the
@intended-inc/sdkand@intended/verifymethod reference. - LLM Gateway — govern every agent tool call by changing one env var.
- Runtime Integrations — choose direct / adapter / gateway for your runtime.
- OpenShell & NemoClaw — compile intents into OpenShell policy YAML.
- Error Patterns — every error code the runtime returns and how to handle it. </content> </invoke>