# `Minga.Runtime`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga/runtime.ex#L1)

Boots the Minga runtime without any frontend or editor.

This is the headless entry point. Foundation (Layer 0), Services (Layer 1),
and Agent are fully functional. No rendering, no input handling, no Port.

## Supervision Tree

    Minga.Runtime.Headless (rest_for_one)
    ├── Minga.Foundation.Supervisor
    ├── Minga.Buffer.Registry
    ├── Minga.Buffer.Supervisor
    ├── Minga.Services.Supervisor
    └── MingaAgent.Supervisor

Use `start/1` to boot the headless runtime in tests or standalone scripts
that need agent capabilities without an editor UI.

## Options

  * `:gateway` - starts the API gateway after boot. Pass `true` for
    default settings (port 4820), or a keyword list with options like
    `[port: 9000]`. Default: `false`.

# `start`

```elixir
@spec start(keyword()) :: {:ok, pid()} | {:error, term()}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
