Community-built integrations, SDKs, and tools for the APort ecosystem
๐ APort Website โข ๐ Documentation โข ๐ Try APort โข ๐ฌ Discord
This repository houses community-contributed integrations, SDKs, middleware, and tools that extend APort's capabilities across different platforms, frameworks, and use cases. Each integration demonstrates how to implement APort's agent identity verification and policy enforcement in real-world scenarios.
- ๐ Agent Identity: Portable passports with capabilities & limits
- ๐ Policy Packs: Pre-built policies for common actions (refunds, data export, PR merges)
- โก Real-time Verify: Sub-100ms policy checks with global suspend capability
- ๐ Multi-level Assurance: Email, GitHub, Domain verification levels
- ๐ Platform Agnostic: Works across all platforms and frameworks
The official APort SDKs are maintained in the aport-sdks repository.
- Core SDK: @aporthq/sdk-node - Core Node.js SDK
- Express Middleware: @aporthq/middleware-express - Express.js middleware
- Core SDK: aporthq-sdk-python - Core Python SDK
- FastAPI Middleware: agent-passport-middleware-fastapi - FastAPI middleware
We're actively building more SDKs and integrations! Check out our open issues to contribute:
- Go SDK - Core Go SDK with Gin, Echo, Fiber middleware
- PHP SDK - Core PHP SDK with Laravel middleware
- Ruby SDK - Core Ruby SDK with Rails gem
- LangChain Integration - Tool guard for LangChain
- CrewAI Integration - Task verification decorator
- n8n Workflow Node - Custom n8n node for policy checks
- Zapier App - Custom Zapier app for APort verification
- GitHub App - PR/Merge verification
- Discord Bot - Team verification workflows
- VS Code Extension - Code snippets and syntax highlighting
- Postman Collection - API testing and CI/CD integration
- CLI Tool - Quick integration setup
- Shopify App - Refund protection for e-commerce
- Stripe Integration - Payment verification
- Banking APIs - Financial services integration
- OpenAPI Spec - OpenAPI 3.1 specification for APort API
- AP2 Bridge - AP2 payment authorization bridge
- SPIFFE/SPIRE - Enterprise identity integration
We're actively building the APort ecosystem with 22+ open issues and 6 issues already picked up by contributors!
- Total Issues: 22 open issues
- Issues Picked Up: 6 (27% pickup rate in 8 hours!)
- Total Bounty Pool: $175+ USD
- Categories: 10+ different integration types
- Blog Post Tutorial - 2 assignees
- n8n Workflow Node - 1 assignee
- Go SDK - 1 assignee
- Next.js Middleware - 2 assignees
- AP2 Payment Bridge - 2 assignees
- Zapier Custom App - 1 assignee
- LangChain: Most popular AI framework - needs tool guard integration
- CrewAI: Multi-agent orchestration - needs task verification decorator
- n8n: Low-code automation - needs custom verification node
- LangGraph: State machine workflows - needs checkpoint integration
- Zapier: No-code automation - needs custom app
- Shopify: Complete app with refund guardrails
- WooCommerce: WordPress plugin for order verification
- Stripe: Connect payout verification
- CLI Tool:
npx create-aport-integration
scaffolding - VS Code Extension: Policy development with IntelliSense
- Postman Collection: Complete API testing suite
- Next.js: App Router and Pages Router support
- Django: Python web framework middleware
- Laravel: PHP framework with Artisan commands
- Rails: Ruby gem with generators
- Go Frameworks: Gin, Echo, Fiber middleware
- OpenAPI 3.1: Complete API specification
- AP2 Bridge: Payment authorization integration
- SPIFFE/SPIRE: Enterprise identity federation
# Clone the repository
git clone https://github.com/aporthq/aport-integrations.git
cd aport-integrations
# Explore integrations by category
ls examples/
# agent-frameworks/ ecommerce/ developer-tools/ middleware/ protocol-bridges/
# Example: LangChain Tool Guard
cd examples/agent-frameworks/langchain
npm install
npm run example
# Example: Express.js Middleware
cd examples/middleware/express
npm install
npm start
# Use our CLI to scaffold a new integration
npx create-aport-integration my-integration
cd my-integration
npm install
aport-integrations/
โโโ examples/ # Working integration examples
โ โโโ agent-frameworks/ # LangChain, CrewAI, n8n, etc.
โ โโโ ecommerce/ # Shopify, WooCommerce, Stripe
โ โโโ middleware/ # Express, FastAPI, Django, etc.
โ โโโ protocol-bridges/ # OpenAPI, AP2, SPIFFE/SPIRE
โโโ tools/ # Developer tools and utilities
โ โโโ cli/ # APort CLI for scaffolding
โ โโโ vscode-extension/ # VS Code extension
โ โโโ postman-collection/ # Postman collection
โโโ templates/ # Integration scaffolding templates
โ โโโ javascript-middleware/ # Express.js template
โ โโโ python-middleware/ # FastAPI template
โโโ sdk/ # References to official SDKs
โ โโโ README.md # Links to aport-sdks repository
โโโ docs/ # Integration documentation
examples/
- Working integration examples that demonstrate real-world usage of APorttools/
- Developer tools and utilities (CLI, VS Code extension, Postman collection)templates/
- Scaffolding templates for quick integration development and consistent structuresdk/
- References to official APort SDKs maintained in the aport-sdks repository
Make APort the default trust layer for AI agent frameworks.
Integration | Description | Status | Maintainer |
---|---|---|---|
LangChain Tool Guard | Secure LangChain tools with APort verification | โ Active | Community |
CrewAI Task Decorator | @aport_verify decorator for CrewAI tasks |
โ Active | Community |
n8n APort Node | Custom n8n node for APort verification | ๐ง In Progress | Community |
LangGraph Checkpoints | APort verification in LangGraph state machines | ๐ Planned | Community |
Prove the refund use case with working platform integrations.
Integration | Description | Status | Maintainer |
---|---|---|---|
Shopify Refund Guardrail | Complete Shopify app with APort verification | โ Active | Community |
WooCommerce Plugin | WordPress plugin for order/refund verification | ๐ง In Progress | Community |
Stripe Connect Verification | Webhook handler for Stripe Connect payouts | ๐ Planned | Community |
Reduce APort integration time from hours to minutes.
Tool | Description | Status | Maintainer |
---|---|---|---|
APort CLI | npx create-aport-integration scaffolding tool |
โ Active | Community |
VS Code Extension | Policy development with IntelliSense | ๐ง In Progress | Community |
Postman Collection | Complete API testing collection | โ Active | Community |
Position APort as the universal verify layer.
Bridge | Description | Status | Maintainer |
---|---|---|---|
OpenAPI 3.1 Spec | Complete OpenAPI specification | โ Active | Community |
AP2 Bridge | APort passport authorization for AP2 payments | ๐ Planned | Community |
SPIFFE/SPIRE Integration | Enterprise identity federation | ๐ Planned | Community |
Native support for popular web frameworks.
Framework | SDK/Middleware | Status | Maintainer |
---|---|---|---|
Next.js | Middleware package | โ Active | Community |
Express.js | Middleware package | โ Active | Community |
FastAPI | Middleware package | โ Active | Community |
Django | Middleware package | ๐ง In Progress | Community |
Laravel | Composer package | ๐ Planned | Community |
Rails | Ruby gem | ๐ Planned | Community |
Go | Official SDK | ๐ง In Progress | Community |
// Express.js with APort middleware
const { createAPortMiddleware } = require("@aporthq/middleware-express");
const aportMiddleware = createAPortMiddleware({
apiKey: process.env.APORT_API_KEY
});
app.post("/api/refunds",
aportMiddleware("finance.payment.refund.v1"),
async (req, res) => {
// Policy already verified! Check specific limits
const passport = req.aport.passport;
if (req.body.amount > passport.limits.refund_amount_max_per_tx) {
return res.status(403).json({
error: "Refund exceeds limit",
requested: req.body.amount,
limit: passport.limits.refund_amount_max_per_tx
});
}
// Process refund safely
const refund = await stripe.refunds.create({
amount: req.body.amount,
payment_intent: req.body.payment_intent
});
res.json({ success: true, refund });
}
);
# LangChain with APort Tool Guard
from aporthq_sdk import APortClient
from langchain.tools import Tool
def refund_tool(order_id: str, amount: float) -> str:
return f"Refunded ${amount} for order {order_id}"
# Initialize APort client
aport_client = APortClient(api_key=os.getenv("APORT_API_KEY"))
# Create protected tool wrapper
class APortToolGuard:
def __init__(self, tool, policy_pack, agent_id):
self.tool = tool
self.policy_pack = policy_pack
self.agent_id = agent_id
async def __call__(self, *args, **kwargs):
# Verify agent before tool execution
result = await aport_client.verify(self.policy_pack, self.agent_id)
if not result.verified:
raise Exception("Agent verification failed")
# Execute tool if verified
return self.tool(*args, **kwargs)
# Wrap tool with APort verification
protected_refund_tool = APortToolGuard(
tool=Tool(
name="refund_tool",
description="Process customer refunds",
func=refund_tool
),
policy_pack="finance.payment.refund.v1",
agent_id="agt_inst_xyz789"
)
# Use in agent
agent = initialize_agent([protected_refund_tool], llm, agent_type="zero-shot-react-description")
# .github/workflows/aport-verify.yml
name: APort Verify PR
on: [pull_request]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: aporthq/policy-verify-action@v1
with:
agent-id: ${{ secrets.APORT_AGENT_ID }}
policy-pack: 'code.repository.merge.v1'
context: |
{
"repo": "${{ github.repository }}",
"base": "${{ github.event.pull_request.base.ref }}",
"head": "${{ github.event.pull_request.head.ref }}",
"files_changed": ${{ toJson(github.event.pull_request.changed_files) }}
}
We're participating in Hacktoberfest 2025! Join us in building the future of AI agent security.
- ๐ฐ Bounties: $15-$50 per merged PR
- ๐ Swag: APort Champion T-shirts for contributors
- ๐ Grand Prizes: Up to $150 for exceptional contributions
- ๐ Recognition: Featured on our website and social media
- Fork this repository
- Browse open issues labeled
hacktoberfest
- Claim an issue by commenting "I'd like to work on this"
- Build your integration following our contribution guidelines
- Submit a pull request with your implementation
- Get paid via Chimoney when your PR is merged!
- LangChain Tool Guard - $50
- CrewAI Task Decorator - $50
- Shopify Refund Guardrail - $50
- APort CLI Tool - $50
View all Hacktoberfest issues โ
- "Good First Issue" Label - 4/6 picked issues have this label
- Content Creation - Blog posts and tutorials are highly attractive
- Integration & Middleware - 5/6 issues are integration-related
- Automation Tools - n8n and Zapier appeal to no-code audience
- Financial Use Cases - Payment/AP2 bridge resonates strongly
- Use
good-first-issue
label for beginner-friendly tasks - Focus on content creation and developer experience
- Target specific frameworks (Next.js, Go, n8n, Zapier)
- Include clear success criteria and bounty amounts
- Provide scaffolding templates for complex integrations
We love contributions! Whether you're fixing bugs, adding features, or creating new integrations, your work helps make APort better for everyone.
- Browse Issues: Check our open Hacktoberfest issues
- Use Templates: Copy scaffolding templates from
/templates/
directory - Follow Guidelines: See CONTRIBUTING.md for detailed instructions
- Get Rewarded: Earn $5-$40 USD per completed issue!
- Agent Framework Integrations (LangChain, CrewAI, n8n)
- Platform Integrations (Zapier, GitHub, Discord)
- Developer Experience (VS Code, CLI, Postman)
- Content Creation (Tutorials, blog posts, videos)
- โ Working Example: Must include a complete, runnable example
- โ Documentation: Clear README with setup instructions
- โ Tests: Unit tests for core functionality
- โ Error Handling: Graceful failure modes
- โ Security: No hardcoded secrets or credentials
- Language-specific: Follow standard conventions (ESLint, Black, gofmt)
- Documentation: Include docstrings and comments
- Testing: Minimum 80% code coverage
- Security: Use environment variables for secrets
Read our full Contributing Guide โ
- ๐ Core Features - Complete list of APort Features
- ๐ Documentation - Complete guides and API reference
- ๐ฎ Swagger Documentation - Try APort in your browser
- ๐ก Examples - Real-world implementations
- API Reference - Complete API documentation
- Policy Packs - Pre-built policy definitions
- SDKs - Language-specific SDKs
- Specification - AI Passport Specification
- GitHub Actions - CI/CD integrations
- GitHub Discussions - Ask questions
Metric | Count | Status |
---|---|---|
๐ง Integrations | 15+ | โ Active |
๐ฆ SDKs | 5+ | โ Active |
๐ ๏ธ Tools | 8+ | โ Active |
๐ฅ Contributors | 25+ | ๐ Growing |
โญ Stars | 100+ | ๐ Rising |
This project is licensed under the MIT License - see the LICENSE file for details.