Skip to content
Esc
↑↓navigate↵open⌘Jpreview
Start
On this page

Gate risky tool calls with Weka

Evaluate a proposed command against user intent, reversibility, and external effects before allowing an autonomous tool call.

Gate risky tool calls with Weka is a Weka typed-decision workflow that evaluate a proposed command against user intent, reversibility, and external effects before allowing an autonomous tool call. It returns a bounded answer and probabilities so application code can keep final policy enforcement deterministic.

At a glance

Question Answer
Best for Check intent and side effects before an agent acts
Input Minimal JSON state built from observable evidence
Weka returns A typed allow, review, or block decision that a tool runner can enforce. Available through the Weka API, Autohand SDK, and Console Playground.
Policy boundary Your code owns thresholds, permissions, retries, audit logs, and the final action

Put Weka between an autonomous agent's proposed action and the tool runner. Weka is in Public Preview and is available only through the Autohand API, SDK, and Console Playground.

Compare the action with intent

Send the user's stated goal, the exact proposed command or operation, the target resources, reversibility, external side effects, and any existing authorization. Do not ask Weka to execute the tool.

Ask for an enforceable branch

{
  "model": "weka",
  "state": {
    "user_intent": "Clean generated build output",
    "tool": "shell",
    "command": "git reset --hard origin/main",
    "destructive": true,
    "external_effect": false
  },
  "questions": {
    "tool_action": {
      "type": "choice",
      "instructions": "Choose how the runtime should handle this call",
      "criteria": {
        "allow": "Authorized, scoped, and reversible",
        "review": "Aligned but materially risky",
        "block": "Conflicts with intent or lacks authority"
      }
    }
  }
}

Keep the tool boundary authoritative

The runner enforces the returned branch and its own hard controls. Require review for low-confidence answers, retain explicit denylists for impossible actions, and log the decision state without secrets.

Review before accepting

Test aligned, ambiguous, destructive, and prompt-injected calls. A model answer must never expand the agent's permissions.

Source and validation signals

Autohand AI maintains this page as first-party Weka product guidance. Verify the current request contract in the Weka model guide and build application flows with the Autohand SDK. Community patterns from the AY Automate Jev builds index and dabit3/jev-experiments informed the use-case taxonomy. Their measurements describe their own Jev implementations and are not Weka benchmarks.

Frequently asked questions

What is Gate risky tool calls with Weka?

Gate risky tool calls with Weka is a Weka typed-decision workflow that evaluate a proposed command against user intent, reversibility, and external effects before allowing an autonomous tool call. It returns a bounded answer and probabilities so application code can keep final policy enforcement deterministic.

When should a team use Gate risky tool calls with Weka?

Check intent and side effects before an agent acts. Use it when the next software step needs one bounded decision and the application can preserve the evidence, probability, and policy outcome.

What does Weka return for this workflow?

A typed allow, review, or block decision that a tool runner can enforce. Available through the Weka API, Autohand SDK, and Console Playground.

Does Weka take the final action?

No. Weka evaluates the state and returns a typed answer. Application code remains responsible for authorization, thresholds, deterministic safety rules, logging, retries, and the final action.

API request starter

POST /v1/decisions with model "weka", user intent and tool-call state, and an allow, review, or block choice question

Last updated on

Was this helpful?

Send Feedback

Help us improve this documentation page. Your feedback is valuable.

We'll only contact you if we need clarification