ayjnt-workflows

Integrate durable Cloudflare Workflows with agents using the AgentWorkflow mixin.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the challenge of managing long-running, multi-step processes that must survive worker restarts and handle failures gracefully without manual state management.

Core Features & Use Cases

  • Durable Execution: Automatically retries failed steps with exponential backoff and resumes from the last successful state after worker restarts.
  • Agent Integration: Provides a typed RPC interface between the agent and the workflow, allowing for seamless status updates and state synchronization.
  • Use Case: Use this to handle complex order processing where you need to perform multiple external API calls, wait for human approval, and update the agent's state consistently.

Quick Start

Add a workflow.ts file next to your agent.ts and extend the AgentWorkflow class to define your durable execution steps.

Frequently Asked Questions about ayjnt-workflows

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

FAQPage Schema
How do I add durable workflows to an agent for reliable background processing?

Durable workflows survive worker restarts by automatically resuming from the last successful state, ensuring long-running agent processes continue reliably without manual state management.

How do I handle failed steps and retries in Cloudflare Workflows?

Cloudflare Workflows handle failures by automatically retrying failed steps with exponential backoff and resuming execution from the last successful state after worker restarts.

How do I start orchestrating multi-step tasks with an AgentWorkflow class?

To start orchestrating multi-step tasks, add a workflow.ts file next to your agent.ts and extend the AgentWorkflow class to define your durable execution steps and stateful coordination logic.

Does this workflow skill provide a typed RPC interface for agent status updates?

Yes, the AgentWorkflow mixin provides a typed RPC interface between the agent and the workflow, allowing seamless status updates and state synchronization during complex background processing.

What is the best way to manage complex order processing that requires human approval and external API calls?

The best way to manage complex order processing is using durable workflows to orchestrate multiple external API calls, wait for human approval, and update the agent's state consistently across all steps.

Do I need TypeScript to use durable workflows with agents?

TypeScript is required because the AgentWorkflow mixin ensures type-safe RPC communication and binding injection, which are essential for reliable stateful coordination within the ayjnt framework.