ipybox
Project description
ipybox
mcp-name: io.github.gradion-ai/ipybox
ipybox is a unified execution environment for Python code, shell commands, and programmatic MCP tool calls.
Overview
ipybox executes code blocks in a stateful IPython kernel. A code block can contain any combination of Python code, shell commands, and programmatic MCP tool calls. Kernels can be sandboxed with sandbox-runtime, enforcing filesystem and network restrictions at OS level.
It generates Python APIs for MCP server tools via mcpygen, and supports application-level approval of individual tool calls and shell commands during code execution. ipybox runs locally on your computer, enabling protected access to your local data and tools.
[!NOTE] Next generation ipybox
This is the next generation of ipybox, a complete rewrite. Older versions are maintained on the 0.6.x branch and can be obtained with
pip install ipybox<0.7.
Documentation:
- 📚 Documentation
- 🏗️ Architecture
- 🤖 llms.txt
- 🤖 llms-full.txt
Capabilities
| Capability | Description |
|---|---|
| Stateful execution | State persists across executions in IPython kernels |
| Unified execution | Combine Python code, shell commands, and programmatic MCP tool calls in a code block |
| Shell command execution | Run shell commands via !cmd syntax, capture output into Python variables |
| Programmatic MCP tool calls | MCP tools called via generated Python API ("code mode"), not JSON directly |
| Python tool API generation | Typed functions and Pydantic models generated from MCP tool schemas via mcpygen |
| Application-level approval | Individual approval of tool calls and shell commands during code execution |
| Lightweight sandboxing | Optional kernel isolation via Anthropic's sandbox-runtime |
| Local execution | No cloud dependencies, everything runs locally on your machine |
Usage
| Component | Description |
|---|---|
| Python SDK | Python API for building applications on ipybox |
| MCP server | ipybox as MCP server for code actions and programmatic tool calling |
| Claude Code plugin | Plugin that bundles the ipybox MCP server and a code action skill |
[!TIP] Freeact agent
Freeact is a general-purpose agent built on ipybox.
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 ipybox-0.9.0.tar.gz.
File metadata
- Download URL: ipybox-0.9.0.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce3949189a8f8fe59f613e02c577e8d6854d796b5deb9a3a174473c9081d0f91
|
|
| MD5 |
cbfa8e379ef1176139e67922fef92e0f
|
|
| BLAKE2b-256 |
bd4f82a78de347c9ed589265fc7c1b8ae07c48f4b87674ac3bd317fbdac81f62
|
Provenance
The following attestation bundles were made for ipybox-0.9.0.tar.gz:
Publisher:
release.yml on gradion-ai/ipybox
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ipybox-0.9.0.tar.gz -
Subject digest:
ce3949189a8f8fe59f613e02c577e8d6854d796b5deb9a3a174473c9081d0f91 - Sigstore transparency entry: 1154335645
- Sigstore integration time:
-
Permalink:
gradion-ai/ipybox@bfb32114bbcd945d36f9ec5ee01ce8534ff911b4 -
Branch / Tag:
refs/tags/0.9.0 - Owner: https://github.com/gradion-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bfb32114bbcd945d36f9ec5ee01ce8534ff911b4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ipybox-0.9.0-py3-none-any.whl.
File metadata
- Download URL: ipybox-0.9.0-py3-none-any.whl
- Upload date:
- Size: 25.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9b4bfd1e45ba5ffdc7246a58bde9645ed61bd92d99bb9438669733e4e36c711
|
|
| MD5 |
9c6ecff08b84971a7e09acca9eaf73cc
|
|
| BLAKE2b-256 |
f640e12254084b774e01638c05c4629fa3b80da8d078749393a7d36695bb61b2
|
Provenance
The following attestation bundles were made for ipybox-0.9.0-py3-none-any.whl:
Publisher:
release.yml on gradion-ai/ipybox
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ipybox-0.9.0-py3-none-any.whl -
Subject digest:
a9b4bfd1e45ba5ffdc7246a58bde9645ed61bd92d99bb9438669733e4e36c711 - Sigstore transparency entry: 1154335646
- Sigstore integration time:
-
Permalink:
gradion-ai/ipybox@bfb32114bbcd945d36f9ec5ee01ce8534ff911b4 -
Branch / Tag:
refs/tags/0.9.0 - Owner: https://github.com/gradion-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bfb32114bbcd945d36f9ec5ee01ce8534ff911b4 -
Trigger Event:
push
-
Statement type: