-
Notifications
You must be signed in to change notification settings - Fork 253
Add example running a Claude Code coding agent in a Sandbox #1352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🚀 The docs preview is ready! Check it out here: https://modal-labs-examples--frontend-preview-e7f5bc1.modal.run |
lgtm! Looking at the failing tests: I would guess that the |
Yes exactly it's new, and sounds good! |
🚀 The docs preview is ready! Check it out here: https://modal-labs-examples--frontend-preview-d0c7119.modal.run |
13_sandboxes/sandbox_agent.py
Outdated
"PATH": "/root/.local/bin:$PATH", | ||
"USE_BUILTIN_RIPGREP": "0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a comment about why these are necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, also good catch, USE_BUILTIN_RIPGREP
is only needed on alpine. Pushed a fix now.
🚀 The docs preview is ready! Check it out here: https://modal-labs-examples--frontend-preview-9c94562.modal.run |
Type of Change
/docs/examples
)Monitoring Checklist
lambda-test: false
is provided in the example frontmatter and I have gotten approval from a maintainermodal run
, or an alternativecmd
is provided in the example frontmatter (e.g.cmd: ["modal", "serve"]
)cmd
with no arguments, or theargs
are provided in the example frontmatter (e.g.args: ["--prompt", "Formula for room temperature superconductor:"]
fastapi
to be installed locally (e.g. does not importrequests
ortorch
in the global scope or other code executed locally)Documentation Site Checklist
Content
modal-cdn.com
Build Stability
v1
, not a dynamic tag likelatest
python_version
for the base image, if it is used~=x.y.z
or==x.y
, or we expect this example to work across major versions of the dependency and are committed to maintenance across those versionsversion < 1
are pinned to patch version,==0.y.z
Outside Contributors
You're great! Thanks for your contribution.