Skip to content

feat: agent harnesses for claude code, codex and computer use - #97

Merged
abhishekgahlot2 merged 1 commit into
mainfrom
feat/agents
Oct 18, 2026
Merged

abhishekgahlot2 merged 1 commit into
mainfrom
feat/agents

Conversation

@abhishekgahlot2

@abhishekgahlot2 abhishekgahlot2 commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor
  • deepgym.agents: ClaudeCodeAgent, CodexAgent (CLI inside the sandbox as the unprivileged agent), AnthropicComputerAgent, OpenAIComputerAgent (provider computer-use loops over Session.step).
  • Shared turn, wall-time and USD budgets with usage/cost provenance; one cli action per CLI run with nested events, recorded in traces (JSONL, ATIF, Parquet).
  • CLI egress through a root-owned CONNECT proxy limited to the provider host, enabled per environment with cli_provider_egress; the agent stays in its loopback-only namespace and local app traffic bypasses the proxy. PID-namespace containment so every agent process stops before grading.
  • MultiTurnEnvironment.root_service_start for images whose services start as root (rejected for inline API specs, as is cli_provider_egress).
  • Pinned CLI versions in one place (agents/versions.py, cli_install_command()), checked inside the sandbox before launch.

Testing: full suite 2829 passed; the 9 failures also fail on main. Live on Daytona: computer-use agent on a desktop snapshot (iTop) passed before and after the containment change; Claude Code CLI on the same app passed (score 1.0, 12 s). Codex CLI live run pending.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@abhishekgahlot2
abhishekgahlot2 force-pushed the feat/agents branch 3 times, most recently from 61b4892 to 664a50d Compare October 18, 2026 08:40
@abhishekgahlot2
abhishekgahlot2 merged commit 0178623 into main Oct 18, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants