The fastest way to see AXME in action is the CLI. Install with one command, log in with email OTP, and run a built-in example end-to-end: axme examples run human/cli. See the full CLI guide at cloud.axme.ai/alpha/cli.
Build a minimal integration using public repositories only.
Canonical model for this guide:
AXPis the Intent Protocol (durable execution layer).- Integrations should use intent lifecycle semantics, not RPC-style remote calls.
- API contracts/schemas:
axp-spec - public integration docs:
axme-docs - SDK baseline repos:
axme-sdk-python,axme-sdk-typescript - example hub:
axme-examples(cloud + protocol tracks)
axp-spec/docs/public-api-schema-index.mdaxp-spec/docs/schema-versioning-rules.mdaxp-spec/docs/protocol-error-status-model.mdaxp-spec/docs/idempotency-correlation-rules.mddocs/public-api-families-d1-intents-inbox-approvals.mddocs/public-api-families-d2-webhooks-capabilities.mddocs/public-api-families-d3-users.mddocs/public-api-families-d4-invites-media.mddocs/public-api-families-d5-schemas.mddocs/axme-is-not-rpc.mddocs/mcp-axme-continuation-pattern.mddocs/migration-message-centric-to-intent-lifecycle.md
- Direct HTTP integration using public API/OpenAPI contracts:
docs/openapi/gateway.v1.json
- Connector-specific contracts (if needed):
docs/openapi/chatgpt-adapter.v1.jsondocs/openapi/gemini-adapter.v1.json
Pick example family:
- Cloud runtime scenarios:
axme-examples/cloud - AXP-only protocol scenarios:
axme-examples/protocol
Recommended baseline:
- Submit intent (
POST /v1/intents) with optional deadline:ttl_seconds: 3600-- relative TTL (60s to 7 days)deadline_at: "2026-04-04T18:00:00Z"-- absolute deadline- If neither is set, the server may apply a default TTL (configurable via
AXME_DEFAULT_INTENT_TTL_SECONDS).
- Observe continuation (primary stream):
GET /v1/intents/{intent_id}/events/stream
- Keep polling fallback:
GET /v1/intents/{intent_id}GET /v1/intents/{intent_id}/events?since=<seq>
- Enable offline completion when needed:
- set
reply_toinPOST /v1/intents - consume completion from
GET /v1/inbox?owner_agent=<reply_to>
- set
- Reply/delegate/decision on inbox thread as needed
- Handle
TIMED_OUTas a terminal state -- intents that exceed their deadline are automatically closed by the gateway
docs/public-api-auth.mddocs/supported-limits-and-error-model.mddocs/migration-and-deprecation-policy.md
- Validate payloads against
axp-spec/schemas/public_api/*.json - Use idempotency keys on retryable writes
- Capture request/trace identifiers in logs
AXP wraps every intent in a signed envelope carrying the payload, sender identity, schema version, idempotency key, and a gateway-applied HMAC signature:
Idempotency and replay protection are first-class protocol features - duplicate requests bearing the same idempotency key return the cached response without re-executing:
If these steps pass in staging, external integrator onboarding is possible from public repositories without private context.