internal/

directory
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2026 License: GPL-3.0

Directories

Path Synopsis
Package audit persists sessions and tool calls in a local SQLite database.
Package audit persists sessions and tool calls in a local SQLite database.
Package canary plants fake credentials and watches for them leaving.
Package canary plants fake credentials and watches for them leaving.
Package cli builds the agentgate command tree.
Package cli builds the agentgate command tree.
Package config loads and validates agentgate.yaml.
Package config loads and validates agentgate.yaml.
Command demogif renders a transcript from docs/demo into a GIF, or into the social preview image with -card.
Command demogif renders a transcript from docs/demo into a GIF, or into the social preview image with -card.
Command gendocs regenerates the generated blocks in README.md and docs/.
Command gendocs regenerates the generated blocks in README.md and docs/.
Package install puts agentgate between an MCP host and the servers it is configured with, and takes it out again.
Package install puts agentgate between an MCP host and the servers it is configured with, and takes it out again.
Package killswitch is the freeze: one file whose existence means "deny everything".
Package killswitch is the freeze: one file whose existence means "deny everything".
Package mock turns a recorded session into an MCP server that answers with what the real servers answered at the time.
Package mock turns a recorded session into an MCP server that answers with what the real servers answered at the time.
Package packs holds the policy packs that ship with agentgate: named, reviewed rule sets for the servers people actually run — shells, git, GitHub, databases, filesystems — that a policy switches on by name.
Package packs holds the policy packs that ship with agentgate: named, reviewed rule sets for the servers people actually run — shells, git, GitHub, databases, filesystems — that a policy switches on by name.
Package pinning keeps MCP servers from changing their tools behind the user's back.
Package pinning keeps MCP servers from changing their tools behind the user's back.
Package policy contains the agentgate rule model and its evaluator.
Package policy contains the agentgate rule model and its evaluator.
Package policytest runs policy tests: calls, the session they are made in, and the decisions they have to get.
Package policytest runs policy tests: calls, the session they are made in, and the decisions they have to get.
Package proxy is the MCP passthrough: it terminates the connection from the host (downstream), keeps connections to the real MCP servers (upstream), and puts the policy evaluator and the audit log in between.
Package proxy is the MCP passthrough: it terminates the connection from the host (downstream), keeps connections to the real MCP servers (upstream), and puts the policy evaluator and the audit log in between.
Package replay re-runs a recorded session: either against the current policy only (a dry run, which answers "what would this policy have done yesterday?") or against the current upstreams as well.
Package replay re-runs a recorded session: either against the current policy only (a dry run, which answers "what would this policy have done yesterday?") or against the current upstreams as well.
Package telemetry exports every tool call as an OpenTelemetry span, over OTLP/HTTP with JSON encoding, so agentgate's decisions show up next to the rest of your traces in Jaeger, Tempo, Honeycomb, Datadog or anything else that speaks OTLP.
Package telemetry exports every tool call as an OpenTelemetry span, over OTLP/HTTP with JSON encoding, so agentgate's decisions show up next to the rest of your traces in Jaeger, Tempo, Honeycomb, Datadog or anything else that speaks OTLP.
Package testserver is a small but real MCP server.
Package testserver is a small but real MCP server.
Package ui serves the agentgate web interface: a read-only view of the audit database, the loaded policy, and the approvals inbox.
Package ui serves the agentgate web interface: a read-only view of the audit database, the loaded policy, and the approvals inbox.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL