by agentrpc
AgentRPC is a universal RPC layer designed for AI agents. It allows agents to connect to and execute functions written in any programming language, across any network boundary, simplifying the integration of disparate services and tools into a cohesive AI-powered workflow.
AgentRPC is a universal RPC (Remote Procedure Call) layer designed for AI agents. It allows agents to connect to and execute functions written in any programming language, across any network boundary, including private VPCs and Kubernetes clusters. This simplifies the integration of disparate services and tools into a cohesive AI-powered workflow.
To use AgentRPC, you first register your functions or APIs using the AgentRPC SDK available for TypeScript, Go, and Python. The AgentRPC platform then manages these registered functions, monitors their health, and provides a hosted MCP server and OpenAPI SDK compatible tool definitions. This allows AI agents that support these standards (like those from OpenAI, Anthropic, or custom builds with LiteLLM) to easily discover and call the registered functions.
As a developer-focused tool, common questions would likely center on:
For detailed answers, developers should consult the official AgentRPC documentation and GitHub repository.
Universal RPC layer for AI agents across network boundaries and languages
AgentRPC allows you to connect to any function, in any language, across network boundaries. It's ideal when you have services deployed in:
AgentRPC wraps your functions in a universal RPC interface, connecting them to a hosted RPC server accessible through open standards:
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 |
Follow the quick start example on our docs site.
Explore working examples in the examples directory.
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.
Add to your claude_desktop_config.json
:
{
"mcpServers": {
"agentrpc": {
"command": "npx",
"args": [
"-y",
"agentrpc",
"mcp"
],
"env": {
"AGENTRPC_API_SECRET": "<YOUR_API_SECRET>"
}
}
}
}
Add to your ~/.cursor/mcp.json
:
{
"mcpServers": {
"agentrpc": {
"command": "npx",
"args": ["-y", "agentrpc", "mcp"],
"env": {
"AGENTRPC_API_SECRET": "<YOUR_API_SECRET>"
}
}
}
}
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.
Reviews feature coming soon
Stay tuned for community discussions and feedback