Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion HIDDEN.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ Pages that render a TODO callout. These are live and indexed.
| `/actors/docs/http-api` | rivet repo |
| `/agentos/docs/software` (was `/agentos/docs/software`) | agentos repo |
| `/dynamic-apps/docs`, `/docs/concepts`, `/docs/quickstart` | dynamic-apps repo — whole vertical unwritten |
| `/workflows/docs`, `/docs/concepts`, `/docs/quickstart` | workflows repo — whole vertical unwritten |
| `/secure-exec/docs` | secure-exec repo — docs not ported from secureexec.dev yet. `vendor/secure-exec` is a one-page placeholder bundle, and the Overview's deep docs links still point at `https://secureexec.dev/docs/*` until they land |

## Content parked, not published
Expand Down
2 changes: 1 addition & 1 deletion src/content/overviews/actors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ The [Actor Inspector](/actors/docs/inspector-tabs) shows live state, connections
## The foundation the rest of Rivet builds on

- [**agentOS**](/agentos/docs) adds files, processes, a shell, and networking when an agent needs a computer. Every agentOS VM is an Actor.
- [**Workflows**](/workflows/docs) adds recorded steps, retries, and replay for work that outlives a process. Every workflow is an Actor run handler.
- [**Workflows**](/workflows/docs) adds recorded steps, retries, and replay for work that outlives a process. Every workflow is an Actor.
- [**Dynamic Apps**](/dynamic-apps/docs) deploys the apps your agents build. Every app runs as Actors that scale to zero and wake on demand.

## Develop locally, deploy your way
Expand Down
4 changes: 2 additions & 2 deletions src/content/overviews/workflows.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: "Durable TypeScript workflows built on Rivet Actors: recorded steps
seoTitle: "Rivet Workflows: durable agent automation"
---

Automate agent work that outlives a process. Steps record their results, wait for people or systems, and resume after crashes and deploys. Every workflow is a Rivet Actor run handler, so each run gets the Actor's identity, state, queue, and scheduling for free.
Automate agent work that outlives a process. Steps record their results, wait for people or systems, and resume after crashes and deploys. Every workflow is a Rivet Actor, so each run gets the Actor's identity, state, queue, and scheduling for free.

<CardGroup>
<Card title="Quickstart" href="/workflows/docs/quickstart">
Expand Down Expand Up @@ -49,7 +49,7 @@ The run inspector in the Rivet dashboard traces every step's status, timing, att

## One foundation, composable with the rest of Rivet

- [**Actors**](/actors/docs): every workflow is an Actor run handler. Actors provide identity, state, queues, and scheduling.
- [**Actors**](/actors/docs): every workflow is an Actor. Actors provide identity, state, queues, and scheduling.
- [**agentOS**](/agentos/docs): adds files, processes, a shell, and networking when a workflow drives an agent using real tools.
- [**Dynamic Apps**](/dynamic-apps/docs): adds a generated backend when the workflow should ship an application to users.

Expand Down
2 changes: 1 addition & 1 deletion src/data/agentSetupPrompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const AGENT_SETUP_PROMPTS = {
packageName: '@rivet-dev/workflows',
quickstartUrl: 'https://rivet.dev/workflows/docs/quickstart/',
docsUrl: 'https://rivet.dev/workflows/docs/',
issuesUrl: 'https://github.com/rivet-dev/rivet/issues',
issuesUrl: 'https://github.com/rivet-dev/workflows/issues',
}),
'dynamic-apps': buildAgentSetupPrompt({
product: 'Dynamic Apps',
Expand Down
4 changes: 2 additions & 2 deletions src/data/faqs/workflows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const workflowsFaqs: FaqItem[] = [
{
question: "What is a Rivet Workflow?",
answerHtml:
'An <a href="https://rivet.dev/actors/docs/">Actor</a> run handler wrapped in workflow(). Each ctx.step() records its result, so a run resumes after restarts and deployments.',
'An <a href="https://rivet.dev/actors/docs/">Actor</a> defined with workflow() from @rivet-dev/workflows. Each ctx.step() records its result, so a run resumes after restarts and deployments.',
},
{
question: "Does Workflows guarantee exactly-once execution?",
Expand All @@ -32,6 +32,6 @@ export const workflowsFaqs: FaqItem[] = [
{
question: "Is Rivet Workflows open source?",
answerHtml:
'Yes, Apache 2.0. Read the <a href="https://github.com/rivet-dev/rivet/tree/main/rivetkit-typescript/packages/rivetkit/src/workflow">implementation on GitHub</a>.',
'Yes, Apache 2.0. Read the <a href="https://github.com/rivet-dev/workflows">implementation on GitHub</a>.',
},
];
104 changes: 0 additions & 104 deletions src/data/use-cases.ts

This file was deleted.

9 changes: 4 additions & 5 deletions src/pages/agentos.astro
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,16 @@ await bob.prompt({
{ key: 'workflows', fileName: 'workflow.ts', code: `// server.ts
import { agentOS, setup } from "@rivet-dev/agentos";
import pi from "@agentos-software/pi";
import { actor, queue } from "rivetkit";
import { workflow } from "rivetkit/workflow";
import { queue, workflow } from "@rivet-dev/workflows";
Comment thread
jog1t marked this conversation as resolved.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 Medium · The combined agentOS workflow example still does not type-check

The dependency mismatch remains on the refreshed head: current agentOS still pins rivetkit@2.3.10, while @rivet-dev/workflows requires >=2.3.11 <2.4.0. A clean install therefore loads two nominally incompatible RivetKit Registry/ActorDefinition classes, and this snippet fails at step.client<typeof registry>() with TS2344 because the private class members come from different copies. Land and release the agentOS dependency fix before publishing this example, or keep the example off the page until the packages can be installed together.


const vm = agentOS({ software: [pi] });

const codeReview = actor({
const codeReview = workflow({
state: { status: "pending" },
queues: {
review: queue<{ approved: boolean; feedback?: string }>(),
},
run: workflow(async (ctx) => {
run: async (ctx) => {
let feedback = "";

for (let revision = 1; revision <= 3; revision++) {
Expand Down Expand Up @@ -164,7 +163,7 @@ const codeReview = actor({
}

throw new Error("Review rejected after 3 revisions");
}),
},
});

export const registry = setup({ use: { vm, codeReview } });
Expand Down
Loading