Skip to content
Français

diagnoseAgentProtocol

import { diagnoseAgentProtocol } from "@elie-laloum/outpost";

Decode the synthetic event fixtures bundled for an agent with its adapter and return the report synchronously, one check per fixture. Runs no process: the installed CLI, credentials and model stay unverified.

Complete example and detailed rules.

  • agentRequired
    BuiltInAgentName
    Built-in agent whose adapter decodes the fixtures: claude, codex, antigravity, copilot or kimi.

AgentProtocolReport

export declare function diagnoseAgentProtocol(
  agent: DoctorAgent,
): AgentProtocolReport;