---
name: aport-platform
description: >
  Use APort to authorize AI workflows across payments, customer data and code,
  issue agent passports, integrate policy checks and inspect decision evidence.
license: Apache-2.0
compatibility: Any AI agent or coding assistant with HTTP access
metadata:
  author: APort
  version: 1.0.0
  tags: ai-agent, guardrails, policy, authorization, audit, github, mcp
---

# APort Platform Skill

APort checks proposed agent actions against policy before execution. Start with
the enterprise workflows below to choose a payment, data or software-delivery
integration. Runtime hooks and GitHub checks are enforcement options, not the
whole product. See the installer targets and aliases below for runtime setup.

## When to use this skill

- The user needs policy checks before an agent moves money or accesses customer data.
- The user wants to evaluate software delivery through APort's restricted-preview task workspace or MCP.
- The user wants AI agent guardrails that run before a tool executes.
- The user wants a GitHub Repository Guard for AI-generated pull requests.
- The user wants signed audit decisions for repository, shell, file, web, MCP,
  messaging, payment, release, or browser actions.
- The user wants an AI agent passport, owner-bound capabilities, limits, and a
  kill switch.
- The user asks for APort pricing, setup commands, API docs, AI Control Packs,
  or the OAP policy catalog.

## Fast setup

<!-- BEGIN GENERATED FRAMEWORK SETUP -->
Installable targets from the published guardrails installer:

- GitHub Repository Guard: `github`: repository setup.
- Claude Code: `claude-code` (aliases: `claude`).
- Codex CLI: `codex`.
- CrewAI: `crewai`.
- Cursor: `cursor`.
- DeerFlow: `deerflow`.
- Gemini CLI: `gemini-cli` (aliases: `gemini`).
- Goose: `goose`.
- LangChain: `langchain`.
- n8n: `n8n`.
- OpenClaw: `openclaw`.

MCP tools and custom agents call the hosted policy verification API before execution. MCP is an integration workflow, not an installer target. Org-owned persistence and org audit require a paid plan; local mode is for offline development.

Hosted verification: `POST https://aport.io/api/verify/policy/{policy_id}`.

Framework IDs and aliases: https://aport.io/api/schema/frameworks

Choose one target below and run every command in its block. These are alternative installations, not sequential steps.

Install Python adapters in your application's environment, then complete callback or middleware wiring using the framework guides at https://aport.io/frameworks.

### GitHub Repository Guard (`github`)

```sh
npx @aporthq/aport-agent-guardrails github
```

### Claude Code (`claude-code`)

```sh
npx @aporthq/aport-agent-guardrails claude-code
```

### Codex CLI (`codex`)

```sh
npx @aporthq/aport-agent-guardrails codex
```

### CrewAI (`crewai`)

```sh
npx @aporthq/aport-agent-guardrails crewai
pip install aport-agent-guardrails-crewai
aport-crewai setup
```

### Cursor (`cursor`)

```sh
npx @aporthq/aport-agent-guardrails cursor
```

### DeerFlow (`deerflow`)

```sh
npx @aporthq/aport-agent-guardrails deerflow
uv add aport-agent-guardrails
```

### Gemini CLI (`gemini-cli`)

```sh
npx @aporthq/aport-agent-guardrails gemini-cli
```

### Goose (`goose`)

```sh
npx @aporthq/aport-agent-guardrails goose --global
```

### LangChain (`langchain`)

```sh
npx @aporthq/aport-agent-guardrails langchain
pip install aport-agent-guardrails-langchain
aport-langchain setup
```

### n8n (`n8n`)

```sh
npx @aporthq/aport-agent-guardrails n8n
```

### OpenClaw (`openclaw`)

```sh
npx @aporthq/aport-agent-guardrails openclaw
```
<!-- END GENERATED FRAMEWORK SETUP -->

If a URL-based installer is required, download and inspect it before running.
Do not pipe remote scripts directly into a privileged shell. Agents should
prepare reviewable changes and request human approval before enabling blocking
enforcement, hosted secrets, or privileged installs.

## Hosted verification

Call APort before a sensitive action:

```http
POST https://aport.io/api/verify/policy/{policy_id}
X-API-Key: apk_...
Content-Type: application/json

{
  "context": {
    "agent_id": "ap_...",
    "action": "tool.call",
    "tool": "system.command.execute",
    "command": "npm test"
  }
}
```

The response is a signed allow or deny decision. Hosted decisions are intended
for team audit, org dashboards, and enterprise policy evidence. Local mode is
available for offline development, but hosted verification is the source of
truth for paid org audit.

## Recommended path

