Skip to main content

Uno SDK

A Golang SDK for developers who want fine-grained control over LLM interactions and agent orchestration. The Uno SDK abstracts away provider differences, letting you switch between OpenAI, Anthropic, and Gemini with a single line change. Build agents, connect MCP tools, and get structured outputs—all through a unified API.

Core Capabilities

Multi-Provider Support

Access to multiple providers through a unified API. Seamlessly switch between OpenAI, Anthropic, Gemini, and more.

Agent SDK

Build sophisticated AI agents with system instructions, tools, conversation history, summarization, and multi-step reasoning.

Human-in-the-loop

Integrate human feedback into agent workflows for review and approval.

Durable Execution

Create durable agents that can pause, resume, and recover from failures.

Example

Use the SDK as a lightweight wrapper to call any LLM provider. Simply change the Provider and Model to switch between providers—your application logic stays the same:
model := client.NewLLM(sdk.LLMOptions{
    Provider: llm.ProviderNameOpenAI,
    Model:    "gpt-4.1-mini",
})

resp, _ := model.NewResponses(ctx, &responses.Request{
    Instructions: utils.Ptr("You are a helpful assistant."),
    Input: responses.InputUnion{
        OfString: utils.Ptr("What is the capital of France?"),
    },
})

Get Started with the SDK →

Install the SDK and make your first LLM call in under 5 minutes.