An open API service indexing awesome lists of open source software.

https://github.com/venables/a2a-types


https://github.com/venables/a2a-types

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# a2a-types

> [!NOTE]
> Google has published the official A2A JavaScript SDK. You should use that insetad.
> https://github.com/google-a2a/a2a-js

---

A tiny TypeScript types library containing Google's official A2A (Agent2Agent) types, directly from

## Installation

```bash
npm install -D a2a-types
```

## Usage

```typescript
import type { AgentCard } from "a2a-types";
```

## Updating Types

To pull the latest types from Google's A2A repository:

```bash
npm run update-types
```

This fetches the latest types from:
https://raw.githubusercontent.com/google-a2a/A2A/refs/heads/main/types/src/types.ts

## Contributing

PRs are welcome! This library aims to stay in sync with Google's official A2A types.

## License

Apache-2.0 - from Google's A2A repository