# Smithy

> Protocol-agnostic interface definition language that generates clients, servers and docs

Source: https://talira.ai/catalog/smithy-79g5q3tr
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Library
- Categories: [developer tools / api / design](https://talira.ai/categories/developer-tools/api/design), [developer tools / api / sdk generation](https://talira.ai/categories/developer-tools/api/sdk-generation)
- Licence: Apache-2.0[^3][^4]
- Pricing: Free and open source[^3]
- Free tier: yes[^3]
- Backed by: [Amazon Web Services](https://talira.ai/orgs/amazon-web-services.md)
- Funding: part of Amazon[^5]

Smithy is an open source interface definition language from AWS, which uses it for its own APIs and SDKs: you define an API once in a protocol-agnostic model, and `smithy build` generates type-safe client SDKs in ten languages (TypeScript, Python, Go, Rust, Kotlin, Swift, Java, Scala, Ruby and Dafny), servers in TypeScript and Java, API documentation and OpenAPI and JSON Schema. One model can be served over REST JSON, RPC v2 CBOR, AWS JSON or query/XML. Each language's code generator and runtime is its own project, such as smithy-go, which powers [AWS SDK for Go](https://talira.ai/catalog/aws-sdk-for-go-9zvg8t91.md) v2.

## Links

- Website: https://smithy.io/
- GitHub: https://github.com/smithy-lang/smithy
- Docs: https://smithy.io/2.0/index.html

## Ways to install

### Package managers

- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/smithy>[^1]

## Problems it solves

- define an API once and generate SDKs in many languages
- generate OpenAPI from an API model
- model a service API independently of its wire protocol

## Features

- protocol-agnostic API models
- client SDKs in ten languages
- TypeScript and Java servers
- OpenAPI and JSON Schema output
- REST JSON, RPC v2 CBOR, AWS JSON and query protocols

## Limitations

- smithy-go's general client generation is at an early stage: generated clients lack some features such as retries, and its APIs may change.[^2]

## Trust

Overall: 0.70 out of 1.
Signals: maintenance 1.00, adoption 0.68, momentum 0.43, community 0.88, backing 0.55, extensibility 0.00.

- last commit 3 days ago
- 104 commits in the last 90 days
- latest release 1.75.1 4 days ago
- 2.4k GitHub stars
- 156 contributors
- backed by Amazon Web Services
- funding: part of Amazon

## Alternatives

- [Stoplight](https://talira.ai/catalog/stoplight-r2j9hckj.md): Design, document, and build APIs faster

## Sources

[^1]: https://mise-versions.jdx.dev/tools.json (checked 29 Nov 2026)
[^2]: https://github.com/aws/smithy-go/blob/main/README.md (checked 29 Nov 2026)
[^3]: https://smithy.io/ (checked 29 Nov 2026)
[^4]: https://github.com/smithy-lang/smithy/blob/main/LICENSE (checked 29 Nov 2026)
[^5]: https://aws.amazon.com/about-aws/ (checked 20 Nov 2026)
