Skip to content
CosmosDocs

Search the documentation

Type what you are looking for and pick a result.

The chat and the agents

Who answers your messages, how to write to them, and what the controls under the box do.

Everything in an app happens through its chat. You write, an agent answers and does the work, and what it did shows in the tabs beside the conversation.

The agents

An app has four agents. Each does one job.

AgentWhat it does
PlannerAsks about your idea and writes the plan. It never builds.
BuilderBuilds the app from the plan and makes the changes you ask for.
TesterOpens the app in a real browser and tries its tasks.
DesignerMakes images, videos and visual pieces. They are separate from the app until you bring one in.

The selector under the box shows who will answer your next message, and you can change it. Cosmos also moves it for you when the work moves on: approving the plan hands the conversation to the builder. Once the builder has started, a message that is not about the plan goes to the builder even if the planner is selected.

Write a good message

  • One thing at a time. "Add a search box to the client list" gets a better result than five changes in one message.
  • Say what you see and what you expected. "When I save an order with no date, nothing happens. It should tell me the date is missing."
  • Use your own words. You never need a technical term. Name things as they appear in your app.
  • Show it. Attach a screenshot, a photo of a paper form, or a file with real data.

Under the box

  • Attach: add images, documents and spreadsheets to your message. See files and spreadsheets.
  • Agent: who answers.
  • Model: the AI model that does the work. Auto, the default, picks one for each step, starting with the one that costs least and moving to a stronger one only when a step keeps failing. The models you can choose depend on your plan, and a stronger model spends more credits.
  • Dictate: speak instead of typing. Your words become text in the box for you to review. Nothing is sent until you send it.
  • Type $ and a name to hand the agent one of your skills.

While an agent works

The agent writes short notes as it goes, so you can follow what it is making. A line under the conversation says who is working and for how long, and for longer jobs a card lists the stages of the work.

You can keep writing: a message you send while the agent is busy waits its turn.

Press Stop to end the work at once. What the agent already changed stays, and the credits already spent are not returned.

Note

Sometimes an agent stops to ask you something: a question with options, or a secure form for a key. The work continues when you answer.

Side chats

An app can have more than one conversation. New chat opens a side chat with its own builder, its own copy of the app's files and its own preview, so you can work on a second task while the main chat is busy with the first.

Nothing a side chat does is part of the app until you press Bring into app, which adds its work as a new version. Planning, testing, publishing and changes to the app's database happen only in the main chat.

What it costs

Agent work spends your organization's credits. Reading the app, the plan or the preview costs nothing; neither does a message that is waiting its turn.