Metadata-Version: 2.4
Name: crewai-capsule
Version: 0.1.0
Summary: Capsule sandbox integration for CrewAI
Project-URL: Homepage, https://github.com/mavdol/capsule
Project-URL: Repository, https://github.com/mavdol/crewAI-capsule
Author: Capsule Contributors
License: MIT
License-File: LICENSE
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Dist: capsule-run>=0.6.5
Requires-Dist: crewai>=0.80.0
Provides-Extra: test
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-asyncio; extra == 'test'
Description-Content-Type: text/markdown

# 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

```bash
pip install crewai-capsule
```

## Usage

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

```python
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](https://github.com/mavdol/capsule) repository for more information.

## License

MIT License
