Thanks to visit codestin.com
Credit goes to github.com

Skip to content

๐Ÿ›ก๏ธ Community-built integrations, SDKs, and tools for APort - the neutral trust rail for AI agents. Join Hacktoberfest 2025!

License

Notifications You must be signed in to change notification settings

aporthq/aport-integrations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

14 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

๐Ÿ›ก๏ธ APort Integrations

APort Logo

Community-built integrations, SDKs, and tools for the APort ecosystem

GitHub Issues GitHub PRs License Hacktoberfest

๐ŸŒ APort Website โ€ข ๐Ÿ“š Documentation โ€ข ๐Ÿš€ Try APort โ€ข ๐Ÿ’ฌ Discord


๐ŸŽฏ About APort Integrations

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.

๐Ÿ† What Makes APort Special?

  • ๐Ÿ†” 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

๐Ÿ“ฆ Official SDKs

The official APort SDKs are maintained in the aport-sdks repository.

โœ… Currently Available

Node.js/JavaScript

Python

๐Ÿšง In Development (Hacktoberfest 2025)

We're actively building more SDKs and integrations! Check out our open issues to contribute:

High Priority SDKs

  • 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

Agent Framework Integrations

  • LangChain Integration - Tool guard for LangChain
  • CrewAI Integration - Task verification decorator
  • n8n Workflow Node - Custom n8n node for policy checks

Platform Integrations

  • Zapier App - Custom Zapier app for APort verification
  • GitHub App - PR/Merge verification
  • Discord Bot - Team verification workflows

Developer Experience

  • VS Code Extension - Code snippets and syntax highlighting
  • Postman Collection - API testing and CI/CD integration
  • CLI Tool - Quick integration setup

E-commerce & Financial

  • Shopify App - Refund protection for e-commerce
  • Stripe Integration - Payment verification
  • Banking APIs - Financial services integration

Protocol Bridges

  • OpenAPI Spec - OpenAPI 3.1 specification for APort API
  • AP2 Bridge - AP2 payment authorization bridge
  • SPIFFE/SPIRE - Enterprise identity integration

๐ŸŽ‰ Hacktoberfest 2025 Progress

We're actively building the APort ecosystem with 22+ open issues and 6 issues already picked up by contributors!

๐Ÿ“Š Current Status

  • 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

๐Ÿ† Most Popular Issues (Already Picked Up)

  1. Blog Post Tutorial - 2 assignees
  2. n8n Workflow Node - 1 assignee
  3. Go SDK - 1 assignee
  4. Next.js Middleware - 2 assignees
  5. AP2 Payment Bridge - 2 assignees
  6. Zapier Custom App - 1 assignee

๐ŸŽฏ Strategic Need for Comprehensive SDK Coverage

Agent Framework Coverage (Highest Priority)

  • 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

E-commerce Platform Integration (Design Partner Demos)

  • Shopify: Complete app with refund guardrails
  • WooCommerce: WordPress plugin for order verification
  • Stripe: Connect payout verification

Developer Experience Tools (Reduce Integration Friction)

  • CLI Tool: npx create-aport-integration scaffolding
  • VS Code Extension: Policy development with IntelliSense
  • Postman Collection: Complete API testing suite

Framework Middleware (Native Support)

  • 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

Protocol Bridges (Universal Interoperability)

  • OpenAPI 3.1: Complete API specification
  • AP2 Bridge: Payment authorization integration
  • SPIFFE/SPIRE: Enterprise identity federation

๐Ÿš€ Quick Start

1. Browse Available Integrations

# 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/

2. Try an Integration

# 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

3. Create Your Own Integration

# Use our CLI to scaffold a new integration
npx create-aport-integration my-integration
cd my-integration
npm install

๐Ÿ“ Repository Structure

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

๐Ÿ“‹ Directory Purposes

  • examples/ - Working integration examples that demonstrate real-world usage of APort
  • tools/ - Developer tools and utilities (CLI, VS Code extension, Postman collection)
  • templates/ - Scaffolding templates for quick integration development and consistent structure
  • sdk/ - References to official APort SDKs maintained in the aport-sdks repository

๐ŸŽจ Integration Categories

๐Ÿค– Agent Framework Integrations

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

๐Ÿ›’ E-commerce Platform Guardrails

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

๐Ÿ”ง Developer Experience Tools

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

๐ŸŒ‰ Protocol Bridges & Standards

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

๐Ÿ› ๏ธ Core Framework SDKs & Middleware

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

๐ŸŽฏ Real-World Examples

๐Ÿ’ณ E-commerce Refund Protection

// 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 Tool Protection

# 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 Actions Integration

# .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) }}
            }

๐Ÿ† Hacktoberfest 2025

We're participating in Hacktoberfest 2025! Join us in building the future of AI agent security.

๐ŸŽ Rewards & Recognition

  • ๐Ÿ’ฐ 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

๐Ÿš€ How to Participate

  1. Fork this repository
  2. Browse open issues labeled hacktoberfest
  3. Claim an issue by commenting "I'd like to work on this"
  4. Build your integration following our contribution guidelines
  5. Submit a pull request with your implementation
  6. Get paid via Chimoney when your PR is merged!

๐ŸŽฏ Priority Issues

View all Hacktoberfest issues โ†’

๐Ÿ“ˆ Key Insights from Issue Pickup Analysis

What Contributors Want:

  1. "Good First Issue" Label - 4/6 picked issues have this label
  2. Content Creation - Blog posts and tutorials are highly attractive
  3. Integration & Middleware - 5/6 issues are integration-related
  4. Automation Tools - n8n and Zapier appeal to no-code audience
  5. Financial Use Cases - Payment/AP2 bridge resonates strongly

Best Practices for New Issues:

  • 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

๐Ÿค Contributing

We love contributions! Whether you're fixing bugs, adding features, or creating new integrations, your work helps make APort better for everyone.

๐Ÿš€ Quick Contribution Guide

  1. Browse Issues: Check our open Hacktoberfest issues
  2. Use Templates: Copy scaffolding templates from /templates/ directory
  3. Follow Guidelines: See CONTRIBUTING.md for detailed instructions
  4. Get Rewarded: Earn $5-$40 USD per completed issue!

๐ŸŽฏ High-Impact Areas

  • Agent Framework Integrations (LangChain, CrewAI, n8n)
  • Platform Integrations (Zapier, GitHub, Discord)
  • Developer Experience (VS Code, CLI, Postman)
  • Content Creation (Tutorials, blog posts, videos)

๐Ÿ“‹ Integration Requirements

  • โœ… 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

๐ŸŽจ Code Standards

  • 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 โ†’


๐Ÿ“š Resources

๐Ÿ”— APort Resources

๐Ÿ› ๏ธ Development Resources

๐Ÿ’ฌ Community


๐Ÿ“Š Project Status

Metric Count Status
๐Ÿ”ง Integrations 15+ โœ… Active
๐Ÿ“ฆ SDKs 5+ โœ… Active
๐Ÿ› ๏ธ Tools 8+ โœ… Active
๐Ÿ‘ฅ Contributors 25+ ๐ŸŒŸ Growing
โญ Stars 100+ ๐Ÿš€ Rising

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ›ก๏ธ Secure your AI agents. Trust but verify.

GitHub Twitter LinkedIn Discord

Made with โค๏ธ by the APort community