a2a-redis

UnisonAI
1
Redis integrations for A2A SDK, offering task storage and event management.

Overview

What is a2a-redis

a2a-redis is a Redis integration package for the Agent-to-Agent (A2A) JavaScript/TypeScript SDK, providing persistent task storage and event management functionalities.

How to Use

To use a2a-redis, install the package via npm or yarn, and then integrate it into your A2A SDK implementation by utilizing its Redis-backed components for task storage and event queue management.

Key Features

Key features include Redis-backed task storage (RedisTaskStore & RedisJSONTaskStore), persistent event queues (RedisStreamsQueueManager & RedisStreamsEventQueue), real-time event broadcasting (RedisPubSubQueueManager & RedisPubSubEventQueue), and task-based push notification configuration (RedisPushNotificationConfigStore).

Where to Use

a2a-redis can be used in applications requiring reliable task management and event handling, particularly in serverless environments, real-time applications, and microservices architectures.

Use Cases

Use cases for a2a-redis include managing background tasks, implementing event-driven architectures, broadcasting notifications in real-time applications, and ensuring reliable task execution in distributed systems.

Content