Skip to main content

crewai-plimsoll

A CrewAI agent that writes and runs code needs a sandbox, and CrewAI no longer brings one. Its Code Interpreter tool was removed after CVE-2026-2275: in CERT/CC's words, "The CrewAI CodeInterpreter tool falls back to SandboxPython when it cannot reach Docker", which let an attacker who could steer the agent through a prompt injection run code outside the intended Docker isolation (CERT/CC VU#221883 (EXTERNAL · advisory ↗)). CrewAI's documentation now says "Use a dedicated sandbox service" (CrewAI docs (EXTERNAL · official docs ↗)).

This package is a CrewAI tool that runs an agent's code in plimsoll, a sandbox service you run yourself, and it has no fallback: if the sandbox is weaker than you asked for, nothing runs.

Install

pip install crewai-plimsoll

It needs a running plimsolld, the plimsoll daemon, reachable from the crew (getting started (EXTERNAL · source repo ↗)). CrewAI itself supports Python 3.10 to 3.13.

Use

from crewai import Agent
from crewai_plimsoll import Client, CodeExecutor, PlimsollCodeTool

executor = CodeExecutor(Client("https://plimsoll.internal:8746", token=TOKEN))
agent = Agent(
    role="Analyst",
    goal="Answer with numbers you computed",
    backstory="You check your arithmetic by running it.",
    tools=[PlimsollCodeTool(executor)],
)

The tool is named plimsoll_run_code. The agent passes it code (Python or JavaScript) and optional input files, and gets back whether the code ran (yes, no with the reason, or unknown), the output, the exit code, whether anything was cut short or timed out, the isolation tier the code ran behind, and the SHA-256 of the run's record.

What it does, and what it refuses to do

  • Every call runs in a fresh sandbox. Nothing a call writes or starts is there for the next one.
  • No fallback. CodeExecutor requires the kernel isolation tier by default (gVisor, a user-space kernel, or a virtual machine). Against a daemon that states less, it refuses before any code is sent, and the refusal says nothing ran. Lowering the floor is a choice you make in code: CodeExecutor(client, minimum_isolation="container").
  • A checked record of every run. Each answer carries a run record, the daemon's statement of what was sent, what came back and where it ran, and the client recomputes its digests before handing the result to the crew.
  • CrewAI's tool cache never answers for it. A cached answer would carry no checked record, so the tool makes the cache miss for its name. A cache handler of your own that overrides read is not covered: keep cache=False for such a crew.

What it is not

  • Not a hosted service. You run plimsolld on your own machine or cluster, with a provider you pick: docker under gVisor, an E2B or Docker Cloud microVM, a Kubernetes agent-sandbox pod, and others (isolation tiers (EXTERNAL · source repo ↗)).
  • Not attestation. A reported tier is the daemon's configuration and provider evidence plus a startup check, not hardware proof.

Versions

This package's version moves with plimsoll's releases, and each version requires the plimsoll-client release of the same number, which holds the tool's code (plimsoll_client.crewai). Client, CodeExecutor and PlimsollCodeTool here are plimsoll-client's own classes, gathered so a crew imports from one place.

Licensed under the Apache License 2.0. Source: plimsoll on GitHub (EXTERNAL · source repo ↗).

Metadata

Release files for crewai-plimsoll 0.27.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crewai-plimsoll 0.27.2
File Size Uploaded Provenance Actions
crewai_plimsoll-0.27.2.tar.gz 7.7 kB With provenance Details for crewai_plimsoll-0.27.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for crewai-plimsoll 0.27.2
File Interpreter ABI Platform Actions
crewai_plimsoll-0.27.2-py3-none-any.whl Python 3 none any Details for crewai_plimsoll-0.27.2-py3-none-any.whl

Total release size: 15.7 kB

Release files / crewai_plimsoll-0.27.2.tar.gz

Download URL crewai_plimsoll-0.27.2.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
de259c0ee9c51219ce22cd88c9dafa43e47c885cadde0de0375c33ecb07158c6
BLAKE2b-256 checksum
How to use checksums
2d2359be2a87c948121820f01f21eaf1ded9767cbed1ba643cead082cc58e228
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / crewai_plimsoll-0.27.2-py3-none-any.whl

Download URL crewai_plimsoll-0.27.2-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8259aaf5a8d0b85b3ce653098322cc987ec468b1344083b2e60d6780593739fe
BLAKE2b-256 checksum
How to use checksums
edb2b32140a65d4c3b5953b7a59b4924d98a7f252337e757ee89e921c51e5bc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for crewai-plimsoll 0.27.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for crewai_plimsoll-0.27.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page