Back to prompt library
Build Serverless Agent Container with Modal
Linked challenge: Serverless Crypto Sanctions Screening Pipeline with Claude Agents SDK and Modal
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Define a Modal app using `@app.function()`. Import `claude-agent-sdk` and write an endpoint `screen_transaction` that initializes the agent with access to a local sanction blocklist function.