---
title: "Client Libraries and Tools"
description: "Choose a client or command-line tool for the Y2 API"
canonical: https://y2.dev/docs/sdks/
---

# Client Libraries and Tools

Choose a client or command-line tool for the Y2 API

Generate a client from the [OpenAPI contract](https://y2.dev/docs/api/openapi), or make requests with an HTTP client. Choose a guide for your runtime:

[TypeScript](https://y2.dev/docs/sdks/typescript): Make a typed request with native fetch.

[Python](https://y2.dev/docs/sdks/python): Make requests with the standard library.

[Y2 command line](https://y2.dev/docs/sdks/cli): Install the native harness and run Agent Y2.

[curl recipes](https://y2.dev/docs/sdks/curl): Read, export, and update API resources from a shell.

## Other integration tools

| Tool                                                 | Use                                             |
| ---------------------------------------------------- | ----------------------------------------------- |
| [API Workbench](https://y2.dev/docs/api/workbench)   | Inspect operations and run read requests        |
| [MCP server](https://y2.dev/docs/api/mcp-local)      | Give a local agent access to Y2 tools           |
| [OpenAPI generator](https://y2.dev/docs/api/openapi) | Generate types or a client for another language |

[Create an API key](https://y2.dev/docs/api/create-key) before making authenticated requests. Keep the key on your server or local runtime.

## Check a generated client

Check these behaviors before using a generated client:

- Use the operation's server override for Intel v2.
- Preserve response headers for pagination, limits, and request IDs.
- Handle [Problem Details](https://y2.dev/docs/api/responses#errors).
- Handle each response format your integration uses.
- Keep generated code in source control or pin the input specification.

Package method names depend on the release. Compare the installed package with the current endpoint reference.
