Trpc Agent Go logo

Trpc Agent Go

Build Go-native agents with MCP tools, graph workflows, memory, evaluation, and OpenTelemetry observability.

Install Trpc Agent Go

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for trpc-agent-go, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

trpc-agent-go is a Go framework for building agent applications with MCP tool support, graph workflows, memory, evaluation, and observability. Agents can combine function tools, MCP tools, web search, code execution, and custom services, while runners handle streaming, cancellation, sessions, and shared state. Its Go-native APIs suit customer support, data analysis, DevOps, research, and multi-step business workflows. Reach for it when an agent needs structured orchestration or must integrate with Go services.

Use cases

  • Build customer-support agents that retain session context
  • Orchestrate multi-step data-analysis workflows
  • Connect Go agents to MCP tools
  • Automate DevOps tasks with concurrent agents
  • Evaluate and observe production agent runs

Key features

  • MCP and function tool integration
  • Typed graph and multi-agent workflows
  • Session memory and knowledge retrieval
  • Agent Skills and self-evolution
  • Evaluation with repeatable runs
  • OpenTelemetry and Langfuse observability

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1.9kStargazers on the source repository.
Last commitTodayMost recent push to the default branch.

How Trpc Agent Go works

What trpc-agent-go does

trpc-agent-go provides a Go-native runtime for building agent systems rather than a single-purpose chatbot or standalone MCP endpoint. It combines LLM agents, tool calling, graph-based workflows, session state, memory, knowledge retrieval, evaluation, and telemetry. MCP is one part of its tool ecosystem: an agent can use MCP tools alongside ordinary Go function tools and other supported capabilities.

The framework is aimed at applications that need service-friendly execution. Streaming runs, context cancellation, concurrent workflows, persistent state, and OpenTelemetry instrumentation are part of the surrounding runtime. Supported application patterns include customer support, data analysis, DevOps automation, business process workflows, and research or document question-answering systems.

How it works

Agents run through a runner that receives a user, session, and message context. Multiple agents can be arranged in chains, parallel execution, or cycle-based workflows. GraphAgent adds typed workflow nodes and conditional routing for more explicit orchestration.

Tools may be ordinary functions converted into callable agent tools, MCP tools created from a server connection, web search, code execution, or custom services. Memory can be attached at the runner level or exposed through tools, allowing agents to retain context across sessions. The framework also includes knowledge retrieval, artifacts, agent skills, and integrations for A2A and AG-UI applications.

Agent Skills use folders containing SKILL.md files. A filesystem repository can load skills from local roots or from an HTTP(S) archive, with local caching controlled by SKILLS_CACHE_DIR. A separate evolution service can review completed sessions, apply quality gates, and publish reusable skills for later turns.

Setup and configuration

Use the Go module trpc.group/trpc-go/trpc-agent-go as the application framework. A typical application creates a model-backed agent, registers tools, constructs a runner, and invokes the runner with user and session identifiers. MCP support is illustrated through an MCP server connection passed to the MCP tool adapter.

Memory services can be created in memory and supplied to the runner. Langfuse examples add tracing attributes to runs, while OpenTelemetry provides the broader tracing and metrics integration. For skill repositories, set SKILLS_CACHE_DIR when the default cache location should be replaced.

When skills are connected through an LLM agent with code execution enabled, the response processor can be disabled so fenced Markdown code in assistant output is not automatically executed while skill_run is available.

Tools and capabilities

  • Function tools created from Go functions
  • MCP tools connected through an MCP server connection
  • Web search, code execution, and custom service tools
  • Chain, parallel, cycle-based, and graph workflows
  • Sessions, memory, artifacts, and knowledge retrieval
  • Reusable SKILL.md workflows with local or archived repositories
  • Session review and gated skill publication through agent self-evolution
  • Evaluation runs with configurable repetition and result status
  • OpenTelemetry tracing and metrics, with Langfuse examples
  • A2A, AG-UI, and MCP protocol integration

Limitations and notes

The project is a Go framework for embedding agent capabilities in an application. Its MCP role is tool integration within that framework, so developers still need to create the surrounding agent, runner, and connection setup. Skill execution requires particular care when code execution is enabled, especially if assistant-generated fenced code should not run automatically.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Trpc Agent Go

trpc-agent-go is an MCP server that connects Go-native agent applications to MCP tools and supports function tools, web search, code execution, and custom services. It also provides runners, graph workflows, memory, evaluation, and observability so developers can embed MCP-enabled agents in Go services.

Create an MCP server connection and pass it to the framework’s MCP tool adapter, then register the resulting tool with the agent. MCP tools can be used alongside function tools, web search, code execution, and custom service tools.

Yes, trpc-agent-go supports chained, parallel, and cycle-based agent collaboration. GraphAgent adds typed graph workflows with conditional routing, allowing developers to express more structured execution paths.

trpc-agent-go provides session and memory state, including an in-memory service that can be attached to a runner or exposed through tools. The framework also includes artifacts and knowledge retrieval for broader state and information workflows.

Use the framework’s OpenTelemetry support for tracing and metrics, or follow its Langfuse integration examples. Runs can include attributes such as user and session identifiers for more detailed trace context.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTrpc Agent Go AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/trpc-agent-go?style=directory)](https://allmcps.com/mcp/trpc-agent-go)
HTML Embed
<a href="https://allmcps.com/mcp/trpc-agent-go"><img src="https://allmcps.com/api/badge/trpc-agent-go?style=directory" alt="Trpc Agent Go on AllMCPs" /></a>