Alphakdeps.io is experimental and evolving — the registry and packages may change or reset.
Toolkdeps asset

kdeps-tools-python

v1.0.0

Run a Python script and return its result: stdout parsed as JSON when possible, otherwise the raw text. Use through the python component for pipeline steps written in Python. Give either script (inline source) or scriptFile (a .py file). Optional: args, env, timeout, venvName, pythonVersion, packages.

set tools / shelf tools

LLM context: ~316 tokens when loaded (prompt or tool definition)

Where it runs

Part of the tools set, used in workflow and agent mode. What the model is told about each built-in tool: its description, usage notes and parameters. kdeps runs the tool itself.

  1. the agent loop builds the request
  2. the tool definitions are sent to the modeltools/python
  3. the model calls a tool
  4. kdeps runs it
  5. the result goes back to the model

Loaded by: kdeps (agent loop), /update, /settings, kdeps run, kdeps install, kdeps list, kdeps uninstall, kdeps update

In the code: kdeps (agent loop)agent.RegisterBuiltinToolsagent.definedAs

Install

A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.

kdeps install tools/python

Pin a version with kdeps install tools/python@<version>.

Contents

Run a Python script and return its result: stdout parsed as JSON when possible, otherwise the raw text. Use through the python component for pipeline steps written in Python. Give either script (inline source) or scriptFile (a .py file). Optional: args, env, timeout, venvName, pythonVersion, packages.

ParameterTypeDescription
argsarrayArguments passed to the script after the script path or -c.
envobjectExtra environment variables as key-value pairs; the process environment is inherited.
packagesarrayPython packages installed into the venv before the script runs.
pythonVersionstringPython version for the venv. Default: KDEPS_PYTHON_VERSION, then 3.12.
scriptstringInline Python source. Use scriptFile instead to run a file.
scriptFilestringPath to a .py file. Relative paths resolve against the kdeps process working directory.
timeoutstringHard stop for the script, e.g. '30s'. Default comes from kdeps defaults, then KDEPS_PYTHON_TIMEOUT.
venvNamestringName of a dedicated virtual environment; omit to share the default one.

Versions

VersionPublishedStatus
1.0.010/21/2026active

Details

Author
kdeps
License
Apache-2.0
Latest Version
1.0.0
Published
10/21/2026

Tags

kdepstool