Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Agent

import type { Agent } from "https://googleapis.deno.dev/v1/agentregistry:v1alpha.ts";

Represents an Agent. "A2A" below refers to the Agent-to-Agent protocol.

interface Agent {
readonly agentId?: string;
readonly attributes?: {
[key: string]: {
[key: string]: any;
}
;
}
;
readonly card?: Card;
readonly createTime?: Date;
readonly description?: string;
readonly displayName?: string;
readonly location?: string;
name?: string;
readonly protocols?: Protocol[];
readonly skills?: Skill[];
readonly uid?: string;
readonly updateTime?: Date;
readonly version?: string;
}

§Properties

§
readonly agentId?: string
[src]

Output only. A stable, globally unique identifier for agents.

§
readonly attributes?: {
[key: string]: {
[key: string]: any;
}
;
}
[src]

Output only. Attributes of the Agent. Valid values: * agentregistry.googleapis.com/system/Framework: {"framework": "google-adk"} - the agent framework used to develop the Agent. Example values: "google-adk", "langchain", "custom". * agentregistry.googleapis.com/system/RuntimeIdentity: {"principal": "principal://..."} - the runtime identity associated with the Agent. * agentregistry.googleapis.com/system/RuntimeReference: {"uri": "//..."} - the URI of the underlying resource hosting the Agent, for example, the Reasoning Engine URI.

§
readonly card?: Card
[src]

Output only. Full Agent Card payload, when available.

§
readonly createTime?: Date
[src]

Output only. Create time.

§
readonly description?: string
[src]

Output only. The description of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no description.

§
readonly displayName?: string
[src]

Output only. The display name of the agent, often obtained from the A2A Agent Card.

§
readonly location?: string
[src]

Output only. The location where agent is hosted. The value is defined by the hosting environment (i.e. cloud provider).

§
name?: string
[src]

Identifier. The resource name of an Agent. Format: projects/{project}/locations/{location}/agents/{agent}.

§
readonly protocols?: Protocol[]
[src]

Output only. The connection details for the Agent.

§
readonly skills?: Skill[]
[src]

Output only. Skills the agent possesses, often obtained from the A2A Agent Card.

§
readonly uid?: string
[src]

Output only. A universally unique identifier for the Agent.

§
readonly updateTime?: Date
[src]

Output only. Update time.

§
readonly version?: string
[src]

Output only. The version of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no version or agent is not an A2A Agent.