[Feature] Let slow session start-up take longer than 30 seconds
Problem or use case
Context: we use Omnigent programmatically to build custom multi-agent workflows, with some agents running in containers.
Creating a session waits at most 30 seconds for the agent to start (server/routes/sessions/routes_core.py, timeout=30.0). Some real set-up takes longer than that:
- creating a container sandbox;
- pulling an image;
- starting the app the agent will test;
- starting a harness on a busy machine.
When set-up goes over 30 seconds, the whole session fails, even though nothing was actually wrong. Our workaround is to move slow set-up out of the launch step, which means the agent sometimes starts before its environment is ready.
Why it matters: anyone with a slower environment (containers, cold starts, busy machines) gets "session create timed out" errors that aren't real failures.
Observed on: Omnigent 0.14.0 on macOS 15 (Docker Sandboxes); please re-check on the latest release.
Proposed solution
In short: make the launch timeout configurable, or let session creation return straight away and report "ready" or "failed" later.
- Option A: a timeout per agent or harness, e.g.
launch: {timeout_seconds: 120}. - Option B: session creation returns immediately, and events report the result later:
launch.started, thenlaunch.confirmedorlaunch.failed(see the session-outcome request). Clients wait for the event instead of the HTTP call.
Alternatives considered
Doing the slow set-up inside the agent's first turn. It hides set-up failures and mixes set-up time with real work.
Harness
Codex, Pi, Cursor, Other
Platform or device
Not platform-specific
Harness mode
SDK, Native
Expected reach
Some users
Authentication type
Not authentication-related
Source: omnigent-ai/omnigent