Master AgentRPC with our step-by-step tutorial, detailed feature walkthrough, and expert tips.
Install the SDK Install the AgentRPC SDK for your language of choice. For TypeScript: `npm install @agentrpc/sdk`. For Python: `pip install agentrpc`. For Go: `go get github.com/agentrpc/agentrpc`. ##
Register Functions Use the SDK's registration API to expose your functions. Each function gets a name, description, and typed input schema that the RPC layer uses to generate OpenAI
compatible tool definitions automatically. ##
Connect Your Agent Point your AI agent at the RPC server (self
hosted or api.agentrpc.com) and call registered functions by name. The SDK handles serialization, long
polling for extended tasks, and MCP protocol translation if you're using an MCP
compatible host.
💡 Quick Start: Follow these 7 steps in order to get up and running with AgentRPC quickly.
Explore the key features that make AgentRPC powerful for integrations workflows.
AgentRPC is designed specifically for AI agent workflows rather than general service-to-service communication. It handles long-running function calls via long-polling, includes built-in MCP server support, and provides OpenAI-compatible tool definitions out of the box. gRPC requires open ports and bidirectional streaming setup, while AgentRPC works through outbound-only connections that traverse firewalls without configuration.
No. AgentRPC adds value only when network boundaries prevent direct function calls between your agent and your tools. If your tools are publicly accessible via HTTP, standard API calls or a direct MCP server are simpler and more efficient — AgentRPC would add unnecessary complexity and latency.
The hosted RPC server at api.agentrpc.com adds a network hop between your agent and your function, which introduces tens of milliseconds of additional latency depending on geography. For functions that complete in milliseconds, this adds noticeable overhead. For longer-running tasks (seconds to minutes), the overhead is negligible relative to execution time.
Yes. All SDKs and core components are open-source under the Apache 2.0 license on GitHub, which permits unrestricted commercial use, modification, redistribution, and self-hosting. The managed hosting at api.agentrpc.com is optional — teams can run the entire stack on their own infrastructure at zero software cost.
Temporal is a general-purpose workflow orchestration engine with durable state management, automatic retries, complex workflow graphs, and versioning support. AgentRPC is much narrower in scope — it focuses specifically on letting AI agents call functions across network boundaries with long-polling support. If you need full workflow orchestration, choose Temporal. If you just need cross-network function calls for agents, AgentRPC is simpler to deploy.
AgentRPC does not publish a public pricing page as of early 2026. The open-source SDK is completely free under Apache 2.0 with no usage restrictions, so self-hosting has zero software cost — you only pay for the infrastructure you run it on. For managed hosting at api.agentrpc.com, pricing is quote-based and scales with function call volume and team size. Contact the AgentRPC team directly for a quote.
Now that you know how to use AgentRPC, it's time to put this knowledge into practice.
Sign up and follow the tutorial steps
Check pros, cons, and user feedback
See how it stacks against alternatives
Follow our tutorial and master this powerful integrations tool in minutes.
Tutorial updated March 2026