devin-outposts template runs a dispatcher in E2B. The dispatcher
watches one Devin outpost and creates a dedicated devin-outposts-worker
sandbox for each session.
Create the dispatcher and connect to its terminal with the E2B CLI:
Prerequisites
- an E2B API key
- a Devin Enterprise organization
- a Devin v3 service-user token beginning with
cog_
Set up the dispatcher
1
Launch the template
Run the SDK example or open the dashboard link above. Open the exact
setup URL printed by the sandbox. Its token works once and expires after 10
minutes. Treat the URL as a credential until it has been used: do not share
it or leave it in shared logs.
2
Connect Devin
Enter the primary service-user token and choose Check Devin account.
Select the organization and enter its full browser URL, including
/org/<organization-slug>, if it was not detected.3
Choose the outpost
Select an existing outpost or create one. Keep
devin-outposts-worker as
the worker template unless you have prepared a custom template or snapshot.4
Connect E2B
Enter the E2B API key that should create the worker sandboxes.
5
Start the dispatcher
Choose Save and start dispatcher. Wait until its status shows that it is
listening before sending a task.
Run a session
- Under Tasks, enter the task and choose Review task in Devin.
- In Devin, open Configuration → Virtual environment and select the configured outpost.
- Send the task.
- Return to Tasks in the dispatcher to follow the session. Use View in Devin to open the original conversation.
/mnt/repos
workspace. The dispatcher removes the worker after the session finishes.
Lifecycle
Do not pause the dispatcher while it needs to accept sessions. Devin queue traffic cannot wake it. Withlifecycle.autoResume (JavaScript) /
lifecycle.auto_resume (Python) enabled, opening its E2B URL resumes it manually.
Troubleshooting
The outpost is missing in Devin
The outpost is missing in Devin
Confirm that Devin is using the organization selected during setup and that
the primary service user has both required permissions.
The session is waiting for a machine
The session is waiting for a machine
Confirm that the dispatcher is listening and that the task was sent to the
same outpost.
Inspect the dispatcher
Inspect the dispatcher
Open its terminal and run: