Jev directory
CommunityJev Repos & SDKs
TypeSafe SDK Gleam
Unofficial Gleam client for the TypeSafe AI API targeting Erlang, added as a pinned Git dependency rather than published to Hex. It exposes from_env, system_one, typed content and question modules, and Erlang logger integration.
- Stars
- 0
- Reading time
- 2 min
- Published by
- Community
- Added
- Nov 2026
Highlights
- Unofficial Gleam client for the TypeSafe AI API, targeting Erlang; not maintained or endorsed by TypeSafe.
- Not published to Hex; added as a Git dependency pinned to a commit in gleam.toml.
- Exposes from_env, system_one, and typed content and question modules such as question.noul.
- Logs through the Erlang logger; retries, timeouts, and connection errors log at warning level.
- Live API tests in test/live.gleam need TYPESAFE_API_KEY and run via gleam run -m live.
Questions about this entry
Short answers drawn from the linked project or page.
Add it as a Git dependency in gleam.toml pinned to a commit ref, then run gleam deps download. The package is not published to Hex, so a version constraint from the registry is not available.
No. The README states the package is not published to Hex and must be consumed as a Git dependency pinned to a commit.
It is an unofficial client by Daniel Gregoire, translated using Claude models from typesafe-sdk-js. TypeSafe does not maintain or endorse it.
The live tests in test/live.gleam need a key, so plain gleam test skips them. Run TYPESAFE_API_KEY=... gleam run -m live, and add TYPESAFE_LIVE_IMAGES=1 to include the image tests.
The SDK logs through the Erlang logger, with retries, timeouts, and connection errors at warning level. Call logging.configure() and logging.set_level(logging.Debug) from typesafe/logging to see request summaries and bodies.
It is MIT licensed, copyright 2026 Daniel Gregoire. The logging modules are adapted from lpil/logging v1.5.0 under the Apache License 2.0, included as LICENSE-APACHE.
It targets the Erlang target for Gleam. The README describes it as a client for the Erlang target and does not claim JavaScript target support.
From the Jev guides
Original write-ups on what this entry is for.
From the Jev AI model community
Posts from builders shipping with Jev right now.