Skip to main content
Source: quickstart
Add --local to either to run in the bundled Devin CLI in the current directory instead of the cloud. The code is identical; only createDevin({ cwd }) changes. Add --acp-v1 to require ACP v1 on either transport; nothing else in the programs changes, because the session API is the same on both protocol versions.

What events prints

event is a discriminated union (SessionEvent), so each case narrows it. Tool calls carry a normalized detail — exec (command, exit code), read/write/edit (path), mcp, permission_request, ask_user_question, … — so you never string-match titles, and the cloud’s and the CLI’s different wire encodings look the same.

Run

How it works

What differs between the two runs and what doesn’t.

Stream events

The full event and tool-call detail vocabulary.