Skip to main content

ipybox

Project description

ipybox

ipybox

mcp-name: io.github.gradion-ai/ipybox

Website PyPI - Version GitHub Release GitHub Actions Workflow Status GitHub License

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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipybox-0.9.1.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipybox-0.9.1-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file ipybox-0.9.1.tar.gz.

File metadata

  • Download URL: ipybox-0.9.1.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ipybox-0.9.1.tar.gz
Algorithm Hash digest
SHA256 9182dc41157b84f0277aa798a189da323b700acdaa8a98082f8a5a7e5f32019d
MD5 6f1a4b6e967dfb6f0274386bd1d1eb25
BLAKE2b-256 d572c8657d327c8cf42c2a9fbcd5786e1db54b1cedc76bcc1c1625b8c1dcd960

See more details on using hashes here.

Provenance

The following attestation bundles were made for ipybox-0.9.1.tar.gz:

Publisher: release.yml on gradion-ai/ipybox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ipybox-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: ipybox-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ipybox-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f2df3df6ccd68f0b8f383f455a8f6fd80be48cbdff9a8bd2335ce58911a0d03d
MD5 ec8c53cf0bc15e6df64ba8134e450cd7
BLAKE2b-256 1d3eb25f073a44f3a750053b1e70f1de372a8c8d4231abe810bb9ee81f86abdc

See more details on using hashes here.

Provenance

The following attestation bundles were made for ipybox-0.9.1-py3-none-any.whl:

Publisher: release.yml on gradion-ai/ipybox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page