agency  by neurocult

Go SDK for generative AI application development

Created 1 year ago
494 stars

Top 62.6% on SourcePulse

GitHubView on GitHub
Project Summary

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

  • Install package: go get github.com/neurocult/agency
  • Requires an OpenAI API key (can be loaded via .env file using github.com/joho/godotenv/autoload).
  • Example chat application provided in the README.
  • Official documentation and examples are available.

Highlighted Details

  • Pure Go implementation for speed and static typing.
  • Supports OpenAI API (text-to-text, text-to-image, text-to-speech, speech-to-text).
  • Extensible design with custom operation interfaces.
  • Composable operations into processes with interceptor support.
  • Roadmap includes external function calls, metadata, more providers, image-to-text, and agent API features.

Maintenance & Community

  • The project is maintained by neurocult.
  • Links to community channels or roadmaps are not explicitly provided in the README.

Licensing & Compatibility

  • The README does not explicitly state a license.

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.

Health Check
Last Commit

8 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
4 stars in the last 30 days

Explore Similar Projects

Starred by Edward Z. Yang Edward Z. Yang(Research Engineer at Meta; Maintainer of PyTorch), Anton Osika Anton Osika(Cofounder of Lovable), and
3 more.

gptme by gptme

0.3%
4k
CLI tool for terminal agent workflows
Created 2 years ago
Updated 22 hours ago
Starred by Alex Yu Alex Yu(Research Scientist at OpenAI; Former Cofounder of Luma AI) and Will Brown Will Brown(Research Lead at Prime Intellect).

atomic-agents by BrainBlend-AI

0.8%
5k
Agentic AI framework for building modular, predictable AI pipelines
Created 1 year ago
Updated 2 weeks ago
Starred by Paul Stamatiou Paul Stamatiou(Cofounder of Limitless), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
5 more.

claude-task-master by eyaltoledano

1.0%
22k
AI-powered task management system for code editors
Created 6 months ago
Updated 1 day ago
Starred by Elvis Saravia Elvis Saravia(Founder of DAIR.AI), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
4 more.

activepieces by activepieces

0.9%
18k
Open-source Zapier alternative for AI workflow automation
Created 2 years ago
Updated 1 day ago
Feedback? Help us improve.