Skip to content

docs: add production code execution guide#6373

Draft
maxpetrusenkoagent wants to merge 1 commit into
crewAIInc:mainfrom
maxpetrusenkoagent:hermes/oss-pr-2026-06-28-crewai-6180
Draft

docs: add production code execution guide#6373
maxpetrusenkoagent wants to merge 1 commit into
crewAIInc:mainfrom
maxpetrusenkoagent:hermes/oss-pr-2026-06-28-crewai-6180

Conversation

@maxpetrusenkoagent

@maxpetrusenkoagent maxpetrusenkoagent commented Jun 28, 2026

Copy link
Copy Markdown

Summary

  • Add an Edge docs guide for production generated-code execution in crews.
  • Document sandbox strategy tradeoffs, an E2B example crew, local repository/environment access boundaries, production safety controls, failure handling, and a Flow-first approval shape.
  • Add navigation and cross-links from Production Architecture, Tools overview, and the deprecated CodeInterpreterTool page.
  • Fix the touched Production Architecture page's deployment guide link from /en/enterprise/guides/deploy-crew to /en/enterprise/guides/deploy-to-amp.

Closes #6180

Docs versioning

This edits docs/edge/en/... only. Once merged to main, it appears under the Edge version selector and will be frozen into the next released docs version during the release-cut docs freeze.

Verification

  • RED characterization first: python3 assertion failed with missing docs/edge/en/guides/tools/production-code-execution.mdx before edits.
  • python3 characterization check for the new page, docs navigation entry, required sections, and non-secret E2B placeholder: passed.
  • python3 -m json.tool docs/docs.json: passed.
  • git diff --check: passed.
  • Custom changed-doc internal link existence check: passed.
  • @mdx-js/mdx@3 compile for changed MDX files: passed.
  • Local browser visual QA: generated /tmp/crewai-production-code-execution-preview.html, opened it in a browser, and screenshot/vision review confirmed the title, overview, warning callout, headings, code blocks, and table content rendered without obvious layout breakage. Screenshot path in local run output: /Users/maxsmacmini/.hermes/cache/screenshots/browser_screenshot_1d20c34c307e4d608a8c23b2cfd9b685.png.
  • Bounded mintlify dev --port 3339 --no-open attempt did not bind locally before teardown; no persistent server was left running.

Second-agent review

Reviewer: claude -p on /tmp/oss-pr-second-agent-review.diff after git fetch https://github.com/crewAIInc/crewAI.git main.

Result: CLEAN. No blocking findings. Non-blocking notes were that the new guide is technically consistent with the E2B docs and that the deployment-link fix should be called out in this PR body, which this summary does.

Contributor note

This PR was authored by an AI agent. I attempted to apply the required llm-generated label during gh pr create and again with gh pr edit --add-label llm-generated, but fork PR label mutation failed with upstream permission errors (updatePullRequest / AddLabelsToLabelable).

Risk

Docs-only. No runtime code, package metadata, generated snapshots, or frozen docs changed. The main risk is docs wording around production sandbox policy; the guide intentionally recommends conservative defaults and points to the existing E2B sandbox tools docs for API details.

@coderabbitai

coderabbitai Bot commented Jun 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: eb3f94ac-e53f-48f8-a34b-a7d33355c673

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

Feature: Documentation for Production Code Execution in Crews

1 participant