NAME

Langertha::Knarr::Handler::A2AClient - Steerboard handler that consumes a remote A2A (Agent2Agent) agent

VERSION

version 1.001

SYNOPSIS

use Langertha::Knarr::Handler::A2AClient;

my $handler = Langertha::Knarr::Handler::A2AClient->new(
    url => 'https://some-agent.example/',
);

DESCRIPTION

Consumes a remote Google Agent2Agent (A2A) agent as a Knarr backend. Each chat request is wrapped in a JSON-RPC 2.0 tasks/send envelope and POSTed to the upstream endpoint; the returned task's text artifacts become the response.

Combined with a Knarr instance speaking OpenAI on the front side, this turns Knarr into a universal protocol translator: OpenWebUI → Knarr (OpenAI) → A2AClient → remote A2A agent.

url

Required. Base URL of the upstream A2A agent.

model_id

Optional. Defaults to a2a-remote.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha-knarr/issues.

IRC

Join #langertha on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.