https://github.com/venables/a2a-types
https://github.com/venables/a2a-types
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/venables/a2a-types
- Owner: venables
- License: apache-2.0
- Created: 2025-06-04T22:02:15.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-11T19:46:05.000Z (about 1 year ago)
- Last Synced: 2025-09-18T11:03:14.276Z (11 months ago)
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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