Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Claude Code in Modal Demo

Demonstrates running Claude Code inside a Modal container. Claude Code adds a checkout API endpoint to a simple pottery shop Express app — entirely autonomously in the cloud.

Setup

  1. Install Modal: pip install modal
  2. Authenticate: modal setup
  3. Create a Modal secret named anthropic-api-key with your Anthropic API key:
    modal secret create anthropic-api-key ANTHROPIC_API_KEY="sk-ant-..."

Run

modal run run_claude_in_modal.py

This builds a container with Node.js and Claude Code, copies in the pottery shop app, and asks Claude Code to add a POST /api/checkout endpoint. The output shows Claude's work and the resulting git diff.

What's inside

  • pottery-shop/ — A minimal Express API with product listings
  • run_claude_in_modal.py — Modal script that builds the image and runs Claude Code

About

Demo: running Claude Code autonomously inside a Modal container

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages