aep inspect gives you a live view of which packs are influencing agent behavior, how confident the agent is in each one, how often they have been used, and how they have evolved over time. Use it to understand what the agent is working from — and to decide what to change.
When to use inspect
- Before starting a session, to verify the right packs are loaded
- After a task, to check whether metrics updated correctly
- When behavior feels off, to surface unexpected active constraints
- Before promoting, to identify which packs are strong candidates
Example user phrases
What the inspect flow does
List active packs
The agent lists each currently active pack with its core identity fields:
| Field | What it shows |
|---|---|
id | Unique pack identifier |
scope | task, project, or user |
version | "0.1" or "1.0-exp" |
title | Human-readable pack name |
applies_to summary | Languages, frameworks, paths, and domains this pack targets |
strength | Pack-level confidence scalar (0–1) |
Show metrics
For each active pack, the agent reports its usage metrics:
High
| Metric | Meaning |
|---|---|
times_applied | How many times this pack has been actively selected during aep apply |
last_used_at | Timestamp of the most recent application |
avg_turns_saved | Rough estimate of back-and-forth messages saved per use (optional) |
times_applied combined with a recent last_used_at indicates a pack that is well-established and still relevant — a strong promotion candidate.Surface active constraints, preferences, and success checks
The agent lists the specific rules currently in force, organized by type:
- Constraints — hard rules the agent must respect
- Preferences — softer style and approach choices
- Success checks — verifiable conditions to confirm task completion
Show recent history
For each active pack, the agent surfaces the most recent Valid event types include
history entries so you can see how the pack has evolved:created, updated, promoted, and merged.Highlight merge suggestions
If any active pack has This prompts you to decide whether to consolidate the packs.
merge_suggestions pointing to other packs (active or not), the agent surfaces them:Offer follow-up actions
After presenting the full picture, the agent asks whether you want to take any follow-up action:
- Disable a pack — temporarily remove it from the active set for this session
- Promote or demote a constraint — move a specific rule up or down in scope
- Merge packs — act on a
merge_suggestionsentry - Archive a pack — retire a pack that is no longer useful
Sample inspect output
Related pages
aep apply
Load and rank packs before starting a task
aep promote
Elevate proven patterns to a broader scope
Schema reference
Full field definitions including metrics and history
Prompt patterns
Example user phrases for all four commands