1. Start with GitHub Repository Guard in report-only mode.
2. Add runtime guardrails using an installer target listed above where agents execute.
3. Use hosted verification when decisions must be persisted to an org audit log.
4. Move high-confidence controls from warn/report-only to enforce once the team
   agrees on the policy.

## Presentation contract

When this skill produces APort-facing content, use APort's quiet-authority
design direction:

- Default to document-grade surfaces, ink, ledger lines, seal green, brass, and
  restrained borders.
- Treat terminals, code blocks, logs, and signed receipts as dark operational
  artifacts inside an otherwise restrained public canvas.
- Avoid generic AI gradients, purple/pink glow, glass overload, bot mascots as
  decoration, and vague "AI magic" language.
- Make proof visible: passports, policies, decisions, signatures, denial
  reasons, timestamps, and audit trails should look like durable records.

## Useful links

- APort platform: https://aport.io
- APort skill: https://aport.io/skill
- APort skills library: https://aport.io/skills
- Official skills repository: https://github.com/aporthq/aport-skills
- Quickstart: https://aport.io/quickstart
- Products: https://aport.io/products
- GitHub Repository Guard: https://aport.io/products/github-repository-guard
- Frameworks: https://aport.io/frameworks
- AI Control Packs: https://aport.io/products/control-packs
- OAP policy catalog: https://aport.io/policy-packs
- Pricing: https://aport.io/pricing
- Auth guide: https://aport.io/auth.md
- Design language: https://aport.io/design.md
- OpenAPI: https://aport.io/api/openapi-json
- API catalog: https://aport.io/.well-known/api-catalog
- ARD catalog: https://aport.io/.well-known/ard.json
- Agent Skills index: https://aport.io/.well-known/agent-skills/index.json
- Guardrails repository: https://github.com/aporthq/aport-agent-guardrails
- Open Agent Passport spec: https://github.com/aporthq/aport-spec

<!-- BEGIN GENERATED AUTHORITY ROUTES -->
## Platform scope

Discover assets and agents, investigate security findings, and coordinate authorized response with evidence your team can review.

## Platform outcomes

