---
title: "oz0 chat"
description: "Usage and flags for oz0 chat."
canonical_url: "https://docs.oz0.ai/reference/cli/oz0/chat"
---
# oz0 chat

> Usage and flags for oz0 chat.

For: Operators and developers looking up a command.

Read messages from stdin, one per line, and run each as the next turn of a conversation with AGENT (its name, or its address, \<plugin>/\<agent>): a durable, metered job that gets the earlier turns, under the tenant's quotas and kill switches like any job.

Answers go to stdout; what the agents do streams to stderr (--quiet stops that). /exit, or the end of input, ends the chat; the conversation stays, and run --continue or chat --conversation goes on with it later.

## Usage

```bash
oz0 chat AGENT [flags]
```

## Flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --budget
      </code>
    </td>
    
    <td>
      float
    </td>
    
    <td>
      <code>
        the agent's limits.max_cost_usd
      </code>
    </td>
    
    <td>
      most each turn and the jobs it delegates to may spend on LLM calls, in US dollars
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --continue
      </code>
    </td>
    
    <td>
      job
    </td>
    
    <td>
      
    </td>
    
    <td>
      go on with the conversation of this job
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --conversation
      </code>
    </td>
    
    <td>
      ID
    </td>
    
    <td>
      
    </td>
    
    <td>
      go on with the conversation of this ID, or start it under this ID
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --data-subject
      </code>
    </td>
    
    <td>
      person
    </td>
    
    <td>
      
    </td>
    
    <td>
      the person the conversation is about: every turn is encrypted with their key
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --quiet
      </code>
      
       (<code>
        -q
      </code>
      
      )
    </td>
    
    <td>
      bool
    </td>
    
    <td>
      
    </td>
    
    <td>
      do not stream what the agents do; print only the answers
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --tenant
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        default
      </code>
    </td>
    
    <td>
      tenant to run in
    </td>
  </tr>
</tbody>
</table>

## Inherited flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --context
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        $OZ0_CONTEXT or &lt;config dir>/orchestrator-zero/context.json
      </code>
    </td>
    
    <td>
      CLI context file written by server init
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --log-level
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        info
      </code>
    </td>
    
    <td>
      log level: debug, info, warn or error
    </td>
  </tr>
</tbody>
</table>

See [all `oz0` commands](https://docs.oz0.ai/reference/cli/oz0) and the [global flags](https://docs.oz0.ai/reference/cli/oz0#global-flags).


## Sitemap

See the full [sitemap](https://docs.oz0.ai/sitemap.md) for all pages.
