Skip to main content

Agent Integrations overview

Engram supports two integration layers:

  • Skill files — generated instructions for agents that read project context.
  • Slash adapters — generated /engram command prompts for agents that support project slash commands or Agent Skills.
  • MCP-style tools — a JSON-lines wrapper for agents that can register external tool processes.
  • Agent hooks — opt-in host hooks that inject routed Engram context at session start and later task-change turns.

Quick start

engram inject
engram link all

engram link all installs the public target set and reports deterministic SKIPPED reasons for partial hosts across skillset instruction files, MCP config, slash adapters, and agent hooks in one unified install.

Target categories

CategoryTargetsBehavior
Runtime-firstcodex, claude, cursor, geminiShort bootstrap instructions plus full Agent Skills and MCP config
Hook-capablecodex, claude, gemini, opencode, cursor, windsurf/cascadeAgent hooks with host-specific event schemas
Compact/manual fallbackagents-md, copilot, clineFull compact protocol; no reliable runtime context injection in v1

Supported targets

TargetFileMain use
codexAGENTS.md, .agents/skills/engram/SKILL.mdOpenAI Codex project instructions and Agent Skill
agents-mdAGENTS.mdGeneric fallback for unlisted AGENTS.md-compatible agents
copilot.github/copilot-instructions.md; global: ~/.copilot/copilot-instructions.mdGitHub Copilot repository and user instructions
claudeCLAUDE.mdClaude Code project guidance
cursor.cursor/rules/engram.mdc; global: ~/.cursor/plugins/local/engram/Cursor project rules and local plugin
geminiGEMINI.md; global: ~/.gemini/GEMINI.md, ~/.gemini/skills/engram/SKILL.mdGemini CLI context, including Antigravity Gemini-compatible surfaces
cline.clinerulesCline-style workspace rules
windsurf.windsurf/rules/engram.md; global: ~/.codeium/windsurf/memories/global_rules.mdWindsurf workspace rules and global rules/MCP
opencodeAGENTS.md, .opencode/engram.md, .opencode/skills/engram/SKILL.md, opencode.jsonOpenCode rules, Agent Skill, MCP tools, custom commands, plugin hooks
mcp.mcp.json; global: Claude and Gemini MCP config filesMCP-style JSON-lines wrapper registration
slash.claude/commands/engram.md, .cursor/commands/engram.md, .gemini/commands/engram.toml, .opencode/commands/engram.mdNative /engram slash adapters

Aliases: codex installs the agents-md adapter plus the generic Agent Skill file, open-code maps to opencode, and cascade maps to windsurf. The old antigravity and antigravity-cli targets are hidden compatibility aliases for now.

Hook capability matrix

HostHook install in v1Events
codexYesSessionStart, UserPromptSubmit
claudeYesSessionStart, UserPromptSubmit
geminiYesSessionStart, BeforeAgent
cursorYessessionStart
windsurf / cascadeYespre_user_prompt
opencodeSupported via local pluginchat.message, experimental.chat.system.transform
copilotSkippedN/A
clineSkippedN/A

Next steps