Files
reverse-skills-max/our-skills/devin-architecture-reverse/SKILL.md

2.5 KiB

name, description
name description
devin-architecture-reverse Devin AI agent architecture reverse engineering — binary structure, permission modes, hooks, slash commands, OMP mapping

Devin Architecture — Reverse Engineering Notes

Binary Location

C:/Users/User/AppData/Local/Programs/Devin/ — Electron/VSCode fork with Windsurf/Codeium extension.

Key Components

Devin.exe (Electron, 216MB)
└── resources/app/extensions/windsurf/    ← Codeium agent extension
    └── devin/
        ├── bin/devin.exe (151MB)          ← Go/Rust agent binary
        └── share/devin/docs/              ← Documentation
            ├── essential-commands.mdx     ← 5 permission modes, 30+ slash commands
            ├── sandbox.mdx                ← OS-level isolation (bubblewrap)
            ├── adaptive.mdx               ← Auto model routing
            ├── handoff.mdx                ← Transfer to cloud Devin
            └── acp/                       ← Agent Communication Protocol

Permission Modes

  1. Normal — auto-approves read-only tools, asks for write/execute
  2. Accept Edits — auto-approves file edits, prompts for shell
  3. Smart — fast model decides safety of each action
  4. Bypass (YOLO) — auto-approves everything
  5. Autonomous — requires --sandbox, OS-level isolation

Slash Commands

/plan, /ask, /mode, /model, /loop, /compact, /handoff, /resume, /workspace, /hooks, /clear, /exit, /ls, /rm-session

Hook System (8 event types)

SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, PermissionRequest, PostCompaction, SessionEnd, Stop

OMP Equivalent

Devin OMP
Bypass mode approvalMode: yolo
/plan plan: deepseek-reasoner:xhigh
/ask advisor: deepseek-v4-pro:max
/loop verification-loop skill
Adaptive routing modelFallback + usageAwareFallback
Sandbox task.isolation: projfs
Sessions checkpoint + remember skill
/compact compaction.autoContinue
MCP 20+ MCP servers
30 workers maxConcurrency: 30
Hooks extensions (6 .ts files)

Devin Suite — OMP Implementation

Devin Suite lives at C:/Users/User/.omp/agent/tools/devin_suite/ and provides:

  • FastAPI server with planning, search, agents, sandbox, WebSocket
  • 5 permission modes with per-agent state
  • 8-event hook system with registry
  • Slash command parser and handlers
  • Dashboard with 4 tabs (Agents, Plans, Search, Sandbox)
  • OMP extension integration