Documentation - v1.2.0-alpha.3
    Preparing search index...

    Abstract base class for defining an AgentComponent.

    An AgentComponent allows the registration of services, custom actions, memory scopes, and adapters. To make components available to the system, derive from this class and implement the configureServices method. These components are consumed by the system in appropriate places. When using Composer, the configureServices method is called automatically by the agent runtime, provided the components are registered in the configuration.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    z

    Methods

    Constructors

    Properties

    z: ZodType<AgentComponent, ZodTypeDef, AgentComponent> = ...

    A Zod schema for validating that an object is an AgentComponent.

    This schema checks if the object has a configureServices method.

    Methods