- **[Discover](https://aport.io/products/discovery/)** (Discovery · Private preview): Review device and agent inventory from supported sources. Record what was observed, which sources were in scope and where coverage is unknown.
- **[Prioritize](https://aport.io/features/exposure-investigation/)** (Discovery · Private preview): Review observations with the affected team. Record what the evidence supports, the owner if known and the proposed next action.
- **[Protect](https://aport.io/products/runtime-enforcement/)** (Connected integrations): Use Agent Passport, guardrails and policy verification where your executor can enforce the decision on actions involving money, data or code.
- **[Respond](https://aport.io/products/audit-trails/)** (Enterprise response · Private preview): The Discovery console is observe-only. For an agreed exercise, identify a supported action and connected enforcement point, then review authorization, observed execution and recovery evidence separately.

## APort Cyber Exposure Assessment

A scoped pilot for one team, environment or workflow. We propose two weeks after agreeing on access and scope. A visibility-only assessment is an option.

Start with a scope call. Access, fees and timing are agreed before kickoff.

Managed task delivery is in restricted preview; its production qualification is pending. Task execution depends on account eligibility, repository authorization, configured providers and available allowance. Preparation can use paid inference. An allowance is not a provider billing cap.

## Enterprise workflows

- [Authorize payments and refunds](https://aport.io/blog/ai-payment-agent-security-policy-pre-action-authorization/) (API integration): Check an agent's payment capability, amount, currency and configured limits before your service moves money. Keep payment execution and reconciliation in your existing system.
- [Govern access to customer data](https://aport.io/enterprise/ai-agent-governance/) (API integration): Evaluate protected reads and exports against configured data policies. Supply trusted customer and resource context, then enforce the decision at the service boundary.
- [Delegate software delivery](https://aport.io/task-delivery/) (Restricted preview): Prepare a repository task, approve implementation, review checks and inspect completion evidence through the task workspace or MCP. Merge authority remains separate.

## Governed agent catalog

Catalog viewing is public. Static availability is the registry baseline; the server checks current qualification and account eligibility before new work. Unqualified templates use the pilot path.

### Software Delivery Agent (Restricted preview)

Prepare and review a change in an authorized GitHub repository.

- Operator: Engineering teams and repository owners

- Executor: Task Delivery with an available harness

- Connections: Tasks passport and one authorized GitHub repository

- Actions: Prepare a brief, explicitly approve implementation and review repository changes

- Approvals: Authority review, explicit activation and separate implementation approval; merge permission remains separate

- Data: Task briefs, repository context, logs and artifacts may reach the configured provider. Do not include secrets or customer records in a brief.

- Region: Review the configured region and provider disclosure. A region label does not establish physical execution residency.

- Retention: Task data can remain in APort's task records and recovery snapshots, and in the connected provider or GitHub repository. Disconnecting the plugin or cancelling a task does not delete those records or confirm that already-started provider work has stopped. Task delivery does not yet offer self-service deletion or a guaranteed retention period.

- Budget: Preparation can use paid inference. Account allowance and per-run bounds apply; an allowance is not a provider billing cap.

- Evidence limits: Policy decisions, activation snapshots, runtime results and completion attestations have separate meanings. An ALLOW does not prove execution; completion does not independently verify its evidence or prove merge or deployment.

- Prerequisites: Team or Enterprise organization, current server qualification, authorized repository, Tasks passport and available provider allowance

- Price path: Managed launch on Team or Enterprise, subject to qualification. Provider costs and allowances are disclosed separately.

- Policy packs: deliverable.task.complete.v1, code.repository.merge.v1

### Customer Operations Agent (Design partner)

Explore governed customer-data workflows with a design partner.

- Operator: Workflow owners and security teams evaluating a pilot

- Executor: Not available

- Connections: To be determined with a design partner

- Actions: Pilot scoping only; no executable actions are offered

- Approvals: Approval and escalation rules must be qualified with the executor before launch

- Data: No production data connection is offered by this template

- Region: Execution region and provider handling are not qualified

- Retention: Retention terms must be agreed before a pilot handles data

- Budget: Pilot scope and provider costs require agreement; no runtime allowance is included

- Evidence limits: No production execution evidence is available. Demo results do not qualify a template.

- Prerequisites: Qualified executor, ownership source, narrow authority and reviewed production evidence

- Price path: Design-partner pilot only. Private or custom launch requires Enterprise agreement.

- Policy packs: governance.data.access.v1

### Payment Operations Agent (Design partner)

Explore governed payment and refund workflows with a design partner.

- Operator: Workflow owners and security teams evaluating a pilot

- Executor: Not available

- Connections: To be determined with a design partner

- Actions: Pilot scoping only; no executable actions are offered

- Approvals: Approval and escalation rules must be qualified with the executor before launch

- Data: No production data connection is offered by this template

- Region: Execution region and provider handling are not qualified

- Retention: Retention terms must be agreed before a pilot handles data

- Budget: Pilot scope and provider costs require agreement; no runtime allowance is included

- Evidence limits: No production execution evidence is available. Demo results do not qualify a template.

- Prerequisites: Qualified executor, ownership source, narrow authority and reviewed production evidence

- Price path: Design-partner pilot only. Private or custom launch requires Enterprise agreement.

- Policy packs: finance.payment.refund.v1

Use [Agent setup](https://aport.io/agents/launch/) for connections and activation. Use [Tasks](https://aport.io/tasks/) to describe work, confirm preparation cost, approve the resulting plan and follow recovery and results. Activation never starts implementation.

[Explore governed workflows](https://aport.io/products/governed-agents/) · [Task operations](https://aport.io/task-delivery/)

Your integration must enforce the decision before execution. A signed authorization is not proof that the action executed. Keep customer identity, resource permissions and execution evidence in the application.

## Evaluation and setup routes

- Compare authorization approaches: https://aport.io/compare/
- Framework setup and policy checks: https://aport.io/frameworks/
- AI Agent Governance for Enterprise Teams: https://aport.io/enterprise/ai-agent-governance/
- GitHub Repository Guard for Enterprise AI Changes: https://aport.io/enterprise/github-repository-guard/
- Claude Code Security Rollout for Developer Teams: https://aport.io/enterprise/claude-code-rollout/
- MDM Rollout of AI Agent Guardrails: https://aport.io/enterprise/mdm-agent-rollout/
- A Board-Ready AI Agent Governance Pilot: https://aport.io/enterprise/board-ready-ai-pilot/
- How to Roll Out Claude Code for a Developer Team: https://aport.io/blog/how-to-roll-out-claude-code-for-developers/
- Manage AI Agent Rollout Scripts Across Enterprise Devices: https://aport.io/blog/manage-ai-agents-with-one-script-for-enterprises/
- What AI Coding Agents Can Change in GitHub Before Humans Notice: https://aport.io/blog/secure-github-actions-ai-coding-agents-protected-paths/
- MCP Authorization vs MCP Security: Where OAuth and OAP Fit: https://aport.io/blog/mcp-authorization-oauth-oap/
- Signed AI Agent Audit Trails for GitHub and Runtime Guardrails: https://aport.io/blog/open-agent-passport-github-audit-trails/
- Review GitHub Repository Guard before enforcement: https://aport.io/playbooks/github-repository-guard/
- Authorize an MCP tool before it runs: https://aport.io/playbooks/mcp-authorization/
<!-- END GENERATED AUTHORITY ROUTES -->
