Skip to content
Status

CLI

context

speakeasy agent context

Browse agent context documentation

Browse the embedded agent context filesystem. Provides AI agents with structured access to Speakeasy documentation.

speakeasy agent context [path] [flags]
-A, --after int Lines of context after grep matches (overrides -C for after)
-B, --before int Lines of context before grep matches (overrides -C for before)
-C, --context int Lines of context around grep matches (default 2)
-g, --grep string Search content for a literal string
-h, --help help for context
--json Output in JSON format
-l, --list List matching file paths only (with --grep), or list all doc paths (without --grep)
-e, --regex Treat --grep pattern as a regular expression
--logLevel string the log level (available options: [info, warn, error]) (default "info")
  • speakeasy agent - Docs & guided workflows for AI coding agents (start here: speakeasy agent context)