Cubric Studio - Agent

Agent

Ask the in-app agent in plain words to pick models, run generations and Flows, and review results, or connect Claude, Codex, or Google Antigravity to drive Cubric Studio.

Opening the agent

Click Agent in the top bar of a project, next to Flows, or press A. Either one opens a chat panel down the left side of the workspace. The agent's name is Cosmo, shown with a small mascot beside the chat.

The centre of a project's top bar: the Agent button with a chat icon, then Flows, then Record with a microphone icon
Agent sits at the top of every project, beside Flows and Record.

You can also start before any project is open, from the Ask the agent box on the Projects landing page, next to Cosmo. It has the same mic and send button as the panel. Ask it for something new there, such as "Create a project named Blue Lagoon and generate a video of a lagoon with sharks", and Cosmo creates the project, opens it with the Agent panel showing, and brings the conversation along. A file dropped on the landing box needs a project first, because whatever you drop becomes a card in a project.

The Projects landing page with a request typed into the Ask the agent box under Cosmo's peeking head: Create a project named the Blue Lagoon and generate a video of a blue lagoon with sharks inside, beside the mic and send buttons
Ask from the landing page and Cosmo can create the project for you.

What you can ask it

Cosmo talks in plain language and carries out the request itself, rather than pointing you at the right button:

  • Pick and install models. It chooses the right model or Flow for what you asked, and if a model is not on your machine, it offers to install it with a Yes/No card naming the download size. It installs a Flow the same way: ask for one you do not have and Cosmo shows an Install card with the download size, and a note when a licence screen opens first. Nothing downloads until you press Yes, install. (2.2) Cosmo uses the models you already have before it offers a download: it does not offer a model you did not ask for when one you have does the same job. Name the model and it still offers to install it.
  • Run generations and Flows. Describe what you want and it fills in the model, operation and settings, or runs a whole Flow such as Outpaint.
  • Open a Flow for you to finish. Draw It In and Scribble need your drawing, and Object Stamp needs you to place the object, so Cosmo opens those filled in at the step that is yours, and nothing runs until you press Generate. For a Song it asks first: Review lyrics opens the Flow on its lyrics, Just do it runs it. It also offers to open any Flow that is missing something only you can give, such as a voice sample.
  • Look at what it made. It can look at a result, or any card in the conversation, and describe or judge it before deciding what to do next. It sees the picture itself only on an Agent model that can see pictures; otherwise it works from a description of it (see Cosmo's model).
  • Use a mask you painted. It never paints a mask itself and never picks the area for you, but once you have painted one on a card, it writes the edit for that area and tells you it is using your mask.
  • Grow a picture's frame. It can outpaint a picture into a bigger frame with the Outpaint Flow.
  • Make GIFs. It can build a GIF from still cards or a video clip, and retime, trim or cut one out afterward.
  • Send cards to another project. Say "take these to project X", "send the last two to a new project", "all the videos", or "every card with a dot". Cosmo copies the cards there with their prompts and names, the same as Add to project in the card context menu. Sending to a project you already have leaves you where you are; sending to a new project opens it so you carry on there.
  • Hear what is said in a clip. Show Cosmo a video with sound and it reads what is spoken, with the time of each line, using the Speech to text you picked in the Remote panel. On DeepInfra that costs about $0.0002 to $0.00045 for each minute of sound, depending on the speech model you chose; on ComfyUI or Ollama it is free.
  • Save and run routines. It saves a chain of steps once, and runs it on any cards in one go. See Routines.

It only works with cards and images that are part of the current conversation: something you attached, or something it made. Point it at a card by name or description ("the duck video", "the last one") and it looks the project up rather than guessing.

Who picks the model depends on the Prompt Box. With its settings popup (the cog) open, the model selected there and every setting in it (ratio, quality, turbo, style) are yours for that request: Cosmo still writes the prompt, chooses the operation and names the card, but never switches the model. If that model cannot do what you asked, it says so and asks you to select another or close the popup. With the popup closed, Cosmo picks the model itself, and a new clip starts at that model's defaults with the lowest quality tier; a setting goes up only when you ask for it. That is why the price on its confirm card can differ from the one beside Cue.

On FLUX.3 Klein, Cosmo sees the Boxes you have drawn and uses them, or draws its own when you say where things go. (2.1.3) It makes FLUX.3 Klein pictures on Turbo, the fast setting, and switches to the slower base model only when you ask for more quality or more natural skin.

(2.1.3) When you ask for an edit, Cosmo uses the best editor you have installed: Qwen-Image 2.1 first, then FLUX.3 Klein, then Klein 9B. On MiniMax H3 Reference it turns on Fast Motion by itself for fast scenes such as a chase or a fight.

(2.1.3) Cosmo knows every entry in the card you have open, so "do it again" redoes the one it was working on, and a redo after a masked edit uses the same mask. When it upscales or details a picture another model made, it asks Which model should redraw it?, with the model that made the picture, in its own style, first.

(2.2) For a picture you did not name a model for, Cosmo prefers the models you have installed in this order: Krea 2, Qwen-Image 2.1, FLUX.3 Klein, MOSS Image, then the rest. For a clip from words alone, with only H3 Reference or Singularity H3 installed, it runs on that model instead of offering the 21 GB MiniMax H3 download.

(2.1.3) Cosmo says what it is making the moment it starts, not after the picture has landed.

(2.2.3) Cosmo's videos use the same ratio and quality the Prompt Box shows. When no ratio has been picked yet, a video starts at 16:9 and a picture at 1:1. If you give Cosmo a backstory for a clip, it shapes the mood and body language, but adds no extra action to the shot.

(2.2.3) While a RunPod Pod is connected, Cosmo follows the button beside Cue (the Run locally button up to 2.2.3): it runs on this computer or on the Pod, wherever that button says. If a model is installed only on the other side, Cosmo tells you to press that button rather than offering a download.

Cosmo itself runs on the Agent model picked in Remote. The default on DeepInfra is DeepSeek-V4-Flash-0731, marked (recommended) in the list (2.1.3). It was the default before 2.1.2 as well. MiMo-V2.6-Flash, the default in 2.1.2, scores the same on our tests but often slowed Cosmo down while it was thinking. If you never picked an Agent model, you are moved to it automatically; a model you picked yourself stays.

(2.1.3) If Cosmo's model stalls (a timeout, or the service that runs it is busy), the chat shows a card, My model is not answering., offering the other model that passed our tests. Switch and continue makes it your Agent model and carries on where it stopped; Not now closes the card. You can change the model back in Settings.

On a model that can see pictures, such as MiMo-V2.6-Flash, Cosmo looks at a picture itself when a description cannot settle the question: is this the same face, why did this result miss, is there a colour cast. On a model that cannot see, the default DeepSeek-V4-Flash-0731 included, it works from a written description of the picture, made by the Image descriptions job, so it cannot hold two faces side by side itself. To have Cosmo see pictures, pick an Agent model that can.

To hand it cards from the Gallery, drag them onto the panel. Drag one of several selected cards and the whole selection goes along, in the order you clicked, as one N cards chip in the message box; a stack hands over the cards inside it. Click the chip to take it off again.

The bottom of the Agent panel with a 3 cards chip in the message box, ahead of the typed request Run an upscale on these images.
Three selected cards dragged in, ready to go with the message.

(2.1.3) For a Use Tiles upscale, Cosmo first shows a card listing each tile size with how many tiles it makes (for example 512 px ยท 20 tiles), and runs the one you click. Name a size yourself and it skips the card. It then tells you how many tiles the run uses, and opens the picture's history so you watch the latents as it works.

Before it spends your money

Cosmo never runs a paid cloud model without asking first, every single time, with no setting that skips the question. Before a billed generation it shows a card: Run this on <model>?, with a line saying Runs on your DeepInfra key and costs <price>, and two buttons, Yes, run it and No. For several billed generations at once, the card asks Run this N times on <model>? and the button reads Yes, run all N. Nothing is sent to DeepInfra until you click Yes. An install works the same way: Install <model>?, with the download size, before anything downloads.

The Agent panel asked to edit a photo with Nano Banana 2 Lite: the steps Cosmo took, then a card reading Run this on Nano Banana 2 Lite? with the line Runs on your DeepInfra key and costs about $0.03, and Yes, run it and No buttons
Nothing is sent to DeepInfra until you press Yes, run it.

Routines

A routine is a chain of steps saved once under a name, then run on any cards in one go. Ask Cosmo for one in plain words, for example "create a routine that edits with FLUX.2 Klein 9B in the Anime style, upscales with Krea 2 on turbo, then crops to 9:16". It reads the models' settings, saves the chain, and tells you what each step does and how to run it. If you repeat the same steps on a second card, it offers to save them as a routine.

The Agent panel: a request for a routine that edits with FLUX Klein 9B in the anime style, upscales with Krea 2 on turbo and crops to 9:16, the steps Cosmo took including Reading app:routines and Saving routine, then its reply: saved as anime-edit-upscale-9-16, the three steps listed, and how to run it from Routines on the selection bar
Cosmo saves a three-step routine and says how to run it.

Each step is a model operation, a Flow, or one of the tools that need no model: upscale, remove background, crop, and downscale. Every step works on exactly one picture, video or sound (the card, or the result of the step before), and hands the next step the kind it expects. So a routine cannot start from text alone, or combine two cards in one step. A routine holds up to 10 steps, and you can keep up to 50.

A routine can also ask for something each time it runs, such as a reference picture or a few words for the prompt. You give it to Cosmo when you ask for the run.

Routines belong to the app, not to a project: one you save is there in every project, and a run lands in the project you have open.

Running a routine

  • Ask Cosmo. Drag the cards onto the panel, or name them, and ask it to run the routine. If any step uses a paid cloud model, it shows the spend card once, priced for every paid step on every card, before anything starts. It tells you once, when every card has finished.
  • From the Gallery. Select the cards and pick the routine from Routines, beside Stack on the selection bar. It runs as soon as you pick it. A paid routine shows the whole run's price beside its name, and picking it is your yes, the same as pressing Cue. A routine that cannot run on these cards is greyed out; point at it and the status bar says why: the cards are the wrong kind, a model or Flow it needs is not ready, or it needs something each run, which only Cosmo can fill in. With no routines saved, the dropdown is not there.
The Gallery with three cards selected, numbered #1 to #3, and the Routines dropdown beside Stack on the selection bar open, listing anime-edit-upscale-9-16 and crop-9x16-upscale-15
Routines on the selection bar runs a saved routine on the selected cards.

What a routine makes

  • Your cards are never changed. The first step makes a new card for each card it runs on, and every later step lands as the next version in that new card's History, so you can step back through the chain.
  • Run on several cards, the new cards all go into one new stack named after the routine. The stack appears as soon as the run starts, and each new card joins it when its first step finishes. While the routine runs, the stack's badge counts them in (1/3), and it becomes an ordinary stack when the last step of the last card is done. Run on one card, you get one new card. Sound results stay as separate cards. A selected stack counts as the cards inside it.
  • If a step fails or is cancelled, that card stops there and keeps the versions it already made; the other cards carry on.
  • A step with nothing to do on a card, such as a downscale on a picture that is already small enough, is skipped for that card and the chain carries on.
Two Gallery cards during a routine run: on the left an anime-style bull rider still generating, with the mascot on it, and on the right the routine's result stack with a 1/3 badge
Mid-run: the result stack counts the new cards in as they arrive.

Renaming and deleting

Only an agent makes, renames and deletes routines; the app has no screen for them. Ask Cosmo to list your routines, rename one, or delete one. Saving under a name that already exists replaces that routine. Routines are the one thing Cosmo deletes.

An agent you connect from outside, such as Claude Code or Codex, works with the same routines: it can list, save, rename, delete and run them, and a routine it saves shows up for Cosmo and on the selection bar too. Before a run with a paid step, it tells you the price and waits for your yes. Once a routine it started is running, the outside agent cannot cancel it.

Providers

The agent always talks to the Remote connection, the one provider and API key every remote language-model job in Cubric Studio shares. It never runs on your local ComfyUI engine. Pick one:

  • DeepInfra. The recommended provider: off your machine, so it costs no VRAM. It is also the provider that runs every paid cloud model, so most people set up one DeepInfra key for both.
  • OpenRouter. A gateway to many providers' models. Needs an OpenRouter API key.
  • OpenAI. OpenAI's own endpoint. Needs an OpenAI API key.
  • Ollama, on your own computer, for free. No key and no per-message bill, but it holds its own VRAM alongside anything else generating, and local models score well below the hosted ones on the agent's own tests.
  • Custom. Any OpenAI-compatible endpoint: enter its base URL. (2.2.10) For a server on your own computer or network, such as llama.cpp or LM Studio, no API key is needed. If the server runs with too little context for Cosmo, he stops and says how to give it more.

Set this up from Remote, next to Settings at the top of the Projects screen, under Language Models > Remote connection: pick a provider, paste its API key, then pick a model for the Agent row lower on the same panel. Test tool use sends one small request to check the model can actually call tools before you rely on it.

The panel

The Agent panel docks along the left edge of the workspace and can be resized: drag its right edge wider or narrower, up to half the work area. Cubric Studio remembers the width you leave it at.

Under each message you send, a line per step shows what Cosmo is doing, such as Checking available models or Looking at image: grey while it runs, green once done. Anything it makes shows as a thumbnail in its reply; click one to open the card.

At the bottom, above the message box, the crew shows who is working. Cosmo reads listening when idle and holding the thread while it works. When a job runs, the mascot for that job joins with a running timer: Prism for images, Reel for video, Vinyl for audio, Lingo while a prompt is being written, and Prism again when Cosmo looks closely at a picture. The crew follows jobs you start from the Prompt Box too.

Along the top, a readout shows what this conversation has spent on your DeepInfra key: Agent for the chat itself and Generations for the paid cloud runs it started. It stays hidden until something costs money, covers this project's conversation only, and starts again from zero when you start over.

(2.2.13) Cosmo keeps your chat when you close the app. Each project's conversation, and the one on the start page, comes back where you left it, spend readout included.

Start over clears the conversation. Click it, then click Sure? to confirm; clicking anywhere else in the chat backs out. It clears the transcript for good, what Cosmo remembers of it, the spend readout, and any Yes/No card still waiting, which counts as No. Your cards, media and project notes stay.

A project with the Agent panel open on the left: a request to extend a shark video, the steps Cosmo took listed under it, and its reply that the extension has started; at the bottom, Cosmo listening and Reel extending with a timer, above the Ask the agent box; the workspace on the right shows the source clip and the new card being made
The Agent panel: your message, what Cosmo did, its reply, and the crew at work underneath.

Long chats

When a conversation gets long, replies slow down and cost a little more, so Cosmo shows a card with three buttons:

  • Start fresh saves the important parts to Cosmo's notes first, then clears the chat.
  • Compact sums the chat up and carries on from the summary.
  • Keep going closes the card. A long chat still sums itself up later on its own.

When this happens depends on how much the Agent model can hold. On a model that holds a million tokens or more, the default included, the chat sums itself up at a fifth of that, about 210k tokens, and the card shows at half that point, about 105k. On a smaller model the chat sums itself up at half of what it holds, and the card shows at three-quarters of that point. On Ollama the card does not mention cost.

You can also ask Cosmo to note anything worth keeping at any time.

Dictating to it

Hold Ctrl+Space to speak into the Agent panel's message box and release to write out what you said, the same dictation used everywhere else in the app.

What it will not do

When you ask Cosmo something about the app itself that it cannot answer from what it can see, it says so and links the documentation rather than guessing how Cubric Studio works. Image and video advice is its own to give; claims about the app are not.

A few things it never does, in any mode: delete a card, a project or your media, paint a mask or pick which area to edit, or install anything without a Yes/No card first. The only thing it deletes is a routine, when you ask.

Every prompt Cosmo or a connected app sends goes through the same child-safety check as one you type yourself. See Prompt Box.

Connect an agent

An outside coding agent on the same computer, such as Claude, Codex or Google Antigravity, can drive Cubric Studio directly: make images and video, read your projects, and save and run routines, using the same connector the in-app agent uses. Set it up from Settings > Connect an agent.

  • Claude Code and Codex connect with one click each: Cubric Studio installs its own plugin through the agent's own CLI. Restart the agent afterward to load it.
  • Claude Desktop connect opens Claude Desktop's own install screen for Cubric Studio's extension; click Install there.
  • Google Antigravity connect writes its plugin files straight into Antigravity's plugin folder; restart Antigravity to load it.

Each of the four shows whether it is installed on this computer, connected or not, and when it was last used. Claude Code, Codex and Antigravity have a Connect or Disconnect button. Claude Desktop connects from here too, but to remove it, open Claude Desktop's Settings > Extensions and remove Cubric Studio there, as its row says. For any other agent, an Any other agent row gives the MCP server address to add in that agent's own settings, with a Copy address button.

Connect an agent section with Claude Desktop, Claude Code, Codex and Antigravity all connected: Claude Desktop's row says to remove it from Claude Desktop's own Settings > Extensions, the other three have a Disconnect button, and the Any other agent row shows the MCP server address with a Copy address button
Settings > Connect an agent, with all four detected agents connected.

Once connected, an outside agent can make images, videos and GIFs straight into your open project, look at what it made, and read your project list and gallery, the same tools Cosmo uses, and send cards to another project the way Cosmo does. It can also install a model, a Flow or the ComfyUI engine, but only after it has told you the download size and you have said yes; until then nothing downloads. The one thing it can delete is a routine. It never deletes cards, projects or media.

(2.2.3) Claude, Codex and Antigravity find Cubric Studio at a fixed address, port 24300, even when the app itself has moved to another port. If another program holds that port too, Settings > Connect an agent says so. Their Cubric Studio connector picks the address up with its next update.

(2.2.3) While a RunPod Pod is connected, these agents see what is installed on both your computer and the Pod. They choose, job by job, whether to run on your own GPU or on the Pod, without touching the button beside Cue, so two conversations can use both at once. A model that is installed on the other side runs there instead of being offered as a download. For a Flow, an agent can also name the model it should run on for that one run, instead of the one the Flow's own picker holds.