agent()
or
client()
function to register typed handlers for the ACP methods you support and connect
to your counterpart. The
examples directory
contains runnable implementations of both sides that can be driven from your terminal or from
an ACP Client like Zed, making them great starting points for
your own integration!
Browse the TypeScript library reference for detailed API documentation.
Deprecated classes
Earlier versions of the library were built around the AgentSideConnection and ClientSideConnection classes. These classes are now deprecated in favor of the fluentagent() and
client() APIs. They remain available for backwards compatibility, but new
integrations should use the fluent API as shown in the
examples.