RPC
This is the official documentation of the agent_ruby Ruby agent.
The RPC datasource allows you to distribute your Forest Admin agent across multiple microservices. Each service runs its own RPC agent, and a main agent aggregates them into a unified admin panel.
Why use RPC?
Microservices architecture: Your application is split into multiple services, each owning its data
Team isolation: Each team manages their own Forest Admin configuration
Independent deployment: Update one service without redeploying the entire admin panel
Scalability: Distribute load across multiple agents
Architecture overview

Main agent: Central aggregator that combines multiple RPC datasources and exposes them to Forest Admin
RPC agents: Service-specific agents that serve their collections via RPC
Getting started
Configure the Main agent: Set up the central aggregator that connects to all RPC agents
Configure RPC agents: Set up service agents and define cross-RPC relations
Last updated