# Connect private endpoints

Keep observation, chat, speech and execution connections distinct, including behind a model gateway.

Source: https://miilo.tech/docs/private-endpoints

## Choose a role

An observation endpoint implements the Miilo protocol and reports providers, actors and work. A chat endpoint implements OpenAI-compatible chat completions. A speech endpoint synthesizes replies. An intake backend presents tasks and enforces decisions. One host may serve several roles, but those contracts and permissions are separate.

A LiteLLM gateway can route compatible model requests; its /v1 URL is not automatically a Miilo observation or intake endpoint. An inference subscription does not grant remote workflow control.

## Connect observations

Use miilo-owl setup to add the observation URL and an operator-provisioned credential-file reference. Select the providers to display. Keep actions disabled until the provider supports them and the credential has deliberately been authorized for them.

Then refresh and verify the connection. A reachable health endpoint is only a connectivity check: confirm actual work and a later source-produced change before describing the feed as live.

```
miilo-owl setup
miilo-owl refresh
```

[Observation credential setup](https://miilo.tech/docs/credentials)

## Connect a model

Run the helper’s interactive chat setup. Supply an OpenAI-compatible HTTPS base URL ending in /v1, an exact gateway model alias and an optional absolute private API-key filename. Numeric loopback HTTP is permitted for a deliberate local connection or tunnel.

For a router, test the configured alias with a real request and ensure its route, quota and output format match your intended model. Never copy a gateway administrator key into a general observation configuration. A machine on your network still needs a deliberately scoped credential.

Observed context is opt-in and may contain sensitive workflow titles or summaries. Inspect chat-context before sending it. Model answers explain the supplied context; they do not grant action authority.

```
miilo-owl chat-setup
```

[Chat context and streaming](https://miilo.tech/docs/chat)

## Connect speech

Configure playback separately under Voice settings. Transcription uses Superwhisper’s selected configuration; optional spoken replies use the configured speech endpoint. A shared host or API key does not prove both APIs are implemented.

Use the explicit transcription and playback tests before arming a session. Keep provider credentials in owner-private storage outside your repository, and use separate file references where permissions differ.

[Hands-free setup and privacy](https://miilo.tech/docs/voice)

## Connect execution

For a private factory, connect its Miilo-compatible observation feed and its authorized intake workflow independently. Register repository scope, verification gates and budgets at the backend. Watching a local agent does not make it remotely controllable.

Accepting a task freezes an explicit decision against the observed revision. The executor must return durable job state and preserve request identity on retries. Verify the backend’s complete lifecycle with a synthetic task before enrolling client work.

[Inbox and executor setup](https://miilo.tech/docs/inbox)
