CrewAI tool for Sandflare Firecracker microVM sandboxes — run agent-generated code safely
Project description
sandflare-crewai
CrewAI tool integration for Sandflare — run agent-generated code in isolated Firecracker microVM sandboxes.
Installation
pip install sandflare-crewai
Usage
from crewai import Agent, Task, Crew
from sandflare_crewai import SandflareCodeTool
code_tool = SandflareCodeTool(api_key="sf-...")
coder = Agent(
role="Python Developer",
goal="Write and execute Python code to solve tasks",
tools=[code_tool],
llm="gpt-4o",
)
task = Task(
description="Fetch the top 5 HN stories and print their titles",
agent=coder,
)
Crew(agents=[coder], tasks=[task]).kickoff()
How it works
Each SandflareCodeTool call creates a fresh Sandflare microVM sandbox, executes the code safely, and returns the output to the CrewAI agent.
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sandflare_crewai-0.1.2.tar.gz.
File metadata
- Download URL: sandflare_crewai-0.1.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cf39d32d43ddffe67013caca52a1ff48a6dfc1f8ec5b385184bf709de4855c6
|
|
| MD5 |
e5514178e14259cd48f3b49e9772c99e
|
|
| BLAKE2b-256 |
036e15459e2d6060ffa40e5d0f6ded41b47df6241da557fb55de5f7b8f8c3fd4
|
File details
Details for the file sandflare_crewai-0.1.2-py3-none-any.whl.
File metadata
- Download URL: sandflare_crewai-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd1f31d33bb25881838626d4714352d23ca247828945aab7238891277a7770ba
|
|
| MD5 |
d68349e061e39c16842b96be1737af33
|
|
| BLAKE2b-256 |
1779bbff8569cae6c16eae21e0f471bfe1c5c28fe892453f3a66df34ad0da811
|