Update

agent: introduce BaseAgent (#34)

Hyang-Ah Hana Kim
2 months ago

Commit: 13a03c0

Date: July 22, 2025 at 6:48 PM

This implements functionalities that should be shared by all adk.Agent.

See the documentation of AgentBase for how a custom agent can be

constructed. The "Self" field is a workaround to reference the containing

agent type correctly. That means subclasses must use a constructor

function to create the object and correctly set the Self field.

This PR also introduces agent.Option type that can be used by

the constructors.