> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentaos.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Businesses

> Manage your clients' businesses from the terminal, and run any command as one of them with the business option.

<Info>
  <span className="preview-pill">Private preview</span> Working end to end for the accounts that use it; details can still change. Tell us at [contact@agentaos.ai](mailto:contact@agentaos.ai) before you rely on it, and we support you directly. See [Product release phases](/getting-started/release-phases).
</Info>

`agenta businesses` is for [platforms](/connect/overview): the businesses you manage, whether a client's business or another app of your own company.

```bash theme={"system"}
agenta businesses list
```

## Commands

| Command | What it does |
| - | - |
| `agenta businesses list` | Every business you manage, with its status. |
| `agenta businesses get <id>` | One business, with its status. |
| `agenta businesses create --name … --country … [--client-email …] [--same-company] [--no-invite-email]` | Add a business. |
| `agenta businesses invite <id> [--no-email]` | Send your client's invitation again. A new link; the old one stops working. |
| `agenta businesses revoke-invite <id>` | Withdraw the open invitation. Its link stops working. |
| `agenta businesses id-link <id>` | The identity check link for your client. Only they can complete it. |

## List

```bash theme={"system"}
agenta businesses list
```

```bash Output theme={"system"}
  2 businesses:
    - ClientCo (in review, invitation open for founder@example.com) — 5b1f0c2e-8a4d-4c7b-9e21-3f6a7d8c9b10
    - Acme Notes (live, your own company, identity verified) — 7c2e1d3f-9b5e-4d8c-0f32-4a7b8e9d0c21
```

## Get

```bash theme={"system"}
agenta businesses get <id>
```

```bash Output theme={"system"}
  ClientCo (in review, invitation open for founder@example.com) — 5b1f0c2e-8a4d-4c7b-9e21-3f6a7d8c9b10
  Act as it: add --business 5b1f0c2e-8a4d-4c7b-9e21-3f6a7d8c9b10 to any command.
```

## Create

```bash theme={"system"}
agenta businesses create --name <name> --country <code> [--client-email <email>] [--same-company] [--no-invite-email]
```

<ParamField query="-n, --name" type="string" required>
  The name buyers see.
</ParamField>

<ParamField query="--country" type="string" required>
  Where it is registered, two-letter code, e.g. `DE`.
</ParamField>

<ParamField query="--client-email" type="string">
  Invite your client as its admin. Leave it out to run the business yourself.
</ParamField>

<ParamField query="--same-company" type="boolean">
  Another app of your own company: verified and priced with you, with no share and no identity check of its own.
</ParamField>

<ParamField query="--no-invite-email" type="boolean">
  We send no email. The command prints the link for you to send yourself.
</ParamField>

```bash theme={"system"}
agenta businesses create --name ClientCo --country DE --client-email founder@example.com --no-invite-email
```

```bash Output theme={"system"}
  Added ClientCo. It starts in test mode and goes live after its own verification.
  Business id: 5b1f0c2e-8a4d-4c7b-9e21-3f6a7d8c9b10 — add --business 5b1f0c2e-8a4d-4c7b-9e21-3f6a7d8c9b10 to any command to act as it.
  Send ClientCo this link to accept: https://app.agentaos.ai/invite/…
```

## Invite

```bash theme={"system"}
agenta businesses invite <id> [--no-email]
```

<ParamField query="--no-email" type="boolean">
  Don't email it. The command prints the new link for you to send.
</ParamField>

Once your client has joined, the invitation is theirs to manage and this is refused.

## Revoke invite

```bash theme={"system"}
agenta businesses revoke-invite <id>
```

```bash Output theme={"system"}
  Invitation withdrawn: its link no longer works.
```

## ID link

```bash theme={"system"}
agenta businesses id-link <id>
```

```bash Output theme={"system"}
  Send your client this link — only they can complete the identity check: https://…
```

If the client is already verified it says so and gives no link. The identity check is real, so a test API key is refused. Signed in with `agenta login`, the command works in test mode too, as the **ID check link** button in the dashboard does. Another app of your own company has no identity check of its own.

## `--business` on every command

Add `--business <id>` to **any** `agenta` command to run it as a business you manage. Leave it out to act as yourself.

```bash theme={"system"}
agenta products create … --business <id>
agenta pay checkout -a 49 -c EUR --business <id>
agenta verify submit … --business <id>
agenta invoices list --business <id>
```

Filing a client's verification with `agenta verify submit … --business <id>` is recorded as filed by the platform. A business you do not manage is refused with `You cannot act as this business.`

### File a client's verification

This is the same verification any account submits, sent as the business. We record it as filed by the platform, and our reviewers see that. File only what your client confirmed to you.

```bash theme={"system"}
agenta verify submit --entity business --legal-name "ClientCo GmbH" \
  --registration-number "HRB 123456" --country DE \
  --street "Hauptstrasse 1" --city Berlin --postal 10115 \
  --url https://clientco.com --description "Scheduling software for clinics" \
  --accept-declaration --business <id>
```

Run `agenta verify declaration` first to read what `--accept-declaration` attests to. See [Verify](/cli/verify) for every flag.

<Tip>
  Add `--json` to any command for a single JSON object, e.g. `agenta businesses create … --json` returns `business`, `inviteToken` and `inviteUrl`.
</Tip>

## Next steps

<Columns cols={2}>
  <Card title="Build a platform" icon="route" href="/guides/build-a-platform">
    End to end.
  </Card>

  <Card title="Businesses (SDK)" icon="code" href="/sdk/pay-businesses">
    Every method and field.
  </Card>

  <Card title="Platform fees" icon="percent" href="/connect/fees">
    Set your share in the dashboard.
  </Card>

  <Card title="Platforms" icon="building" href="/connect/overview">
    What a platform is, and who does what.
  </Card>
</Columns>
