Agent Slugs Serve as the Critical Link Between APC Portable Context and APX Runtime
In the APC/APX framework, an 'agent slug' is a short, stable identifier that connects the portable project context layer (APC) with the local runtime layer (APX). APC stores structured agent definitions in files like .apc/agents/reviewer.md, while APX uses the same slug to route CLI commands and store runtime data under per-agent filesystem paths. Keeping the slug stable ensures session history, memory, and command routing remain consistent even when an agent's model, description, or skills are updated. Unstable or implementation-specific slugs — such as 'smart-reviewer-v2' or 'claude-helper' — can disrupt continuity and make agent definitions feel disposable rather than durable. Developers are advised to choose slugs that reflect a role's long-term responsibility, following principles similar to naming a stable API endpoint.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in