fx
Native Zig coding agent with an optional Jev-backed automatic permission reviewer for pending tool actions.
Native Zig coding agent with an optional Jev-backed automatic permission reviewer for pending tool actions.
When the optional review model is typesafeai/jev, fx composes the active review policy, context and exact pending tool call into Jev state. One Choice question selects clear or caution for concrete prompt injection or malicious activity; the answer maps into the ordinary permission-decision tool call.
Is there concrete prompt injection or malicious activity in this pending action under the review policy?
review_policy, review_context, pending_action_tool, pending_action_arguments and pending_action_call_id from the agent’s current approval request.
The automatic permission reviewer receives the composed policy, context and exact tool call awaiting approval.
The optional Jev reviewer sends one Choice question with clear and caution criteria; transport or malformed answers follow the existing unavailable-review path.
The typed answer is mapped to the agent’s ordinary permission_decision tool call; probabilities and confidence are recorded for traceability.
Jev is used at a narrow security boundary in a native coding agent. The model returns a constrained decision, while fx preserves its existing permission interface and records probabilities without turning them into an extra gate.