CLI Reference
Complete reference for the Aegis Memory command-line interface.Installation
Configuration
aegis init
Top-level setup wizard with lightweight framework detection (LangChain/CrewAI) and config bootstrap.
aegis new
Generate starter boilerplate from templates.
aegis explore
Interactive memory browser from your terminal.
aegis config init
Interactive first-run setup.
aegis config show
Display current configuration.
aegis config set
Set a configuration value.
Server Status
aegis status
Check server health and connection.
0- Server healthy1- Server unhealthy2- Connection failed
aegis stats
Show namespace statistics.
Memory Operations
aegis add
Add a memory.
aegis query
Semantic search for memories.
aegis get
Get a single memory by ID.
aegis update
Update a memory’s content, metadata, and/or trust level. Changing content re-scans it
through the security pipeline and recomputes its embedding (and integrity hash, if
enabled). Metadata is merged, not replaced.
At least one of new content,
--metadata, or --trust-level must be provided.aegis delete
Delete a memory.
Voting
aegis vote
Vote on memory usefulness.
Playbook
aegis playbook
Query proven strategies and reflections.
Session Progress
aegis progress create
Create a new session.
aegis progress update
Update session progress.
aegis progress show
Show session details.
Feature Tracking
aegis features create
Create a feature.
aegis features verify
Mark feature as passing.
aegis features fail
Mark feature as failed.
Data Management
aegis export
Export memories to file.
aegis import
Import memories from file.
Maintenance
aegis prune
Archive stale memories via the temporal-decay sweep — soft-deprecates memories whose
relevance score falls below the threshold. This is manual, CLI-triggered pruning; OSS
has no hosted scheduled policy, so run it on your own schedule (e.g. a cron job).
Security Analysis
These commands are standalone and server-free — they run offline static analysis and a local scan, and need no running server or API key.aegis inspect
Inspect an agent project for unsafe memory flows. Writes results to aegis-out/
(including findings.sarif for GitHub code scanning). Suppress an accepted sink with an
inline # aegis: ignore comment.