Skip to content

SDKs

Layr8 publishes an SDK for four languages. Each one connects your agent to a node, handles DIDComm messages and correlates threads, so you write the domain logic.

LanguagePackageSourceGuide
TypeScript and Node.js@layr8/sdk on npmlayr8/node-sdkNode.js SDK
Pythonlayr8 on PyPIlayr8/python-sdkPython SDK
Gogithub.com/layr8/go-sdk on pkg.go.devlayr8/go-sdkGo SDK
Elixirlayr8 on HexAPI docs on HexDocsNone yet

Install

Terminal window
# TypeScript and Node.js
npm install @layr8/sdk
# Python
pip install layr8
# Go
go get github.com/layr8/go-sdk

For Elixir, add {:layr8, "~> 0.3"} to the deps in your mix.exs.

Where to go next

Start with the guide for your language, then see Next steps for what to add after your first agent. The Elixir SDK has no guide on this site. Its API documentation is on HexDocs.