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.
CodeExecutorrequires thekernelisolation 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
readis not covered: keepcache=Falsefor such a crew.
What it is not
- Not a hosted service. You run
plimsolldon 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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| crewai_plimsoll-0.27.1.tar.gz | 7.7 kB | With provenance | Details for crewai_plimsoll-0.27.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crewai_plimsoll-0.27.1-py3-none-any.whl | Python 3 | none | any | Details for crewai_plimsoll-0.27.1-py3-none-any.whl |
Total release size: 15.7 kB
Release files / crewai_plimsoll-0.27.1.tar.gz
| Download URL | crewai_plimsoll-0.27.1.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5e9257d962e0a13bb6bd9dd22ed7af6a684d72814ee85edaf145afd68774630
|
|
BLAKE2b-256 checksum How to use checksums |
8d5ce8528951c9479983bdd731ae0657bd39f81bfca81644f0a14c75222a89d9
|
| 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 15, 2026.
Transparency logRelease files / crewai_plimsoll-0.27.1-py3-none-any.whl
| Download URL | crewai_plimsoll-0.27.1-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9649f71f2b947915b7f3246c4b01cb0f271f991f57afdd1ab4882a1cf68280bb
|
|
BLAKE2b-256 checksum How to use checksums |
554020346c2b5641b965c7068f7283973da70274c28586f5cd05e3b6a78c2083
|
| 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 15, 2026.
Transparency logSecurity for crewai-plimsoll 0.27.1
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.
Attestation for crewai_plimsoll-0.27.1.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 15, 2026.
Transparency logA 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.