| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-05-06 | 4.2 kB | |
| v.1.1.0 source code.tar.gz | 2026-05-06 | 7.4 MB | |
| v.1.1.0 source code.zip | 2026-05-06 | 8.0 MB | |
| Totals: 3 Items | 15.4 MB | 1 | |
v1.1.0
Sandbox-native agent execution with multi-backend support, bare-repo caching, and a revamped toolset for dramatic speed and token efficiency gains.
What's Changed
This release introduces a foundational rework of how Potpie agents execute against repositories. Agents no longer operate directly on the host filesystem or pay the cost of a full git clone per session. Instead, all repository interactions flow through a new provider-agnostic sandbox layer that manages durable bare-repo caches, ephemeral git worktrees, and swappable execution backends: Local subprocess, Docker, Daytona, and NFS mounts, with e2b support on the roadmap. The agent toolset has also been rebuilt from scratch, replacing fragmented legacy tools with a unified sandbox_* interface that ships pre-bound to a workspace handle at session start, delivering measurable improvements in provisioning latency and token efficiency.
Highlights
Multi-Environment Sandbox Architecture
- New Ports & Providers pattern (via Python
Protocol) decouples workspace management from execution — workspace providers handle the filesystem and git layer; runtime providers handle process isolation - Local subprocess provider for development and read-only analysis with zero overhead
- Docker provider using the CLI (no heavy Python SDK dependency) with
docker execdispatch, bind mounts, and resource limits - Daytona provider for managed, scalable sandboxes: one sandbox per user/project with multiple branch worktrees via
git worktree - Snapshot auto-build from bundled Dockerfile on-demand
- Optional bare-cache volumes persisting clones across sandbox lifecycle events
- Self-healing recovery via
managed-by=potpielabels when process restarts - 24-hour auto-stop TTL (configurable), 30-day auto-archive TTL
- NFS-backed deployment support via shared
.reposmount across Potpie service instances - e2b sandbox integration coming soon
Revamped Agent Toolset
- Consolidated
sandbox_text_editor,sandbox_shell,sandbox_search,sandbox_git, andsandbox_prreplacing fragmented legacy tools - Tools are now pre-bound to a
WorkspaceHandleat session start (explicit mode), eliminating per-call project resolution overhead - Capability-gated tools: write operations (
str_replace,commit,push) are automatically omitted from read-only workspaces
Performance
- Provision-on-parse: RepoCache is eagerly warmed when a repo finishes parsing — agents are ready to work at first invocation, not after a cold clone
- Direct FS fast path:
SandboxClientuses host filesystem access on local backends and native Daytona SDK calls (sandbox.fs.download_file) where available, falling back to exec only when necessary - Line-level file reads:
view_rangeparameter lets agents read specific line ranges instead of ingesting entire files - Structured tool output: Search and git tools return JSON rather than raw shell text, formatted optimally for LLM context windows
- Output capping: Shell output truncated at 80KB, search at 200 hits which prevents context overflow
Security & Isolation
- Explicit
Capabilitiesmodel: Every workspace carrieswritable,isolated, andpersistentflags enforced at the adapter boundary - Auth token hygiene: Git credentials injected per-call via
git -c http.<host>.extraheader=...and never written to.git/config - Path sandboxing:
SandboxClientvalidates relative paths, rejects..traversal, and resolves symlinks on local backends - Bot identity injection:
GIT_AUTHOR_*andGIT_COMMITTER_*set in the runtime environment for correct commit attribution
Deprecations
- Direct filesystem tools (non-sandbox) are deprecated in favor of the
sandbox_*toolset LocalSubprocessRuntimeProviderwithallow_write=Trueis not a security boundary and should not be used for untrusted workloads
Merged PRs
- Feat/context engine by @nndn in https://github.com/potpie-ai/potpie/pull/749
Full Changelog: https://github.com/potpie-ai/potpie/compare/1.0.2...v1.1.0