Skip to content

Anam

Modern .NET SDK for Anam generated from the provider's OpenAPI definition with AutoSDK.

Nuget package dotnet License: MIT Discord

Generated from the source spec

Built from Anam's OpenAPI definition so the SDK stays close to the upstream API surface.

Auto-updated

Designed for fast regeneration and low-friction updates when the upstream API changes without breaking compatibility.

Modern .NET

Targets current .NET practices including nullability, trimming, NativeAOT awareness, and source-generated serialization.

Docs from examples

Examples stay in sync between the README, MkDocs site, and integration tests through the AutoSDK docs pipeline.

Usage

1
2
3
using Anam;

using var client = new AnamClient(apiKey);

Avatars

1
2
3
4
5
var client = new AnamClient(apiKey);

var response = await client.Avatars.ListAvatarsAsync(
    page: 1,
    perPage: 10);

Personas

1
2
3
4
5
var client = new AnamClient(apiKey);

var response = await client.Personas.ListPersonasAsync(
    page: 1,
    perPage: 10);

Sessions

1
2
3
4
5
var client = new AnamClient(apiKey);

var response = await client.Sessions.ListSessionsAsync(
    page: 1,
    perPage: 10);

Tools

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
var client = new AnamClient(apiKey);

var tools = new[]
{
    client.AsCreateSessionTokenTool(),
    client.AsListVoicesTool(),
    client.AsListAvatarsTool(),
    client.AsListPersonasTool(),
    client.AsGetSessionTranscriptTool(),
};

foreach (var tool in tools)
{
}

Voices

1
2
3
4
5
var client = new AnamClient(apiKey);

var response = await client.Voices.ListVoicesAsync(
    page: 1,
    perPage: 10);

Generate

Basic example showing how to create a client and make a request.

1
using var client = new AnamClient(apiKey);

Support

Bugs

Open an issue in tryAGI/Anam.

Ideas and questions

Use GitHub Discussions for design questions and usage help.

Community

Join the tryAGI Discord for broader discussion across SDKs.

Acknowledgments

JetBrains logo

This project is supported by JetBrains through the Open Source Support Program.