[checkpoint] Continue toolsandbox_agent sessions
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start with responses_api_agents/toolsandbox_agent/app.py, then read parent issues #3220 and #3024 and dependency #3248 for the surrounding checkpoint boundaries. Done means the listed restore, retry, exactly-once, failure, and publication rules hold for every supported boundary without repeating completed work.
Written by the indexing model from the issue text.
Description
Parent
Child of #3220 and #3024. Depends on #3248.
State owner
responses_api_agents/toolsandbox_agent/app.py owns ToolSandbox env_id, step/agent state, history, messages, output, usage, and model cookies.
Adapter requirements
Use the shared whitebox participant and versioned boundary records. Persist output items, usage, cookies, last model-call identity, resource revisions, remaining budgets, and typed agent-specific state. Commit only after all effects of an operation are durable. On attempt N+1, skip reseeding and do not repeat completed model, tool, verifier, or judge work.
Acceptance criteria
- Restore rebinds the same logical ToolSandbox environment and resumes at the next action without repeating close or step.
- Prepare/commit/process replacement/restore/resume succeeds at every supported boundary.
- Saved model responses, usage, cookies, and pending actions are applied exactly once.
- Checkpoint refusal retries without advancing history or the operation cursor.
- Resource revision mismatch, stale attempt, duplicate restore, and corrupt state fail closed.
- Completed-unacknowledged results cannot also be published as resumable work.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 349
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 318
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA-NeMo/Gym
-
community-request waiting-on-maintainers
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
NVIDIA-NeMo/Gym#3500 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 74/100
NVIDIA-NeMo/Gym#3328 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
NVIDIA-NeMo/Gym#3312 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
NVIDIA-NeMo/Gym#2994 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
NVIDIA-NeMo/Gym#2937 · 1 comment ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100