ayjnt-rpc

Facilitate type-safe RPC between stateful agents and browser interfaces via Durable Object RPC.

3|1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/northclock/ayjnt --skill ayjnt-rpc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ayjnt-rpc
Source: https://github.com/northclock/ayjnt/tree/main/.claude/skills/ayjnt-rpc
Command: npx skills add https://github.com/northclock/ayjnt --skill ayjnt-rpc

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about ayjnt-rpc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make type-safe remote procedure calls between Cloudflare Durable Objects agents?

Type-safe remote procedure calls between Cloudflare Durable Objects agents are facilitated by using native Durable Object RPC through getAgent. This provides a unified, type-safe way to handle inter-agent communication within complex agent-based architectures.

How do I expose agent methods to a React frontend using web-sockets?

Exposing agent methods to a React frontend is achieved using the @callable decorator, which exposes browser-callable methods through decorator-based metadata. This ensures end-to-end type safety for browser-to-agent interactions.

What is the best way to generate a typed client binding for browser-to-agent interactions in TypeScript?

The best way to generate typed client bindings is through automatic catalog generation of callable methods. This automatically generates a catalog for discovery and documentation, ensuring consistent typed client bindings for your interfaces.

Can I build a multi-agent system where agents communicate directly using TypeScript?

Yes, you can build a multi-agent system where stateful agents communicate directly using TypeScript. For example, an OrderAgent can call an InventoryAgent to decrement stock while simultaneously exposing a UI method for users to place orders.

Does Cloudflare Durable Objects RPC support decorator-based metadata for browser integration?

Yes, Cloudflare Durable Objects RPC supports decorator-based metadata for browser integration. The framework automatically generates a catalog of callable methods for discovery, ensuring consistent typed client bindings for complex architectures.