Skip to main content

Plugin Manifest

Plugin Structure

agent.yaml Plugin Config

Config values can reference environment variables using ${VAR_NAME} syntax — API keys are never hardcoded.

Plugin Management CLI

Programmatic Plugin (SDK)

What Plugins Can Provide

  • Tools — Expose new typed tools to the agent
  • Skills — Add reusable skill definitions
  • System Prompt Injection — Append context via prompt.md
  • Lifecycle Hooks — React to tool use and session events
  • Memory Layers — Add scoped memory files

Tools

Built-in and declarative tools the agent uses to act

Skills

Reusable task modules the agent learns and crystallizes over time

Hooks

Intercept, block, or modify agent behavior at every stage

SDK Reference

Embed GitAgent programmatically and register plugins at runtime