anthropics / anthropics/sandbox-runtime

How to resume a sandbox-runtime instance?

Open
#33 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5.2k
Forks
439
Avg merge
2d 9m
Merged PRs (30d)
13

Description

Hi there,

I’m evaluating the Claude Agent SDK to build a web app where I need to maintain separate conversations for different users.

The sandbox-runtime would be very beneficial in this context; however, I’d like to be able to close and later reopen a sandbox-runtime to avoid keeping too many sandboxes open when they’re no longer required.

Resuming a sandbox requires restoring the previous conversation/state, and I’d like to understand how to implement this.

Claude Web does exactly that — it runs an instance of Claude per user and allows me to resume sessions later on. So, apparently, Anthropic has found a way to persist and resume conversations using the file system or another approach, and I’m assuming this should be possible with the sandbox-runtime as well.

Question:
Is there an API or recommended strategy that I’m missing?

Thanks,
Dan

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.