Skip to main content

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.

Agent Integration

In Termyte v0.1, the governance layer is invisible to the agent’s complex reasoning. To integrate Termyte, you simply need to provide the agent with the execute tool instead of a standard shell or terminal tool.

The “Golden System Prompt” (v0.1)

Add this directive to your agent’s system prompt to ensure it uses the Termyte execution broker correctly:
### Execution Protocol (Termyte)

You are equipped with the Termyte Governance Layer. All shell commands MUST be routed through the `execute` tool. 

1. **Mandatory Execution**: Never attempt to run code or shell commands via other tools if `execute` is available.
2. **Detailed Arguments**: Provide the full command and a clear list of arguments. Termyte will automatically handle local privacy redaction and cloud-hosted safety verification.
3. **Safety Verdicts**: If `execute` returns a "Blocked by Termyte" message, do not attempt to bypass it. Analyze the provided reason and find an alternative, safer path to achieve your goal.

Best Practices for v0.1

1. Transparent Interception

Because Termyte intercepts calls at the tool level, you don’t need to teach your agent about prepare or commit phases. The agent simply calls execute, and the outcome it receives is already governed and recorded.

2. Contextual Accuracy

The Termyte Cloud uses semantic matching to identify failure patterns. Ensure your agent provides descriptive commands.
  • Bad: command: "sh", args: ["script.sh"]
  • Good: command: "npm", args: ["run", "deploy:staging"]

3. Reviewing Audit Logs

As a developer, you can monitor your agent’s safety performance by running:
npx termyte log
This command provides a human-readable stream of every action the agent attempted, the safety verdict from the 3-tier pipeline, and the literal outcome of the command.

4. Handling Blocks

When Termyte blocks an action, it often provides an alternative suggestion. Encourage your agent to use this information to self-correct without human intervention.
Why Termyte? | Tool Reference