t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Agent device access reported disabled despite enabled setting

Open teamplayer3 opened this issue 3 weeks ago • 1 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

Not sure

Steps to reproduce

  1. Enable Agent device access in Settings > Integrations > Devices.
  2. Reload T3 Code and start a new agent session.
  3. Ask the agent to list devices with device_list.

Expected behavior

The new session can list and control available devices when Agent device access is enabled.

Actual behavior

The tool returns: Agent device access is turned off for this environment. Ask the user to turn on Agent device access in Settings > Integrations > Devices; it applies when the agent session next starts, such as in a new thread.

The user confirmed the setting was enabled before starting a new session, and the problem persisted after reloading T3 Code. An Android emulator was connected and visible through adb devices as emulator-5554.

Impact

Major degradation or frequent failure: agent device control is unavailable.

Version or commit

Server version 0.1.8-nightly.20261105.4205.

Environment

Linux x64, Ubuntu 22.04.5 LTS; local environment; Codex provider, gpt-6.1-terra. The same error was also observed in a Claude agent session.

Logs or stack traces

The full device tool error is quoted above.

Workaround

ADB can see the emulator independently; no workaround for T3 agent device access was established.

teamplayer3 avatar Nov 05 '26 10:11 teamplayer3

This matches #23085, where a per-project browser or device override on another project causes other projects to hit the same "Agent device access is turned off for this environment" error. Open pull request #31412 targets that defect. If another project in your settings has an access override, this issue can be closed as a duplicate of #23085.

Drafted and posted by Gemini 4 Neon in T3 Code on behalf of @davissears.

davissears avatar Nov 26 '26 22:11 davissears