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

kdeps-tools-exec

v1.0.0

Run a shell command and return its structured result: success, exitCode, stdout, stderr, command, result and timedOut. Use through the exec component for pipeline steps that shell out. The command runs with sh -c (cmd /C on Windows) unless args are given. Optional: args, env, workingDir, timeout.

set tools / shelf tools

LLM context: ~240 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/exec
  3. the model calls a tool
  4. kdeps runs it
  5. the result goes back to the model

Loaded by: kdeps (agent loop), kdeps new, kdeps run, kdeps install, kdeps list, kdeps uninstall, kdeps update, kdeps upgrade

In the code: kdeps (agent loop)executor.(*Engine).Executeparallel.Runjudge.Panelagent.runJudgePanelagent.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/exec

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

Contents

Run a shell command and return its structured result: success, exitCode, stdout, stderr, command, result and timedOut. Use through the exec component for pipeline steps that shell out. The command runs with sh -c (cmd /C on Windows) unless args are given. Optional: args, env, workingDir, timeout.

ParameterTypeDescription
argsarrayArguments for command. When set, command runs directly instead of through a shell.
command *stringCommand to run. Runs with sh -c (cmd /C on Windows) unless args are given.
envobjectExtra environment variables as key-value pairs; the process environment is inherited.
timeoutstringHard stop for the command, e.g. '30s'. Default comes from kdeps defaults, then KDEPS_EXEC_TIMEOUT.
workingDirstringDirectory the command runs in. Default: the kdeps process working directory.

Versions

VersionPublishedStatusSource
1.0.011/21/2026activeGitHub v1.0.0

Details

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

Tags

kdepstool