{"id":27972688,"url":"https://github.com/gradion-ai/ipybox","last_synced_at":"2026-04-02T11:56:08.804Z","repository":{"id":266526238,"uuid":"897980375","full_name":"gradion-ai/ipybox","owner":"gradion-ai","description":"Unified execution environment for Python code, shell commands, and programmatic MCP tool calls.","archived":false,"fork":false,"pushed_at":"2026-03-24T07:03:14.000Z","size":3757,"stargazers_count":72,"open_issues_count":3,"forks_count":19,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-03-24T11:34:55.140Z","etag":null,"topics":["claude-code-plugin","code-execution","code-interpreter","code-mode","code-sandbox","ipython","mcp","mcp-client","mcp-server","programmatic-tool-calling","python","sandbox-runtime"],"latest_commit_sha":null,"homepage":"https://gradion-ai.github.io/ipybox/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gradion-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-12-03T15:21:24.000Z","updated_at":"2026-03-23T15:48:45.000Z","dependencies_parsed_at":"2025-12-06T04:13:44.243Z","dependency_job_id":null,"html_url":"https://github.com/gradion-ai/ipybox","commit_stats":null,"previous_names":["gradion-ai/executor","gradion-ai/ipybox"],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/gradion-ai/ipybox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradion-ai%2Fipybox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradion-ai%2Fipybox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradion-ai%2Fipybox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradion-ai%2Fipybox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gradion-ai","download_url":"https://codeload.github.com/gradion-ai/ipybox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradion-ai%2Fipybox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31305947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T09:48:21.550Z","status":"ssl_error","status_checked_at":"2026-04-02T09:48:19.196Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude-code-plugin","code-execution","code-interpreter","code-mode","code-sandbox","ipython","mcp","mcp-client","mcp-server","programmatic-tool-calling","python","sandbox-runtime"],"created_at":"2025-05-07T23:13:38.406Z","updated_at":"2026-04-02T11:56:08.799Z","avatar_url":"https://github.com/gradion-ai.png","language":"Python","funding_links":[],"categories":["Sandboxing \u0026 Execution","カテゴリ","📦 Other","📚 Projects (2474 total)"],"sub_categories":["Wiki \u0026 Collaboration","💻 \u003ca name=\"code--ide\"\u003e\u003c/a\u003eコード・IDE","MCP Servers"],"readme":"\u003cp align=\"left\"\u003e\n    \u003cimg src=\"docs/images/ipybox-crop-nobg.png\" alt=\"ipybox\" width=\"300\"\u003e\n\u003c/p\u003e\n\n# ipybox\n\nmcp-name: io.github.gradion-ai/ipybox\n\n\u003cp align=\"left\"\u003e\n    \u003ca href=\"https://gradion-ai.github.io/ipybox/\"\u003e\u003cimg alt=\"Website\" src=\"https://img.shields.io/website?url=https%3A%2F%2Fgradion-ai.github.io%2Fipybox%2F\u0026up_message=online\u0026down_message=offline\u0026label=docs\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/ipybox/\"\u003e\u003cimg alt=\"PyPI - Version\" src=\"https://img.shields.io/pypi/v/ipybox?color=blue\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/gradion-ai/ipybox/releases\"\u003e\u003cimg alt=\"GitHub Release\" src=\"https://img.shields.io/github/v/release/gradion-ai/ipybox\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/gradion-ai/ipybox/actions\"\u003e\u003cimg alt=\"GitHub Actions Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/gradion-ai/ipybox/test.yml\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/gradion-ai/ipybox/blob/main/LICENSE\"\u003e\u003cimg alt=\"GitHub License\" src=\"https://img.shields.io/github/license/gradion-ai/ipybox?color=blueviolet\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n[ipybox](https://gradion-ai.github.io/ipybox/) is a unified execution environment for Python code, shell commands, and programmatic MCP tool calls.\n\n## Overview\n\nipybox 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](https://github.com/anthropic-experimental/sandbox-runtime), enforcing filesystem and network restrictions at OS level.\n\nIt generates Python APIs for MCP server tools via [mcpygen](https://gradion-ai.github.io/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.\n\n\u003e [!NOTE]\n\u003e **Next generation ipybox**\n\u003e\n\u003e This is the next generation of ipybox, a complete rewrite. Older versions are maintained on the [0.6.x branch](https://github.com/gradion-ai/ipybox/tree/0.6.x) and can be obtained with `pip install ipybox\u003c0.7`.\n\n## Documentation:\n\n- 📚 [Documentation](https://gradion-ai.github.io/ipybox/)\n- 🏗️ [Architecture](https://gradion-ai.github.io/ipybox/architecture/)\n- 🤖 [llms.txt](https://gradion-ai.github.io/ipybox/llms.txt)\n- 🤖 [llms-full.txt](https://gradion-ai.github.io/ipybox/llms-full.txt)\n\n## Capabilities\n\n| Capability | Description |\n| --- | --- |\n| **Stateful execution** | State persists across executions in IPython kernels |\n| **Unified execution** | Combine Python code, shell commands, and programmatic MCP tool calls in a code block |\n| **Shell command execution** | Run shell commands via `!cmd` syntax, capture output into Python variables |\n| **Programmatic MCP tool calls** | MCP tools called via generated Python API (\"code mode\"), not JSON directly |\n| **Python tool API generation** | Typed functions and Pydantic models generated from MCP tool schemas via [mcpygen](https://gradion-ai.github.io/mcpygen/) |\n| **Application-level approval** | Individual approval of tool calls and shell commands during code execution |\n| **Lightweight sandboxing** | Optional kernel isolation via Anthropic's [sandbox-runtime](https://github.com/anthropic-experimental/sandbox-runtime) |\n| **Local execution** | No cloud dependencies, everything runs locally on your machine |\n\n## Usage\n\n| Component | Description |\n| --- | --- |\n| **[Python SDK](https://gradion-ai.github.io/ipybox/api/code_executor/)** | Python API for building applications on ipybox |\n| **[MCP server](https://gradion-ai.github.io/ipybox/mcpserver/)** | ipybox as MCP server for code actions and programmatic tool calling |\n| **[Claude Code plugin](https://gradion-ai.github.io/ipybox/ccplugin/)** | Plugin that bundles the ipybox MCP server and a code action skill |\n\n\u003e [!TIP]\n\u003e **Freeact agent**\n\u003e\n\u003e [Freeact](https://github.com/gradion-ai/freeact) is a general-purpose agent built on ipybox.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgradion-ai%2Fipybox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgradion-ai%2Fipybox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgradion-ai%2Fipybox/lists"}