pkg/

directory
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: Apache-2.0

Directories

Path Synopsis
Package audit — BufferedAsyncLogger.
Package audit — BufferedAsyncLogger.
Package depaudit is AgentGuard's dependency safety auditor.
Package depaudit is AgentGuard's dependency safety auditor.
Package deprecation is the AgentGuard helper for flagging features that are scheduled for removal.
Package deprecation is the AgentGuard helper for flagging features that are scheduled for removal.
internal
gateclient
Package gateclient is the shared /v1/check client substrate for the LLM API Proxy (pkg/llmproxy) and the MCP Gateway (pkg/mcpgw).
Package gateclient is the shared /v1/check client substrate for the LLM API Proxy (pkg/llmproxy) and the MCP Gateway (pkg/mcpgw).
Package llmproxy implements the AgentGuard LLM API Proxy: an HTTP server that speaks OpenAI Chat Completions and Anthropic Messages wire formats, forwards requests to the real upstreams, and gates any tool calls the model emits through the central AgentGuard policy engine.
Package llmproxy implements the AgentGuard LLM API Proxy: an HTTP server that speaks OpenAI Chat Completions and Anthropic Messages wire formats, forwards requests to the real upstreams, and gates any tool calls the model emits through the central AgentGuard policy engine.
Package mcpgw — gateway-level audit + SSE wiring stubs.
Package mcpgw — gateway-level audit + SSE wiring stubs.
Package metrics provides a lightweight in-process metrics registry with Prometheus text-format output.
Package metrics provides a lightweight in-process metrics registry with Prometheus text-format output.
Package migrate coordinates on-disk schema migrations for AgentGuard.
Package migrate coordinates on-disk schema migrations for AgentGuard.
v040_to_v041
Package v040_to_v041 adds the schema-v2 `_meta` header to a pre-existing v0.4.0 audit log.
Package v040_to_v041 adds the schema-v2 `_meta` header to a pre-existing v0.4.0 audit log.
Package persist wires AgentGuard's in-memory fast-path state to a durable store.Store using the write-behind dual-tier model (docs/v0.6-ARCHITECTURE- PLAN.md §2.3–2.4).
Package persist wires AgentGuard's in-memory fast-path state to a durable store.Store using the write-behind dual-tier model (docs/v0.6-ARCHITECTURE- PLAN.md §2.3–2.4).
schema/v1
Package v1 documents and re-exports the v1 wire-protocol types for the AgentGuard /v1/check endpoint.
Package v1 documents and re-exports the v1 wire-protocol types for the AgentGuard /v1/check endpoint.
Package store is AgentGuard's durable, multi-tenant persistence tier — the "cold path" behind the in-memory fast path described in docs/v0.6-ARCHITECTURE-PLAN.md (§2.3 write-behind dual-tier).
Package store is AgentGuard's durable, multi-tenant persistence tier — the "cold path" behind the in-memory fast path described in docs/v0.6-ARCHITECTURE-PLAN.md (§2.3 write-behind dual-tier).

Jump to

Keyboard shortcuts

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