trpc-agent-go  by trpc-group

Go framework for building intelligent LLM agent systems

Created 5 months ago
653 stars

Top 51.2% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

tRPC-Agent-Go is a Go framework designed for building sophisticated AI agent systems. It empowers developers to create autonomous agents capable of reasoning, remembering, collaborating, and acting by integrating Large Language Models (LLMs) with external tools. The framework targets developers building applications like intelligent customer support bots, data analysis assistants, DevOps automation tools, and RAG-powered knowledge management systems, offering a robust foundation for complex AI workflows with enterprise-grade reliability.

How It Works

The framework employs a modular architecture orchestrated by a Runner, which manages agent execution, session state, and telemetry. Agents, powered by LLMs, leverage a Planner to determine optimal strategies and tool selections. A rich Tool ecosystem allows seamless integration of functions, APIs, databases, and services. Key differentiators include advanced hierarchical planning, multi-agent orchestration supporting chain, parallel, and graph-based workflows, and a persistent Memory system for long-term state management and contextual awareness. This design facilitates the creation of agents that can collaborate effectively and maintain context across interactions.

Quick Start & Requirements

  • Primary Install/Run Command: After cloning the repository and configuring LLM API keys, run examples using go run examples/runner/main.go -model="gpt-4o-mini" -streaming=true.
  • Prerequisites: Go 1.21 or later, LLM provider API key (e.g., OpenAI, DeepSeek).
  • Estimated Setup Time: Approximately 5 minutes to build a first intelligent agent.
  • Relevant Links: Documentation (implied), Examples directory.

Highlighted Details

  • Multi-Agent Orchestration: Enables complex workflows through sequential chaining, parallel execution, and graph-based agent interactions.
  • Advanced Memory System: Features persistent memory with search capabilities, ensuring agents retain context and state across sessions.
  • Rich Tool Integration: Supports arbitrary function integration, external APIs, databases, and MCP protocol for dynamic tool execution.
  • Production Monitoring: Integrated OpenTelemetry support for robust telemetry, tracing, and metrics collection.

Maintenance & Community

The project is maintained by the tRPC-Agent-Go team and benefits from contributions from a growing developer community. It has received validation and support from Tencent business units, including Tencent Yuanbao, Tencent Video, Tencent News, IMA, and QQ Music. Community engagement is encouraged through GitHub Issues and Discussions.

Licensing & Compatibility

Licensed under the Apache 2.0 License, which permits commercial use and integration into closed-source projects.

Limitations & Caveats

The provided README does not explicitly detail limitations, alpha status, or known bugs, presenting the framework as production-ready.

Health Check
Last Commit

18 hours ago

Responsiveness

Inactive

Pull Requests (30d)
142
Issues (30d)
18
Star History
532 stars in the last 30 days

Explore Similar Projects

Starred by Gagan Bansal Gagan Bansal(Coauthor of AutoGen; Research Scientist at Microsoft Research), Elvis Saravia Elvis Saravia(Founder of DAIR.AI), and
1 more.

agent-framework by microsoft

5.7%
5k
AI agent and multi-agent workflow framework
Created 6 months ago
Updated 21 hours ago
Feedback? Help us improve.