NAME

Langertha::Knarr::Protocol::A2A - Google Agent2Agent (A2A) wire protocol for Knarr

VERSION

version 1.001

DESCRIPTION

Implements the Google A2A protocol on top of Langertha::Knarr::Protocol. Loaded by default.

  • GET /.well-known/agent.json — agent card discovery (anonymous)

  • POST / — JSON-RPC 2.0 method bus

Supported methods: tasks/send (sync) and tasks/sendSubscribe (streaming). Streaming wraps every chunk in a JSON-RPC envelope with the original id preserved, transitions status.state from working to completed, and emits artifact append events for the text deltas.

agent_card

The HashRef returned by the discovery endpoint. Defaults to a generic "Knarr Agent" card with streaming: true; override to advertise specific skills, version, etc.

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.