Go SDK for generative AI application development
Top 64.0% on sourcepulse
This library provides a Go-idiomatic framework for building generative AI applications and autonomous agents, targeting developers who prefer Go's performance and static typing over Python-based solutions. It aims to simplify the creation of complex AI systems by offering a clean, extensible, and efficient approach.
How It Works
Agency is built around a core concept of composable "operations" that can be chained together to form "processes." This design allows developers to separate business logic from AI provider implementations, promoting clean architecture. Custom operations can be created by implementing a simple interface, and interceptors can be used to observe or modify each step in a process. The library currently offers bindings for OpenAI's API, supporting text-to-text, text-to-image, text-to-speech, and speech-to-text functionalities.
Quick Start & Requirements
go get github.com/neurocult/agency
.env
file using github.com/joho/godotenv/autoload
).Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The library is currently focused on OpenAI providers, with plans to expand to others. Some planned features like metadata and advanced agent APIs are still under development according to the roadmap.
6 months ago
Inactive