Skip to content

Repository files navigation

TapPass Examples
Integration examples for AI agent governance

PyPI Docs License


Code examples showing how to integrate TapPass with popular AI frameworks, no-code platforms, and deployment environments.

TapPass sits between your AI agents and the LLM. Every call is scanned for PII, prompt injection, and policy violations, then classified, logged, and audited.

Quick start

# Install TapPass
pip install "tappass>=0.7.0,<0.8"

# Start the server + register your first agent
tappass quickstart

Examples

Frameworks (Python)

Example Framework What it shows
openai-basic/ OpenAI SDK Drop-in governance. Change base_url, done.
openai-streaming/ OpenAI SDK Streaming responses with full governance
crewai/ CrewAI Multi-agent crew with governed tools + LLM
langchain/ LangChain ReAct agent with governed tool execution
llamaindex/ LlamaIndex RAG pipeline with governed LLM
pydantic-ai/ Pydantic AI Type-safe agent with governed tools
anthropic/ Anthropic SDK Claude through TapPass governance
fastapi/ FastAPI Microservice with governed LLM as a dependency
http-only/ Any (httpx) Raw HTTP. No SDK needed.

No-code platforms

Example Platform What it shows
n8n/ n8n Govern AI nodes by changing the base URL
make/ Make (Integromat) HTTP module pointing at TapPass
zapier/ Zapier Custom API action through TapPass gateway

Zero-code (env vars only)

Example Tool What it shows
env-vars/ Any OpenAI/Anthropic tool Set 2 env vars. No code changes.

DevOps

Example Platform What it shows
docker/ Docker Compose TapPass + your agent in containers
kubernetes/ Kubernetes Sidecar pattern for governed agents

Pipeline config

Example What it shows
pipeline/ Pipeline YAML configuration and presets

How it works

Your Agent (any framework)
  |
  v
TapPass Gateway ── governance pipeline ──> LLM / Tool
  |
  Before               During              After
  ├─ PII detection     ├─ LLM/tool call    ├─ Output scanning
  ├─ Secret scanning   ├─ Permissions      ├─ Cost tracking
  ├─ Injection block   ├─ Human approval   └─ Audit trail
  └─ Classification    └─ Rate limiting

Requirements

  • Python 3.10+
  • pip install "tappass>=0.7.0,<0.8"
  • A running TapPass server (tappass up)

Links

License

Apache 2.0. See LICENSE.

About

Integration examples for TapPass AI agent governance. CrewAI, LangChain, LlamaIndex, n8n, FastAPI, Docker, Kubernetes.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages