Skip to content
DarkPrint
Aautogensandboxed-python-runner1.0.0

Sandboxed Python Runner

Get card

Clone

npx -y darkprint clone sandboxed-python-runner@1.0.0

There is no repository and no history behind a card. Download hands you the document as it stands, and Clone fetches the same document by name.

↓ 0 downloads

Run the supplied script inside the sandbox and return what it printed, whatever that turns out to be.

used in 0 blueprints

Specification

122 words · handed to the agent

Run the script you are given in the configured sandbox and capture its standard output, its standard error and its exit status. Emit all three on result, unchanged. Do not edit the script to make it run, do not install a package it imports, and do not retry it with a change of your own: a script that failed is a result, and repairing it here hides the failure from whichever node was meant to see it. The sandbox has no network and a working directory that does not survive the run; do not attempt to write outside it. Truncate nothing: if the output is large, emit it in full, because the node reading it decides what matters and you do not.

Interfaces

1 in · 1 out

Inputs

1
Inputs declared by this node card
NameData typeRequiredDescription
scriptcode requiredThe script to run, exactly as whoever wrote it wrote it.

Outputs

1
Outputs declared by this node card
NameData typeDescription
resultjsonStandard output, standard error and exit status, none of them truncated.

Dependencies

0

None declared, no edge has to arrive for this node to run.

Card values

15 declared

Who the node is. The id is the key the DOT pins.

id
sandboxed-python-runner
name
Sandboxed Python Runner
type
shell-tool
phases
none declared
Behaviourcard spec →

What it does, and the prose the agent is handed when the graph runs.

action18 words
Run the supplied script inside the sandbox and return what it printed, whatever that turns out to be.
spec122 words
Run the script you are given in the configured sandbox and capture its standard output, its standard error and its exit status. Emit all three on result, unchanged. Do not edit the script to make it run, do not install a package it imports, and do not retry it with a change of your own: a script that failed is a result, and repairing it here hides the failure from whichever node was meant to see it. The sandbox has no network and a working directory that does not survive the run; do not attempt to write outside it. Truncate nothing: if the output is large, emit it in full, because the node reading it decides what matters and you do not.in full above
model
whatever the graph supplies
agent
Runner
skill
not named
tools
Python sandbox
mcp
none
params
timeout_ms: 30000, tool_command: python3 -I -
Interfacescard spec →

What arrives, what leaves, which nodes it expects to hear from, and what may not.

inputs
script : code
outputs
result : json
dependencies
none
cannot
no type is refused
will_not
edit the script to make it run, install a package the script imports, retry a failed script with a change of its own
Evaluation metadatacard spec →

The keys the static analysis reads. Nothing here instructs the agent.

risk_markers
arbitrary-code-execution
notes50 words
A shell-tool, so params.tool_command is the command actually run and the node compiles to the runner's tool handler rather than to a prompted stage. The risk marker is the heaviest in the vocabulary and it is correct here: the script is decided at run time and not by the blueprint.
Service fieldscard spec →

The card's own version, and who wrote it.

version
1.0.0
author
autogen
provenance
not stated

Definitions for every card field

Version history

1 version published
  1. sandboxed-python-runner@1.0.0currentsha256:e6aacc350e351745f4fe2045d71db9e18ea89cb100fab7b30b6369f4a1598f1e

    No blueprint pins this exact version.

A digest is a fingerprint (SHA-256) of the card's content, computed without the author and provenance fields. The same card from two people gets the same digest; any edit gets a new one.

First published version, so there is nothing to compare yet. Versions are never edited in place: the next change arrives as a new version, and the differences between the two documents are listed here.

Community notes (0)

No notes yet.

Nobody has posted about this node card yet.

Sign in to post a note.