Cover image
Try Now
2025-03-21

A universal RPC layer for AI agents. Connect to any function, any language, any framework, in minutes.

3 years

Works with Finder

0

Github Watches

13

Github Forks

55

Github Stars

AgentRPC

NPM Version GitHub go.mod Go version PyPI - Python Version License

Universal RPC layer for AI agents across network boundaries and languages

Overview

AgentRPC allows you to connect to any function, in any language, across network boundaries. It's ideal when you have services deployed in:

  • Private VPCs
  • Kubernetes clusters
  • Multiple cloud environments

AgentRPC wraps your functions in a universal RPC interface, connecting them to a hosted RPC server accessible through open standards:

  • Model Context Protocol (MCP)
  • OpenAI-compatible tool definitions (OpenAI, Anthropic, LiteLLM, OpenRouter, etc.)

deployment

How It Works

  1. Registration: Use our SDK to register functions and APIs in any language
  2. Management: The AgentRPC platform (api.agentrpc.com) registers the function and monitors its health
  3. Access: Receive OpenAPI SDK compatible tool definitions and a hosted MCP server for connecting to compatible agents

Key Features

Feature Description
Multi-language Support Connect to tools in TypeScript, Go, Python and .NET (coming soon)
Private Network Support Register functions in private VPCs with no open ports required
Long-running Functions Long polling SDKs allow function calls beyond HTTP timeout limits
Full Observability Comprehensive tracing, metrics, and events for complete visibility
Automatic Failover Intelligent health tracking with automatic failover and retries
Framework Compatibility Out-of-the-box support for MCP and OpenAI SDK compatible agents

Getting Started

Quick Start

Follow the quick start example on our docs site.

Examples

Explore working examples in the examples directory.

MCP Server

The AgentRPC TypeScript SDK includes an optional MCP (Model Context Protocol) server.

ANGENTRPC_API_SECRET=YOUR_API_SECRET npx agentrpc mcp

This launches an MCP-compliant server for external AI models to interact with your registered tools.

Claude Desktop Integration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "agentrpc": {
      "command": "npx",
      "args": [
        "-y",
        "agentrpc",
        "mcp"
      ],
      "env": {
        "AGENTRPC_API_SECRET": "<YOUR_API_SECRET>"
      }
    }
  }
}

More Info

Cursor Integration

Add to your ~/.cursor/mcp.json:

{
  "mcpServers": {
    "agentrpc": {
      "command": "npx",
      "args": ["-y", "agentrpc", "mcp"],
      "env": {
        "AGENTRPC_API_SECRET": "<YOUR_API_SECRET>"
      }
    }
  }
}

More Info

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

This repository contains all the open-source components and SDKs for AgentRPC.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

    Reviews

    4 (1)
    Avatar
    user_FyX18cuW
    2025-04-16

    I've been using agentrpc for some time now and I must say it's incredibly efficient. The tool simplifies remote procedure calls, making my development process much smoother. The documentation is clear and the setup is straightforward. Kudos to the agentrpc team for this amazing product! Highly recommend checking it out if you're looking for a reliable RPC solution.