Agent Client Protocol - v1.0.0
    Preparing search index...

    Class AgentApp

    Agent-side app builder.

    Methods on this class register typed request or notification handlers and return this, so apps can be built with a fluent chain. Handler params are parsed with the generated ACP schemas before your handler runs, and thrown errors are converted to JSON-RPC errors by the connection layer.

    Index

    Constructors

    Methods

    • Registers a handler that runs when this agent app opens a connection.

      Use this for connection-scoped work that needs to call client-side ACP methods outside an inbound request handler.

      Parameters

      Returns this