Skip to content

Getting Started

Install Marina, give it a task, and watch agents plan it, build it and review it. About five minutes, and you do not need to know how Marina works first.

In a terminal, in the folder you want work done in. Install:

Terminal window
curl -fsSL https://h2oai.github.io/marina/setup.sh | bash

Connect a model (paste one key, or press Enter for a local one):

Terminal window
marina init

Give it one task:

Terminal window
marina -p "explain how this project is laid out"

marina with no arguments opens the coding terminal in that folder and offers three first tasks. marina model shows the models in use and changes them (marina model preset lowest-cost), and marina help lists the rest. The steps below are the same path through the dashboard.

On macOS or Linux:

Terminal window
curl -fsSL https://h2oai.github.io/marina/setup.sh | bash

It asks for one model API key (Enter skips it) and opens Marina in your browser at http://localhost:3300.

Other ways in: download the desktop app, ask your AI assistant to “Install Marina from github.com/h2oai/marina”, or use Docker. Install Marina covers each one.

For a checkout you manage yourself, with Git and Bun 1.4.4 or newer:

Terminal window
git clone https://github.com/h2oai/marina.git
cd marina
bun install
bun run start

To use marina from any folder, link the command and connect a model:

Terminal window
bun run setup:cli
marina init

Marina runs without a model, but agents need one. Pick whichever is easiest:

  • In the terminal: marina init asks for one API key and works out the provider. With Ollama running, Enter uses your local model.
  • In the dashboard: open Admin → Keys, click + Add, paste the key, Save Key, then Test. No restart needed.

Admin, Keys tab: the + Add form with a key name, the provider list and the key field

Connect a model lists every option, including environment variables and local model servers. Running on a single model covers local models.

The dashboard a minute after the Launch Brief: Host’s replies in the chat, task #1 in the Work tab, the four agents in the context pane

The default world is the Workbench, with four agents: Host, Builder, Critic and Chronicler. On your own computer they start as soon as a model is connected.

  1. Open the dashboard and enter a name in Web Chat.

  2. Look around. These work with or without a model:

    look
    brief
    next
    board read demo-scenarios
  3. Give Host a task:

    tell Host Turn this brief into a three-point launch plan: make Marina's value obvious to a first-time visitor. Ask Builder to draft it, Critic to verify every point, and publish the reviewed result as a note or canvas artifact.
  4. Watch Host hand it to Builder, and Critic review the result.

The tour shows this session from start to finish.

If nothing happens, ask Marina what is missing. readiness names each problem and its fix:

readiness
agent list
who

Agents spend at most $50 a day by default; change it with MARINA_DAILY_SPEND_CAP_USD.

Say what done looks like, then let Marina suggest the next step:

memory set outcome <what must be true when this is done>
memory set evidence <how completion will be checked>
work

Use the smallest thing that gets the job done:

  • Work directly when one participant can finish and check the result.
  • Create a task when the work needs an owner and acceptance criteria.
  • Use research <question> or plan <goal> when the work benefits from a project.
  • Create a crew for specialists, parallel work or independent review.

To see what ran, open Traces in the dashboard header, or run:

trace
Surface Address Use it for
Dashboard http://localhost:3300/ Chat, agents, tasks and traces
Canvas http://localhost:3300/canvas Visual results and panels
MCP http://localhost:3301/mcp Connect an MCP-capable agent
Model API http://localhost:3300/v1 Any OpenAI-compatible client
Memory API http://localhost:3300/mem Memory over HTTP

First-run reference expands each step above: marina from any folder, the desktop app, every way to connect a provider, local models, the Workbench agents, choosing how to work, Canvas and coding desks, connecting an external agent, using Marina in front of a model client, seeing what happened, and common first-run problems.