Skip to content

Interface: AgentRef

@providerprotocol/agents


@providerprotocol/agents / index / AgentRef

Defined in: src/execution/types.ts:122

Forward declaration of Agent for use in ExecutionContext.

This minimal interface provides the essential agent identification fields needed by execution strategies without creating circular dependencies. The full Agent interface is defined in agent/types.ts.

id: string

Defined in: src/execution/types.ts:124

Unique identifier for the agent instance


optional system: string

Defined in: src/execution/types.ts:126

Optional system prompt for the agent