Top AI Repos โ open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
๐ต๏ธโโ๏ธ Library designed for developers eager to explore the potential of Large Language Models (LLMs) and other generative AI through a clean, effective, and Go-idiomatic approach.
| Date | Stars |
|---|---|
| 2026-07-24 | 512 |
| 2026-07-25 | 513 |
| 2026-07-28 | 513 |
| 2026-07-30 | 513 |
| 2026-07-31 | 513 |
| 2026-08-06 | 513 |
Today
โ stars today
This week
โ stars this week
This month
โ stars this month
Momentum
0.0
growth rate 0.00%/day
# Agency: The Go Way to AI
Library designed for developers eager to explore the potential of Large Language Models (LLMs) and other generative AI through a clean, effective, and Go-idiomatic approach.
**Welcome to the agency!** ๐ต๏ธโโ๏ธ

## ๐ป Quick Start
Install package:
```bash
go get github.com/neurocult/agency
```
Chat example:
```go
package main
import (
"bufio"
"context"
"fmt"
"os"
_ "github.com/joho/godotenv/autoload"
"github.com/neurocult/agency"
"github.com/neurocult/agency/providers/openai"
)
func main() {
assistant := openai.
New(openai.Params{Key: os.Getenv("OPENAI_API_KEY")}).
TextToText(openai.TextToTextParams{Model: "gpt-4o-mini"}).
SetPrompt("You are helpful assistant.")
messages := []agency.Message{}
reader := bufio.NewReader(os.Stdin)
ctx := context.Background()
for {
fmt.Print("User: ")
text, err := reader.ReadString('\n')
if err != nil {
panic(err)
}
input := agency.NewTextMessage(agency.UserRole, text)
answer, err := assistant.SetMessages(messages).Execute(ctx, input)
if err != nil {
panic(err)
}
fmt.Println("Assistant:", string(answer.Content()))
messages = append(messages, input, answer)
}
}
```
That's it!
See [examples](./examples/) to find out more complex usecases including RAGs and multimodal operations.
## ๐ Features
โจ **Pure Go**: fast and lightweight, statically typed, no need to mess with Python or JavaScript
โจ Write **clean code** and follow **clean architecture** by separating business logic from concrete implementations
โจ Easily create **custom operations** by implementing simple interface
โจ **Compose operations** together into **processes** with the ability to observe each step via **interceptors**
โจ **OpenAI API bindings** (can be used for any openai-compatable API: text to text (completion), text to image, text to speech, speech to text
<!-- TODO v0.1.0
- [ ] Name the organization
- [ ] Reorganize folders and packages -->
## ๐ค Why need Agency?
At the heart of Agency is the ambition to empower users to build autonomous agents. While **perfect for all range of generative AI applications**, from chat interfaces to complex data analysis, our library's ultimate goal is to simplify the creation of autonomous AI systems. Whether you're building individual assistant or coordinating agent swarms, Agency provides the tools and flexibility needed to bring these advanced concepts to life with ease and efficiency.
In the generative AI landscape, Go-based libraries are rare. The most notable is [LangChainGo](https://github.com/tmc/langchaingo), a Go port of the Python LangChain. However, translating Python to Go can be clunky and may not fit well with Go's idiomatic style. Plus, some question LangChain's design, even in Python. This situation reveals a clear need for an idiomatic Go alternative.
Our goal is to fill this gap with a Go-centric library that emphasizes clean, simple code and avoids unnecessary complexities. Agency is designed with a small, robust core, easy to extend and perfectly suited to Go's strengths in static typing and performance. It's our answer to the lack of Go-native solutions in generative AI.
## Tutorial
- [Part 1](https://dev.to/emil14/agency-the-go-way-to-ai-part-1-1lhe) ([Russian translation](https://habr.com/ru/sandbox/204508/))
## ๐ฃ Roadmap
In the next versions:
- [x] Support for external function calls
- [ ] Metadata (tokens used, audio duration, etc)
- [ ] More provider-adapters, not only openai
- [x] Image to text operations
- [ ] Powerful API for autonomous agents
- [ ] Tagging and JSON output parser
Excerpt of 3,676 characters
Read on GitHub73
31
3
1
Would you bet a product on this? Bounded 0โ100 and slow moving.
matched fp:4692b7d2dc79997e, topic:llm, topic:gpt
matched fp:4692b7d2dc79997e, topic:vector-database
matched fp:4692b7d2dc79997e, topic:llmops
matched fp:4692b7d2dc79997e, topic:agents, topic:autonomous-agents