Skip to main content

HasteKit SDK

A Golang SDK for developers who want fine-grained control over LLM interactions and agent orchestration. The HasteKit SDK abstracts away provider differences, letting you switch between OpenAI, Anthropic, Gemini and more 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 dynamic 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:
resp, _ := client.NewResponses(ctx, &responses.Request{
    Model: "OpenAI/gpt-4.1-mini", // or "Anthropic/claude-haiku-4-5" or "Gemini/gemini-2.5-flash"
    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.