How pipelab-org/pipelock works
Pipelock is an AI-agent firewall that mediates agent network and tool traffic, evaluates it against security policies, and records signed evidence of boundary decisions. Its primary workflow routes agent traffic through the proxy or MCP interface, applies inspection and enforcement, then emits receipts to the recorder for later replay and offline verification. The repository also documents containment, integrations, a public playground, and enterprise fleet and dashboard capabilities. Connections below are limited to README statements and relationships visible in the supplied source index or excerpts; unsampled subsystem links are omitted.
Main entry points: server.go Proxy runtime · pipeline_gates.go MCP pipeline · capture_writer.go Flight recorder · pipeline_decision.go Decision receipts
Components 22
Traffic mediation
- Pipelock CLI
cmd/pipelock/main.go - Proxy runtime
internal/cli/runtime/server.go - MCP pipeline
internal/mcp/pipeline_gates.go - Content scanner
internal/scanner/fragment_buffer.go - Deferred actions
internal/deferred/manager.go - Host containment
internal/cli/contain/run.go - Agent integrations
internal/cli/setup - Scan API
internal/scanapi/handler.go
Evidence and review
- Decision receipts
internal/mcp/pipeline_decision.go - Flight recorder
internal/cli/runtime/capture_writer.go - Capture replay
internal/capture/replay.go - Evidence viewer
internal/cli/evidence/evidence.go - Receipt verifier
cmd/pipelock-verifier/main.go
Enterprise operations
- Fleet control plane
enterprise/conductor/controlplane/handler.go - Fleet audit store
enterprise/fleet/sink/storage.go - Enterprise dashboard
enterprise/dashboard/handler.go - License service
enterprise/licenseservice/server.go
Playground
- Playground broker
internal/playground/broker/server.go - Live chat
internal/playground/livechat/server.go - Playground agent
cmd/pipelock-playground-llm-agent/main.go
Other components
- AI agent
- Playground visitor
Connections 19
- AI agent → Proxy runtime: routes traffic
- AI agent → MCP pipeline: uses wrapper
- Pipelock CLI → Proxy runtime: starts
- Proxy runtime → MCP pipeline: dispatches
internal/cli/runtime/server.go - MCP pipeline → Content scanner: scans content
internal/mcp/pipeline_gates.go - Proxy runtime → Deferred actions: manages holds
internal/cli/runtime/server.go - MCP pipeline → Decision receipts: emits decisions
internal/mcp/pipeline_decision.go - Proxy runtime → Flight recorder: records session
- AI agent → Host containment: runs contained
- Agent integrations → AI agent: configures routing
- Scan API → Content scanner: invokes scans
internal/scanapi/handler.go - Flight recorder → Capture replay: feeds replay
- Flight recorder → Evidence viewer: provides sessions
- Decision receipts → Receipt verifier: verified offline
- Fleet control plane → Fleet audit store: stores audit batches
enterprise/fleet/sink/storage.go - Playground visitor → Playground broker: requests session
- Playground broker → Live chat: proxies session API
- Playground visitor → Live chat: redeems invite
- Playground agent → Proxy runtime: sends via proxy
cmd/pipelock-playground-llm-agent/main.go