Documentation Index
Fetch the complete documentation index at: https://docs.spellguard.ai/llms.txt
Use this file to discover all available pages before exploring further.
Unilateral Communication
When communicating with A2A-only agents (agents not registered with Spellguard), AMP uses unilateral mode.
Unilateral Send Request
interface UnilateralSendRequest {
/** Sender agent ID (must be Spellguard-attested) */
sender: string;
/** URL of the A2A-only agent */
a2aAgentUrl: string;
/** Payload to send */
payload: unknown;
/** A2A method to use */
method?: 'tasks/send' | 'tasks/get';
}
Unilateral Send Result
interface UnilateralSendResult {
/** Whether the send was successful */
success: boolean;
/** Correlation ID linking request and response */
correlationId: string;
/** Response from the A2A agent (if successful) */
response?: A2AResponse;
/** Error message (if unsuccessful) */
error?: string;
/** Commitment IDs for audit trail */
commitments: {
outbound: { commitmentId?: string; archiveId?: string };
inbound?: { commitmentId?: string; archiveId?: string };
};
/** Warnings about partial failures */
warnings?: string[];
}
In unilateral mode, only the sender is Spellguard-attested. The recipient is a standard A2A agent with no Spellguard verification.