Documentation Index
Fetch the complete documentation index at: https://docs.termyte.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Governance Tools
Termyte v0.1 exposes a single, high-integrity tool to the AI agent. All governance (safety checks, redaction, and logging) happens invisibly within this tool’s execution flow.1. execute
Role: Mandatory Execution Broker
This is the primary interface for all shell-related actions. Instead of giving your agent direct access to a “shell” or “terminal” tool, you provide execute.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
command | string | Yes | The binary or command to run (e.g. npm, git, python). |
args | string[] | No | List of arguments to pass to the command. |
cwd | string | No | The working directory for execution. |
The Invisible Lifecycle
When an agent callsexecute, Termyte performs the following steps automatically:
- Sanitization: Scans the command and arguments for secrets (API keys, tokens) and redacts them locally.
- Governance Prepare: Sends a request to the Termyte Cloud with the sanitized intent.
- Verdict Check:
- If
ALLOW: Proceeds to execution. - If
BLOCK: Returns a failure message to the agent explaining why the action was stopped.
- If
- Sandboxed Execution: Runs the command in a secure environment using
execFileto prevent shell injection. - Governance Commit: Streams the outcome (success/failure, exit code) to the Termyte Ledger for future learning.
Example Call
Technical Note: Manual Tools
Whileexecute is the recommended way to use Termyte, the underlying API supports granular tools like context_build and causal_record. These are currently reserved for internal use by the MCP Bridge to ensure “Invisible Governance” but can be exposed for custom integrations in the future.
Quickstart | Architecture