Skip to content

docs: add Modal Backend page to Agent Canvas backends#569

Merged
csmith49 merged 2 commits into
mainfrom
modal-backend-docs
Jun 15, 2026
Merged

docs: add Modal Backend page to Agent Canvas backends#569
csmith49 merged 2 commits into
mainfrom
modal-backend-docs

Conversation

@csmith49

Copy link
Copy Markdown
Contributor

Summary

Add documentation for deploying the OpenHands agent server on Modal as a remote backend for Agent Canvas.

Changes

New page

  • openhands/usage/agent-canvas/backend-setup/modal.mdx — Full setup guide covering:
    • Modal CLI installation and secret creation
    • Complete deploy.py script with inline comments
    • Connecting Agent Canvas to the deployed backend
    • LLM configuration through the Canvas UI
    • Cost breakdown, limitations, and security guidance
    • API key rotation and teardown procedures

Updated pages

  • docs.json — Added modal to the Backends navigation group
  • openhands/usage/agent-canvas/backends.mdx — Added a Modal row to the Recommended Setups table

Notes

  • Follows the existing backend doc conventions (consistent with docker.mdx, vm.mdx, cloud.mdx)
  • Uses Mintlify components (<Warning>) and absolute internal links per the doc style guide

This PR was created by an AI agent (OpenHands) on behalf of the user.

Add documentation for deploying the OpenHands agent server on Modal
as a remote backend for Agent Canvas. Includes:
- Full deploy.py script and step-by-step setup instructions
- Modal secret creation, CLI install, and Canvas connection
- Cost breakdown, limitations, and security guidance
- API key rotation and teardown procedures

Also adds the Modal entry to the Backends navigation group in
docs.json and the recommended setups table in backends.mdx.

Co-authored-by: openhands <openhands@all-hands.dev>
@csmith49 csmith49 requested a review from all-hands-bot June 12, 2026 19:38

all-hands-bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Review complete.

This review was performed through OpenHands Cloud Automation. You can log in and view the conversation here.

@all-hands-bot all-hands-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review: Modal Backend Documentation

🟢 Good taste — Well-structured, comprehensive documentation.

Summary

This PR adds a new backend option (Modal) to the Agent Canvas documentation. The changes include:

  • New with 278 lines of detailed setup instructions
  • Navigation integration via
  • Backend comparison table entry in

Analysis

The new documentation is thorough and follows the existing patterns in the repo:

Strengths

  • Clear step-by-step instructions with numbered sections
  • Appropriate security warnings (API key handling, filesystem access)
  • Realistic cost breakdown table
  • Honest "Limitations" section covering Docker-in-Docker, single-user, and public URL concerns
  • Complete teardown instructions
  • Related guides linking to other backend options

Python deployment script quality

  • Well-commented with inline documentation
  • Uses correctly for background process
  • Environment variable () for tools directory is reasonable
  • Configuration constants at the top for easy customization

Navigation integration

  • Added to navigation structure correctly
  • Added to backends comparison table with appropriate context

Minor Observations

These are non-blocking suggestions:

🟡 Headless setup: The command opens a browser. For users on headless servers, is an alternative. Worth a note for completeness.

🟡 Version pinned: The image tag is hardcoded. A note like "use the latest released version from releases" would help users find the current version.

Risk Assessment

  • Overall PR: ⚠️ Risk Assessment: 🟢 LOW
  • This is documentation-only with no code that could introduce runtime bugs
  • Security notes are appropriately prominent
  • No breaking changes to existing content

Verdict

Worth merging — Documentation is complete, accurate, and follows established patterns.


This review was generated by an AI agent (OpenHands) on behalf of the user through OpenHands Automation. View conversation

@mintlify

mintlify Bot commented Jun 12, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
all-hands-ai 🟢 Ready View Preview Jun 12, 2026, 7:46 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@csmith49 csmith49 merged commit 1bdedc1 into main Jun 15, 2026
5 checks passed
@csmith49 csmith49 deleted the modal-backend-docs branch June 15, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants