
GoAI Kit
by mhrlife
A minimal, no-magic Go library for interacting with OpenAI-compatible LLMs with structured JSON and tool support.
What it does
GoAI Kit is a streamlined Go library designed for developers who want to integrate OpenAI-compatible Large Language Models into their applications without heavy boilerplate. It provides a robust set of tools for generating plain text, structured JSON responses, and managing complex agentic workflows with tool orchestration.
Tools
- Typed JSON Generation: Define Go structs to automatically handle prompting and unmarshaling of structured data.
- Agent Tool Execution: Implement the
ToolExecutorinterface to create custom tools that the AI can call. - Text Embeddings: Generate high-dimensional vectors using OpenAI-compatible embedding models.
- Vector DB Integration: Built-in support for Redis-based vector storage for RAG and semantic search.
- Multimodal Analysis: Capabilities for uploading and analyzing images and PDFs.
Installation
To use GoAI Kit in your project:
go get github.com/mhrlife/goai-kit
Supported hosts
- claude
Quick install
go get github.com/mhrlife/goai-kitInformation
- Pricing
- free
- Published
- 4/23/2026
- stars






