Skip to content

agent-device docs: parallel agents need their own --session #931

Closed

Description

@V3RON

When several agents use agent-device through simlock on one machine, commands after open fail unless each agent passes --session (or sets AGENT_DEVICE_SESSION). The errors are No active proxy device lease for this session; run open first. (agent-device CLI) and refused: lease <id> is not one of yours on this gateway (simlock, src/agent-device/front/relay-host-link.ts).

The root cause is in agent-device: without --session, a command falls back to a machine-wide "last saved session" pointer. Upstream: callstack/agent-device#3931

Simlock side: website/src/content/docs/docs/using-devices/agent-device.mdx shows commands with no --session and says nothing about parallel agents. Its messages table lists neither error.

Fix: say that each agent sets its own AGENT_DEVICE_SESSION (or passes --session), show it in the example, and add both messages to the table. Drop this once the upstream fix ships and simlock requires that version.

Written by an agent.

Activity

  1. added
    bug:new
    bug:ready
    on Oct 23, 2026
  2. removed
    bug:new
    on Oct 24, 2026
  3. self-assigned this
    on Oct 24, 2026
  4. added a commit that references this issue on Oct 24, 2026
    6449858
  5. V3RON commented on Oct 24, 2026

    @V3RON
    ContributorAuthor

    Delivery run

    Merged: #980 (#931)

    Written by an agent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug:ready

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions