Skip to content

v0.2.0

Choose a tag to compare

@aartintelligent-aurelien-andre aartintelligent-aurelien-andre released this 29 Nov 06:05
7f8d033

0.2.0 (2026-11-29)

⚠ BREAKING CHANGES

  • tasks: allow_agent_hosts is removed: the kit of an agent declares its hosts. Network no longer holds rule changes (changes, apply(sandbox)): allow_http and deny_http require methods. A host that is no host pattern raises InvalidSpecError, and a rule the daemon refuses LaunchError, in place of InvalidRequestError and OperationFailedError. The keys of an agent are pushed as custom secrets, not service secrets.
  • kits: an McpServer names its kind: McpServer(name=..., url=...) is no longer one; build it with McpServer.host(), remote() or stdio().
  • agents: AGENTS, AgentProfile, Credential and agent_profile are removed: Agent holds the profiles. AgentRunner(sandbox, agent, kit_agent) takes the Agent, and its agent attribute is the Agent rather than the KitAgent, now kit_agent; profile is gone. Task.agent is an Agent, whose name is the name of its member (CLAUDE): its value is the name of the agent.
  • kits: kits are read as the CLI reads them. A base kit named without a slash that is not an agent sbx knows raises InvalidKitError (it was the image docker.io/sbx/<name>); a base kit given as a path raises KitForgeError for the forge, whether the directory exists or not; a mixin that names no directory, or names an image or a Git repository, raises InvalidKitError. Kit.cache_key is removed, and a cache names the directories of its packages itself. A forged package suits the daemon it was forged for only while fastsandbox binds the same version of the crates.
  • the modules of the package moved into their subpackage. fastsandbox.mixins is fastsandbox.kits, and fastsandbox.agents, applications, tasks, context, network, params and dependencies are under fastsandbox.framework; fastsandbox.client and fastsandbox.kits are subpackages that re-export what their modules held.
  • KitCache no longer compiles with the sbx CLI unless given it, and keeps its packages in memory unless given a directory; KitPackage.dir and PackageImage.path are None for a package held in memory.

Added

  • agents: give an agent task MCP servers, and each run their tokens (#32) (e90e155)
  • blueprint: describe a sandbox as data, check it and launch it (#30) (b088795)
  • blueprint: launch a spec on a package held in memory (#43) (3f8380d)
  • client: read creation lines, check host patterns, stream exports, keep secrets as given (#48) (539cc3a)
  • forge kits without the sbx CLI by default (#11) (5355a4f)
  • give the agent MCP servers through a mixin (#13) (0b0df2e)
  • kits: forge mixins over every kit of a compiled package (#44) (c735114)
  • kits: MCP servers of three kinds, for claude, copilot and opencode (#29) (f772f70)
  • kits: read kits as the CLI does, and assemble packages by hand (#47) (5e1d097)
  • move to docker-sandbox 0.3.0 and report withheld credentials (#9) (388b0cc)
  • testing: fake attached commands and agent sessions (#38) (2134a26)
  • write kit mixins in Python (#12) (18df267)

Fixed

  • client: keep the error of a block when the cleanup of its sandbox fails too (#52) (11aedf7)
  • client: keep the value of a service credential given as a SecretStr (d6b6c29)
  • client: warn of a daemon outside the supported API range when version_policy is warn (d6b6c29)
  • cli: print the supported API range with its maximum excluded, and input annotations as written (d6b6c29)
  • give the path of an error as a string, as documented (#20) (58657ef)
  • kits: keep the packages of a kit cache apart and compiled when asked (#19) (64e8408)
  • kits: read the images of a package kept in a directory (#14) (9d06fee)
  • native: wait for the results under way before the interpreter exits (08f4f88)
  • tasks: bound the runs of an application per event loop (#37) (2743c6e)
  • tasks: give an agent task its keys whatever its kit, and refuse mounts without a workspace (#36) (34f814b)
  • tasks: report only the deadline of a task as its timeout, not a timeout raised inside it (d6b6c29)
  • tasks: report the credentials the daemon withholds from the sandbox of a run (#18) (d6574c0)

Documentation

  • align the pages with the host checks and withheld credentials of 0.2.0 (#16) (0c1b084)
  • correct the pages, the docstrings and the API reference against the code, and test every snippet against the fake daemon (d6b6c29)
  • examples: check MCP servers with the client of the official MCP Python SDK (#50) (64aae0a)
  • examples: check the MCP server of agent-kit-forge with the client of the examples (#17) (3d37679)
  • examples: give the agents their keys through the proxy, as the examples of docker-sandbox do (#33) (5aa37d6)
  • examples: keep the examples in step with the crates and their rewritten twins (#45) (2aaf5b6)
  • examples: show the forge, kit mixins in Python and withheld credentials (#15) (4c36913)
  • examples: take the steps of the twins that the bindings now allow (#49) (8146e9a)
  • examples: write each example as a tutorial, and cover the whole library (18ff3f9)
  • say that a Claude subscription needs no API key (#56) (3e5b6a9)
  • straighten the site, the snippets and the plugin after binding the crates (#35) (b119561)

Changed

  • agents: take the agents and their profiles from the crate (#28) (4fd86ce)
  • kits: resolve, reuse and keep kits as the crate does (24b5c2c)
  • lay the package out by crate (#25) (479eb5b)
  • tasks: launch the sandbox of each run from its spec (58d15e3)
  • tasks: take the keys of an agent and the rule of further mounts from the crate (#42) (889f561)