What problem does it solve?
This Skill solves the complexity of managing communication between stateful agents and their frontends, providing a unified, type-safe way to handle inter-agent calls and browser-to-agent interactions.
Core Features & Use Cases
- Type-Safe RPC: Enables native Cloudflare Durable Object RPC between agents using getAgent.
- Browser Integration: Exposes agent methods to React UIs via the @callable decorator, ensuring end-to-end type safety.
- Catalog Discovery: Automatically generates a catalog of callable methods for discovery and documentation.
- Use Case: Use this to build a multi-agent system where an OrderAgent needs to call an InventoryAgent to decrement stock, while simultaneously exposing a UI method for users to place orders directly.
Quick Start
Use the ayjnt-rpc skill to decorate your agent methods with @callable and invoke them from your frontend using the generated agent stub.