Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
docs/manual/tutorials: ten narrated tutorials, from getting started to storage and search
shinyobjectz19acea76e440
diff --git a/docs/manual/tutorials/connect-your-agent.md b/docs/manual/tutorials/connect-your-agent.mdnew file mode 100644index 00000000..cef41f07--- /dev/null+++ b/docs/manual/tutorials/connect-your-agent.md@@ -0,0 +1,55 @@+---+title: "Connect your agent"+summary: "Bring the AI you already pay for over ACP, add agents to your workspace with their own instructions, and start work with the Director."+order: 2+sources: ["apps/app/src/plugins", "apps/app/src/settings/Agents.tsx", "apps/app/src/agent/AgentEditor.tsx", "apps/app/src/acp", "apps/app/src/chat"]+tutorial: "connect-your-agent"+---++raea runs the agent you already use. This tutorial connects one, shows where your workspace's agents live, and+introduces the Director, the agent you talk to first.++## How raea uses your agent++raea doesn't sell AI. It runs the agent you already pay for, on your own computer, through the Agent Client Protocol,+called ACP for short. ACP is an open standard for talking to coding agents. raea starts your agent, hands it the+project's brief and raea's own tools, and shows its work in the feed. Your agent signs in with its own account, and raea+never sees or keeps that login.++## Pick your agent in Plugins++Open Plugins in the sidebar. The Agents section lists the agents raea knows: Claude, ChatGPT through Codex, Kimi,+Gemini, and OpenCode, which reaches any model on OpenRouter. Pick the one you pay for and press Connect. raea installs+it if this computer doesn't have it yet, and opens its sign-in in your browser. Once it's signed in, raea sends it one+short prompt, to check that it answers.++## Bring your own++If your agent isn't listed, choose Your own agent, and give raea the command that starts it. Any agent that speaks ACP+over standard input and output will work. raea starts it in the project's folder, so it reads and writes the project's+files directly.++## Agents in your workspace++Now open Settings, then Agents. Each agent here is a role, such as the Director, a Designer or an Animator, and each one+says which AI runs it and whether it's signed in. Press New agent to add another. Give it a name, choose what runs it,+and write its instructions in plain words. Agents belong to the workspace, so every project can call on them.++## The Director++Every workspace has a Director. It's the agent you talk to in New chat. It reads the whole workspace, makes projects,+and builds controllers when you ask for them. Write what you want in New chat, pick a project under the box, and the+Director starts the work there.++## Agents in a terminal++You can also work from your coding agent's own terminal. Install raea's skill with raea skills install, naming your+agent. The skill teaches it raea's loop: read the project, write the composition, check it, look at stills, then render.+The agents raea starts get the same skill, plus the feed's own tools.++```sh+raea skills install --agent codex # or kimi, gemini; Claude Code gets it with raea itself+raea skill # print the skill your installed raea ships+```++Next: [A tour of the app](tour.md).diff --git a/docs/manual/tutorials/controllers.md b/docs/manual/tutorials/controllers.mdnew file mode 100644index 00000000..b4492d4a--- /dev/null+++ b/docs/manual/tutorials/controllers.md@@ -0,0 +1,50 @@+---+title: "Controllers"+summary: "A project's settings, which every agent reads before it works: change a value in place, describe a new controller in plain words, and see how agents post a decision to the feed."+order: 6+sources: ["apps/app/src/controllers", "apps/workspace/src/controllers.rs", "sdk/raea/src/brief.ts", "docs/projects.feature"]+tutorial: "controllers"+---++Controllers are how you tell every agent in a project how things should be done, once. This tutorial reads a+project's controllers, changes a value, and adds a new controller by describing it.++## What a controller is++A controller is a page of settings for a project, such as its delivery format, its brand, or how review works. Every+agent working in the project reads the controllers before it starts. So when you change a value, the next piece of work+follows it.++## The Controllers page++Open a project's folder and choose Controllers. Each controller is a card, with its fields in groups. A field can be a+toggle, a choice, a number, some text, a list, a set of agents, or a whole workflow. Change a value in place, and it's+saved at once, for the whole project.++## Make one in plain words++To add a controller, press New controller, and say what you want in plain words. The Director builds it from raea's+field types, and it appears on the page, ready to adjust.++## Workflows++A workflow field lays out the steps a piece of work goes through, and who does each one: an agent, or you. When a step+fails, the workflow says which step the work goes back to.++## When an agent needs a decision++When an agent needs a decision that should hold for every piece from now on, it puts the controller in the feed, with+one line on what it needs. Set the value right there in the card, and every agent works to it.++## Controllers are files++Each controller is a TypeScript file in the workspace's controllers folder, and every change is a commit, by you or by+the agent that made it. So any agent, even one in a terminal, can read and change them with raea controller.++```sh+raea controller ls+raea controller set delivery.format.aspect-ratio 9:16 --by agent+raea controller write controllers/review.ts+```++Next: [Publish](publish.md).diff --git a/docs/manual/tutorials/extend.md b/docs/manual/tutorials/extend.mdnew file mode 100644index 00000000..ec1e63b3--- /dev/null+++ b/docs/manual/tutorials/extend.md@@ -0,0 +1,78 @@+---+title: "Extend raea with the SDK"+summary: "Compositions and controllers are TypeScript on raea's SDK: write one, render it, post it to the feed with the feed's tools, or ask your agent to make new feed items and controllers for you."+order: 8+sources: ["sdk/raea/src", "sdk/raea/src/brief.ts", "apps/app/src/acp/protocol.ts", "docs/manual/examples/title.tsx", "apps/workspace/src/controllers.rs"]+tutorial: "extend"+---++Everything raea makes and every setting it keeps is TypeScript you can read and write. This tutorial writes a small+composition, renders it, posts it to the feed, writes a controller, and then hands the same jobs to an agent.++## The SDK++raea's SDK is TypeScript. A composition imports from raea, and its sub-paths hold the rest: cameras, lights, materials,+physics, text and sound. Because it's ordinary TypeScript, your agent writes it the way it writes any other code, and+you can read every line it wrote.++## A composition++Here is a small composition, a title. It registers one composition with its size, frame rate and length, and each word+springs up into place four frames after the one before it. raea renders it frame by frame. Render one frame as a+still to look at it, then render the whole piece to an MP4.++## Post it to the feed++The agents raea starts get the feed's own tools. Feed post puts a render, a still, a sound or a game into the project's+feed. It takes a title and the file, and to post a new version, it names the item it replaces, with one line on what+changed. Feed propose suggests something to make next, for you to accept first.++## A controller from code++A controller is a TypeScript file too. It exports controller, from raea slash brief, with groups of typed fields. Write+one, then run raea controller write, and it's on the Controllers page for every agent to read. Agents in the app use+the controller write tool, and the page shows the new controller as soon as they do.++## Ask your agent instead++So you rarely write any of this yourself. Ask your agent in plain words, in New chat. It writes the composition, checks+it, renders it, and posts it to the feed. Ask for a controller, and it builds one and puts it on the page. You review+what lands, and leave notes, as you would on anything else.++## Extend the engine++Underneath, raea runs on the Bevy game engine. The SDK's sub-paths follow Bevy's own crates, so a Bevy example's ideas+map straight onto raea, and the SDK reference lists every import path and what it exports. When you need something the+SDK doesn't have yet, write it as your own component, and every composition can import it.++```tsx+// docs/manual/examples/title.tsx, in short: each word springs up four frames after the last+const p = spring({ frame, fps, delay: i * 4, config: { damping: 14, stiffness: 160 } });+registerRoot(() => <Composition id="title" component={Title} width={1920} height={1080} fps={30} durationInFrames={60} />);+```++```sh+raea render title.tsx --frame 30 -o title.png # one frame, to look at+raea render title.tsx -o title.mp4 # the whole piece+raea controller write controllers/review.ts # a controller, for every agent+```++```ts+// controllers/review.ts+import { controller } from "raea/brief";++export default controller({+ title: "Review",+ groups: [+ {+ title: "Sign-off",+ fields: [+ { label: "Watched to the end by a person", type: "toggle", value: true },+ { label: "A redo is", type: "choice", options: ["a new version", "a new item"], value: "a new version" },+ ],+ },+ ],+});+```++Next: [Work as a team](teams.md).diff --git a/docs/manual/tutorials/get-started.md b/docs/manual/tutorials/get-started.mdnew file mode 100644index 00000000..5b19a196--- /dev/null+++ b/docs/manual/tutorials/get-started.md@@ -0,0 +1,48 @@+---+title: "Get started with raea"+summary: "Download the raea app, sign in on raea.io, link your Mac, and land in your first project with your agent already at work."+order: 1+sources: ["apps/site/src/account/onboarding.tsx", "apps/app/src/onboarding", "docs/onboarding.feature"]+tutorial: "get-started"+---++This tutorial takes you from nothing to your first piece of work. You need a Mac and an AI you already use, such as+Claude, ChatGPT, Kimi or Gemini. You don't need a terminal.++## What raea is++raea is a studio for making video, motion graphics, 3D and games with AI agents. You bring the agent you already pay+for. Your agents write each piece as code, raea renders it on your own computer, and everything they make arrives in+one feed, where you review it.++## Download the app++Start at raea.io, in the docs. Press Download for Mac, and open the raea app once it has installed. The first time it+opens, the app asks you to continue on raea.io. Press the button, and your browser opens with this computer's code+already filled in.++## Sign in and answer four questions++Sign in with GitHub, Google or Apple. Then raea asks four short questions. About you: what you make, and who it's for.+Your AI: the agent you already use. Your plan: Free, Pro or Team. And Your Mac: the computer you're linking. Each answer+shapes your first project, so it's worth a moment.++## Link your Mac++On the last step, press Link and finish. The app on your Mac signs in by itself, connects the agent you picked, and+makes your first project from your answers. You don't copy a code, and you never open a terminal.++## Your first project++The app opens on your work. Your agent is already making its first piece, and the project's Agents panel says so.+When it's done, the piece lands at the top of the feed. Open it, watch it, and leave a note on anything you'd change. The+agent answers with the next version. That's the whole loop, and the rest of these tutorials take each part of it in+turn.++```sh+# Prefer the terminal? The same raea, without the app:+curl -fsSL https://raea.io/install | sh+raea --version+```++Next: [Connect your agent](connect-your-agent.md).diff --git a/docs/manual/tutorials/index.md b/docs/manual/tutorials/index.mdnew file mode 100644index 00000000..b59fa5b2--- /dev/null+++ b/docs/manual/tutorials/index.md@@ -0,0 +1,29 @@+---+title: "Tutorials"+summary: "Ten short narrated tutorials that walk through raea from the first download to publishing, controllers, the SDK, teams, storage and search."+order: 0+sources: ["docs/manual/tutorials", "apps/site/src/tutorials", "apps/site/real/tutorial"]+---++Each tutorial is a few minutes long and plays the raea app's own screens, with a narrator explaining each step and a+cursor doing every click. Every page also holds the full narration as text, so you can read it, search it, or hand it+to your agent. Take them in order the first time: each one builds on the one before it.++## Start here++- [Get started with raea](get-started.md): download the app, sign in on raea.io, link your Mac, and land in your first project.+- [Connect your agent](connect-your-agent.md): bring the AI you already pay for, add agents to your workspace, and meet the Director.+- [A tour of the app](tour.md): what each part of the sidebar is for, from New chat to Settings.++## Make and review++- [Review work and leave notes](review-and-notes.md): open what your agents made, pin a note to a moment and a place, and get the next version.+- [Inspect compositions and components](inspect.md): see what a piece is made of, pick any part of the picture, and change it.+- [Controllers](controllers.md): a project's settings, which every agent works to, made by describing them in plain words.+- [Publish](publish.md): connect your accounts and post the approved cut to all of them at once.++## Build on raea++- [Extend raea with the SDK](extend.md): compositions and controllers as TypeScript, the feed's tools, and asking your agent for new work.+- [Work as a team](teams.md): invite your teammates, review together, and render on everyone's computers.+- [How storage and search work](storage-and-search.md): projects as Git with media in storage the Git LFS way, and searching media by what's in it.diff --git a/docs/manual/tutorials/inspect.md b/docs/manual/tutorials/inspect.mdnew file mode 100644index 00000000..27e75c8c--- /dev/null+++ b/docs/manual/tutorials/inspect.md@@ -0,0 +1,41 @@+---+title: "Inspect compositions and components"+summary: "See what each piece is made of on a project's Compositions page, find what a component reaches, and pick any part of a picture by name."+order: 5+sources: ["apps/app/src/compositions", "apps/app/src/detail/blocks/Toolbar.tsx", "apps/app/src/detail/Rail.tsx", "docs/organize.md"]+tutorial: "inspect"+---++Everything in raea is made from code, so you can always look inside it. This tutorial opens a project's Compositions+page, finds which compositions a component reaches, and picks parts of a render by name.++## Everything is code++Every piece in raea is a composition: a React file, written in TypeScript, that raea renders frame by frame on your+computer. Because it's code, you can always see what a piece is made of, and change any part of it.++## The Compositions page++Open a project's folder, and choose Compositions. Each row is one composition, with its size, its frame rate and its+length, and its earlier versions folded underneath it. The row also says what it used: the footage, sound and models+it drew, and the components it imports.++## Components++Switch to Components. A component is a file the compositions import, such as an end card or a title style. Each one+lists the compositions that use it, so you know what a change will reach before you make it.++## Pick a part of the picture++Open a render in the feed, and choose Select. Now click anything in the picture. raea knows which part of the scene drew+it, and names it, so a can is Yuzu Noon, not a cluster of pixels. The panel beside the picture lists every part, and+the picked one's properties.++## Edit and ask++Open a composition from its row to edit it. The picture is on top, with the timeline under it, and its layers,+properties and versions on the right. Move or scale what you've picked, and saving writes the next version. Or ask your+agent: when you say this, or here, it reads what you've picked, and makes the change in the same version you're+editing.++Next: [Controllers](controllers.md).diff --git a/docs/manual/tutorials/publish.md b/docs/manual/tutorials/publish.mdnew file mode 100644index 00000000..4576c1cc--- /dev/null+++ b/docs/manual/tutorials/publish.md@@ -0,0 +1,39 @@+---+title: "Publish"+summary: "Connect the accounts you post to, then post the approved cut to all of them at once from Publish, with each network's fields and checks."+order: 7+sources: ["apps/app/src/publish", "apps/app/src/plugins/catalog.ts", "apps/site/api/src/connect", "docs/connections.feature"]+tutorial: "publish"+---++When a cut is approved, raea posts it for you. This tutorial connects accounts, reads the Publish page, and posts one+cut to several networks at once. Publishing comes with the Pro and Team plans.++## Connect your accounts++Before you publish, connect the accounts you post to. Open Plugins, and under Social, choose a network, such as+YouTube, Instagram or TikTok, then sign in. raea posts only when you press Publish, and it never reads your feed or your+messages.++## Open Publish++Now open Publish in the sidebar. At the top is what's ready to go out: work your agents have marked ready, each with a+caption drafted for its accounts. Below that are your posts, the scheduled ones first, then what's already out, with+each post's views, likes, comments and shares.++## Compose a post++Open a cut that's ready. Choose the accounts it goes to, and write the caption once. Each network has its own fields,+such as a title and privacy on YouTube, and raea only asks for the ones your accounts need.++## Checks++Before anything goes out, raea checks the video against each network's rules: its length, its shape, and its caption's+limit. A check that fails says what's wrong, so you fix it before posting, not after.++## Post it++Press Publish to post now, or pick a time to schedule it. Each account shows its progress as it goes: uploading,+processing, then published. One press posts to every account you chose.++Next: [Extend raea with the SDK](extend.md).diff --git a/docs/manual/tutorials/review-and-notes.md b/docs/manual/tutorials/review-and-notes.mdnew file mode 100644index 00000000..be2b78ef--- /dev/null+++ b/docs/manual/tutorials/review-and-notes.md@@ -0,0 +1,44 @@+---+title: "Review work and leave notes"+summary: "Open what your agents made, pin a note to a moment and a place in the frame, send it to the agent, and get the next version back."+order: 4+sources: ["apps/app/src/detail", "apps/app/src/feed", "apps/app/src/agent/notes.ts", "apps/app/src/model/rules.ts"]+tutorial: "review-and-notes"+---++Reviewing is most of what you do in raea. This tutorial opens a cut, pins a note on the frame it's about, sends it to+the agent who made it, and follows the answer back into the feed.++## Open an item++Click a card in the feed to open it. Each kind of work opens in a view made for it. A cut opens in a player. A still+opens large, to look at. A sound opens with its waveform. And a game opens live, so you can play it.++## Watch it through++Press play and watch the cut through once. Beside the picture are the notes already left on it, each one with the+moment it's about, so you can see what's been asked before you add to it.++## Pin a note++When something should change, choose Comment, and click the place in the frame your note is about. The pin holds that+place and that moment. Write the note in plain words, the way you'd say it to the person making it. A note always knows+what it's about, so the agent gets the frame, the place, and your words together.++## Send it to an agent++Post the note, then send it to the agent who made the piece. The project's Agents panel shows that it's working. Go+back to the feed and keep reviewing while it does.++## The next version++When the agent is done, its answer lands in the feed as the next version of the same item, not as a new one. Earlier+versions stay with it, so nothing is lost, and the notes it answered are marked as answered.++## Status++Every item moves through the same five steps: planned, making, posted, seen, and done. Opening an item marks it seen,+and its status shows beside its title. The number beside the Inbox counts what's posted and not seen yet, so you always+know what's waiting for you.++Next: [Inspect compositions and components](inspect.md).diff --git a/docs/manual/tutorials/storage-and-search.md b/docs/manual/tutorials/storage-and-search.mdnew file mode 100644index 00000000..90da25a0--- /dev/null+++ b/docs/manual/tutorials/storage-and-search.md@@ -0,0 +1,54 @@+---+title: "How storage and search work"+summary: "Every project is a plain Git repository with its media stored the Git LFS way, by hash, in raea's storage; libraries make that media searchable by what's in it, with vector search."+order: 10+sources: ["docs/platform.feature", "docs/libraries.feature", "docs/nodes.feature", "apps/site/api/src/storage.ts", "apps/site/api/src/library"]+tutorial: "storage-and-search"+---++raea's paid plans are storage and search. This tutorial explains how a project keeps its history in Git and its media+in storage, and how a search finds a shot by what's in it.++## A project is a Git repository++Every raea project is an ordinary Git repository. Its compositions, scripts, briefs and chats are files in Git, with+Git's history and branches. If you ever leave raea, you leave with a plain repository that any Git tool can open.++## Big files go to storage++Media is different. Footage, sound and models are too big for Git, so raea keeps each one in the repository as a small+pointer file, in the same format Git LFS uses. The pointer names the file's hash, and the bytes live in raea's storage+under that hash. So a file used in two projects, two versions or two forks is stored only once.++## raea speaks Git LFS++raea's server answers Git LFS's own requests. Your computer sends a list of hashes, and gets back a signed address for+each one, so media moves straight between your computer and storage. Plain git and Git LFS work against it too, so a+project you push to GitHub still finds its media.++## Without the rough edges++You never track files by hand. raea decides what's media when it commits, by its size and its type. Media downloads only+when something opens it, and opening a composition fetches exactly the files it uses. One local cache serves every+project, and every download is checked against its hash.++## Search by meaning++Libraries make your media searchable by what's in it, not only by its name. When a file is added, a computer that can+read it indexes it. It cuts video into shots, makes thumbnails, transcribes speech, and reads any text in the frame.+Then an embedding model turns each shot's picture, sound and words into vectors, all in one shared space.++## How a search runs++When you search, your words become a vector in that same space. raea compares it with every shot's picture, sound and+words, matches your words as keywords too, and ranks the results together. So a chip pulled apart, with cheese stretching between the halves, finds that+shot, even if no file is named that. The vectors are kept in turbopuffer, a vector database, one namespace for each+workspace, while the indexing runs on your own computers.++## Free, Pro and Team++On Free, your libraries and their index stay on your computer. On Pro and Team, they're kept in raea's storage, so every+computer you link, and every teammate, searches the same media.++That's the last tutorial. The rest of the docs go deeper: [How an agent should use raea](../start/agents.md) for the+loop, and the [CLI](../reference/cli/index.md) and [SDK](../reference/sdk/index.md) references.diff --git a/docs/manual/tutorials/teams.md b/docs/manual/tutorials/teams.mdnew file mode 100644index 00000000..ed174fcd--- /dev/null+++ b/docs/manual/tutorials/teams.md@@ -0,0 +1,44 @@+---+title: "Work as a team"+summary: "Start a team on raea.io, invite teammates by their GitHub login, review the same work together, and render on everyone's computers at once."+order: 9+sources: ["apps/site/src/account/dashboard.tsx", "apps/site/api/src/account.ts", "docs/nodes.feature", "docs/pricing.md"]+tutorial: "teams"+---++raea's Team plan is for people who make things together. This tutorial starts a team, invites a teammate, and shows+what a team shares: its work, its storage and its computers.++## What a team shares++A team on raea shares its projects, its storage and its computers. Everyone reviews the same work and leaves notes on+the same frames, and there's one price for the whole team, with no seats to count.++## Start a team++Open your account on raea.io, and go to Team. Press Get Team to start one, and checkout sets up the plan for everyone.++## Invite your teammates++Under Invite someone, add a teammate by their GitHub login. They see the invite the next time they open their account,+and join with one press. The team's owner can remove members from the same list.++## Review together++In the app, every note says who wrote it, a person or an agent. Teammates review the same feed and pin notes on the same+frames, and each note keeps its author. Each person's agents sign in with that person's own account, so nobody shares a+login.++## Render on everyone's computers++On Team, your teammates' computers render as one. When you render, raea splits the piece into ranges of frames, and sends+each range to a teammate's computer that's online and idle. Each computer renders its range on its own graphics card,+and raea joins the ranges back together, in order. A frame is the same whichever computer draws it, so the result is+identical, only sooner. Each member chooses whether their computer takes part, and when.++## Storage and search, shared++The team's media lives in one shared pool of storage, and everyone searches it together. The next tutorial explains how+that storage works.++Next: [How storage and search work](storage-and-search.md).diff --git a/docs/manual/tutorials/tour.md b/docs/manual/tutorials/tour.mdnew file mode 100644index 00000000..0510f397--- /dev/null+++ b/docs/manual/tutorials/tour.md@@ -0,0 +1,50 @@+---+title: "A tour of the app"+summary: "What each part of the raea app's sidebar is for: the workspace, New chat, the Inbox, Publish, Plugins, projects with their Feed, Compositions and Controllers, Chats and Settings."+order: 3+sources: ["apps/app/src/shell/Sidebar.tsx", "apps/app/src/shell/Channels.tsx", "docs/organize.md"]+tutorial: "tour"+---++The raea app has one sidebar, and everything you open shows beside it. This tutorial goes down the sidebar from top to+bottom and says what each place is for.++## The workspace++Everything you open shows to the right of the sidebar. At the top of it is your workspace. A workspace holds your+projects, your agents and your libraries, and nothing in it reaches another workspace. Switch workspaces from this+menu, or make a new one for each client.++## New chat++New chat is where work starts. It's one box. Write what you want made, in your own words, and pick a project under the+box. The workspace's Director reads it and starts the work, and the session appears in the sidebar.++## Inbox++The Inbox gathers everything your agents make, across every project, newest first. Each card is the real thing: a+cut, a still, a sound, a board or a game. The number beside the Inbox counts what you haven't seen yet. The Inbox is the+best place to start your day.++## Publish++Publish is where finished work goes out, to the accounts you've connected, such as YouTube, Instagram or TikTok. It+shows what's ready to post, what's scheduled, and how each post is doing.++## Plugins++Plugins lists everything raea can connect to: the agents that do your work, where your footage comes from, the networks+you publish to, generation services, and computers of your own.++## Projects++Under Projects, each project is a folder. Open one, and it has three pages. The Feed shows the project's work. The+Compositions page shows what each piece is made of. And Controllers holds the project's settings, which every agent+works to. In the Feed, the Agents button lists the project's agents, and what each one is working on.++## Chats and Settings++Chats lists every conversation, in a project or about the workspace itself. At the bottom, Settings holds your account,+your agents, your libraries, your connections and your plan.++Next: [Review work and leave notes](review-and-notes.md).