Skip to main content

crewAI-capsule

CrewAI integration for Capsule — crewai-capsule gives CrewAI agents the ability to safely execute tasks in an isolated WebAssembly sandbox. No configuration or network request is necessary to execute the sandboxed tasks.

Installation

pip install crewai-capsule

Usage

The package provides tools for executing code inside an isolated environment.

import asyncio
from crewai_capsule import CapsulePythonREPLTool, CapsuleJSREPLTool

# Python Example
python_tool = CapsulePythonREPLTool()
result = python_tool.run("1 + 1")
print(result) # "2"

# JavaScript Example
js_tool = CapsuleJSREPLTool()
result = asyncio.run(js_tool.arun("1 + 2"))
print(result) # "3"

More information

Visit Capsule repository for more information.

License

MIT License

Metadata

Release files for crewai-capsule 0.1.0

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-capsule 0.1.0
File Size Uploaded Provenance
crewai_capsule-0.1.0.tar.gz 20.4 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for crewai-capsule 0.1.0
File Interpreter ABI Platform
crewai_capsule-0.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 40.9 MB

Release files / crewai_capsule-0.1.0.tar.gz

Download URL crewai_capsule-0.1.0.tar.gz
Size 20.4 MB
Tags Source
SHA-256 checksum
How to use checksums
a64ade8e07a9cbd4be91bc5bc7ae590853dd5382945bed40cb345dda111ee7b2
BLAKE2b-256 checksum
How to use checksums
941ea877141cb8dd0abf97b01fef821251abb13ed73d755f4fd5cc3aaa84f20f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / crewai_capsule-0.1.0-py2.py3-none-any.whl

Download URL crewai_capsule-0.1.0-py2.py3-none-any.whl
Size 20.5 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
26edd65f10b7b52804e4669f69ef8a1b4b97951273d10d3adad5d465ed838748
BLAKE2b-256 checksum
How to use checksums
6555c368cdafcdf5b222ab8a85eaa96884958777f082bfd0dd739d44ddb31fa7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for crewai-capsule 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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