Skip to main content

Module agents

Module agents 

Source
Expand description

Built-in registry of agent toolchains.

Maps a small, hardcoded set of agent identifiers to the file patterns each agent uses to store its rules inside a repository. The set is intentionally not user-extensible — the contract is between repograph and the agent toolchain ecosystem, not between repograph and each user’s preferences.

Adding a new agent is a one-line enum extension plus its file_patterns arm. Removing one requires a deprecation period: one minor release where the ID is accepted with a warn! and routed to a no-op pattern set.

Enums§

AgentId
One of the agent toolchains repograph knows how to find rules for.