Catalog PyPI
PACKAGE EXPLORERView in registry

agentpad

PyPI

Multi-language code execution against a real directory for AI agents

agentsaibashcicode-executionnodejsopenaipythonsandboxsqlitesubprocesstool-calling
Versions collected1
Direct dependencies1From release 0.1.0
Last observed20 Oct, 22:50 UTC

README

Version 0.1.0 documentation

agentpad

Execute bash, Python, JavaScript (Node), and SQL against a real project directory—with optional overlay, read-only mode, file-change tracking, and a session run log. Built for AI agents, CI, and local tooling.

Same design in TypeScript (npm) and Python (PyPI / local install).


Install

JavaScript / TypeScript (npm)

npm install agentpad

Requires Node.js ≥ 18. For SQL on Node, the sqlite3 binary must be on your PATH.

Python

pip install agentpad

From a clone (editable):

pip install -e ./python

Requires Python ≥ 3.10. For SQL in Python, the runtime uses stdlib sqlite3 (no sqlite3 CLI required).


Quick start

TypeScript

import { Runtime } from "agentpad";

const rt = new Runtime("./my-project");
const r = await rt.run("python", 'print(open("README.md").read()[:80])');
console.log(r.stdout);
console.log(r.files); // file changes under the workspace
rt.close();

Python

from agentpad import Runtime

rt = Runtime("./my-project")
r = rt.run("python", "print(1 + 1)")
print(r.stdout)
rt.close()

Features

CapabilitySummary
Languagesbash, python, javascript, sql
Workspace modesNormal, read-only (readonly: true), or overlay (temp copy + apply() back to disk)
File trackingincludeGlobs / excludeGlobs (minimatch) scope which paths appear in RunResult.files
LimitstimeoutMs, maxOutputBytes per run or via limits on the runtime
Session loggetRunLog(), clearRunLog(), exportRunLogJSON / exportRunLogMarkdown, optional onRun
OpenAI toolsasOpenAITool() + executeToolCall({ language, code }) (TS); as_openai_tool / execute_tool_call (Python)
Persistenceserialize() / Runtime.deserialize() for overlay state

Documentation

Hosted on slaps.dev:

DocContents
OverviewProduct summary and doc index
Getting startedInstall, first runs, overlay, read-only
Use casesAgents, testing patterns, stubfetch
ConfigurationRuntimeOptions, RunOptions, globs, limits, run log
API referenceRuntime, types, filesystem adapters, exports
SecurityThreat model, workspace boundaries, subprocess behavior
Python notesNode vs Python differences

Source

Package and issue tracker: github.com/vgulerianb/agentpad (canonical repo). The slaps.dev monorepo may carry a vendored copy of this tree for the website and doc sync scripts—it is not the package’s primary repository URL on npm/PyPI.

License

Apache-2.0

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.022 Mar 20261

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
vgulerianb/agentpad

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:50 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:210488483305f7fc3efdf15ca37edb584398f52f66c10e9bae28d898a58f64ba