diff --git a/api-reference/error-codes.mdx b/api-reference/error-codes.mdx
index 76ee460..eeed3a9 100644
--- a/api-reference/error-codes.mdx
+++ b/api-reference/error-codes.mdx
@@ -3,8 +3,8 @@ title: Error codes
description: API error response fields and stable error codes.
type: reference
audience: user
-verified: 2026-11-15
-product_version: 0.77.0
+verified: 2026-11-25
+product_version: 0.90.0
executable: false
---
@@ -70,6 +70,8 @@ Use the current response or event details when diagnosing a new failure.
|---|---|---|---|
| `UZ-REQ-001` | 400 | Invalid request | That request wasn't valid. Double-check the values you entered and try again. |
| `UZ-REQ-002` | 413 | Payload too large | Request body exceeds the maximum allowed size. |
+| `UZ-REQ-003` | 410 | Endpoint removed | Use the current route listed in the API reference. |
+| `UZ-REQ-004` | 400 | Input too long | Shorten the input to at most 1,048,576 characters. |
### Workspaces
@@ -155,17 +157,46 @@ Use the current response or event details when diagnosing a new failure.
|---|---|---|---|
| `UZ-AGT-003` | 424 | Fleet credential missing | A required credential is not in the vault. Add it with: `agentsfleet secrets create ` |
| `UZ-AGT-004` | 500 | Fleet unavailable | **Retired.** Check the fleet state and the event details for the current failure. |
-| `UZ-AGT-006` | 409 | Fleet name already exists | A fleet already uses this name. Review the draft under a different `--name` to keep it. Deleting the existing fleet permanently removes its events, sessions, schedules, grants, and memory; only do that if you intend to remove it. |
-| `UZ-AGT-008` | 400 | Invalid fleet config | That fleet's config isn't valid. Check the trigger, tools, credentials, and budget fields, then try again. |
+| `UZ-AGT-006` | 409 | Fleet name already exists | A fleet already uses this name. Choose a different `name` and send the request again. |
+| `UZ-AGT-008` | 400 | Invalid fleet config | Check the runtime model and provider settings before trying again. |
| `UZ-AGT-009` | 404 | Fleet not found | The fleet is missing from this workspace. |
| `UZ-AGT-010` | 409 | Fleet state transition not allowed | **Retired.** Delete now works in any status, and archive works on any fleet that is not archived. |
-| `UZ-AGT-012` | 409 | Fleet is not active | This Fleet is still installing or was archived, so it refuses new work. Check it with `agentsfleet fleet show `. |
+| `UZ-AGT-012` | 409 | Fleet is not active | This fleet is inactive. Check its state with `agentsfleet fleet show `. |
| `UZ-AGT-013` | 500 | Fleet install rolled back | We couldn't finish setting up your fleet. Nothing was created — try again. |
| `UZ-AGT-014` | 412 | Fleet source is stale | Someone else edited this Fleet's source since you opened it. Reload to see their change, then re-apply your edit. |
| `UZ-AGT-015` | 404 | Event not found | We couldn't find that event. It may have aged out, or the identifier doesn't match one on this Fleet. |
| `UZ-AGT-016` | 409 | Operation already used | This `operation_id` was used with a different message or sender; workspace API keys count as one sender. Retry the original request unchanged, or use a new `operation_id` for a new message. The response carries `current_state: "admitted"`. |
| `UZ-AGT-017` | 404 | Tool call not found | No full output was kept for this call on this event, or the call is outside this workspace. Use the call identifier shown in the thread. Its saved preview may still contain the first and last lines. |
| `UZ-AGT-020` | 409 | Fleet is archived | This Fleet is archived and can't change. Delete it, or set up a new Fleet. |
+| `UZ-AGT-022` | 404 | Requested access not in workspace | Add the secret or connect the integration, then request access using its exact name. |
+| `UZ-AGT-023` | 409 | Provider not connected | Connect the provider in the workspace, then retry the request. |
+| `UZ-AGT-024` | 409 | Trigger already exists | The fleet already has a trigger of this kind on this source. Keep it or remove it before adding another. |
+| `UZ-AGT-025` | 404 | Trigger signing secret not in workspace | Store the webhook's signing secret under the named key, then add the trigger again. |
+| `UZ-SETUP-002` | 409 | Fleet state conflict | Wait for the current work to finish or stop it before changing the fleet. |
+| `UZ-SETUP-003` | 412 | Fleet version changed | Fetch the fleet again and retry with its current `ETag`. |
+| `UZ-SETUP-004` | 428 | Fleet version required | Send the fleet's `ETag` in `If-Match`. |
+| `UZ-SETUP-005` | 409 | Operation key conflict | Reuse an operation key only for the same normalized request from the same caller. |
+| `UZ-SETUP-008` | 409 | Fleet model unavailable | Choose an eligible model configured by the workspace owner. |
+| `UZ-SETUP-011` | 400 | Invalid list cursor | Start the list again with the same caller, filters, and page size. |
+| `UZ-SETUP-013` | 410 | Fleet purged | The fleet created by this operation was deleted. Start a new operation. |
+| `UZ-AGT-018` | 409 | Fleet cannot steer itself | Reply to the current turn or choose another fleet from `fleet_activity`. |
+| `UZ-AGT-021` | 409 | Turn already finished | The turn finished before Stop took effect. Read its saved reply or failure. |
+
+### Durable tasks
+
+| Code | HTTP | Meaning | What to do |
+|---|---|---|---|
+| `UZ-DT-001` | 404 | Durable task not found | Refresh the durable task list for this fleet. |
+| `UZ-DT-002` | 409 | Durable task state changed | Read the current task state. A finished task cannot restart. |
+| `UZ-DT-003` | 409 | Durable task replay conflicts | Retry with the same request content and operation identity. |
+| `UZ-DT-004` | 409 | Durable task target is unavailable | Choose a target covered by the task goal and approved repository access. |
+| `UZ-DT-005` | 429 | Durable task limit reached | The task or fleet reached a work limit. Its saved progress remains available. |
+| `UZ-DT-006` | 503 | Decision unavailable | Check the decision model, account balance, and provider key. The request is saved. |
+| `UZ-DT-007` | 409 | Input needs clarification | Ask the person to explain what they want before changing the task. |
+| `UZ-DT-008` | 409 | Checkpoint is incompatible | Keep the earlier checkpoint. Restore a complete checkpoint that matches the setup. |
+| `UZ-DT-009` | 503 | Checkpoint storage unavailable | Retry the authorized transfer before its original deadline. Keep the last complete save. |
+| `UZ-DT-010` | 409 | Publication needs reconciliation | Check the saved publication record before trying the same change again. |
+| `UZ-DT-013` | 412 | Durable task version changed | Read the task again and retry with its current `ETag` and generation. |
### Schedules
@@ -185,7 +216,7 @@ Use the current response or event details when diagnosing a new failure.
### Drafts and setup
-These codes answer private drafts, Save, Apply, and account-owned Plugin publication.
+These codes describe responses from the retired draft, setup, and Plugin APIs.
| Code | HTTP | Title | Meaning and action |
|---|---|---|---|
@@ -250,14 +281,11 @@ These codes answer private drafts, Save, Apply, and account-owned Plugin publica
### Library listings
+The model catalogue uses the active listing codes below. Older logs can also contain the retired codes.
+
Model catalogue reads use the codes below. Keep `limit` within 1 to 100 and use the previous page's `next_cursor`.
Start again from the first page after changing a filter.
-Plugins use `UZ-AUTHOR-011` for malformed or mismatched cursors.
-Their list route is `/v1/workspaces/{workspace_id}/plugins`; it returns only your account's entries.
-
-Removing a Plugin answers `UZ-AUTHOR-001` when the entry is not one your account owns.
-
| Code | HTTP | Title | Meaning and action |
|---|---|---|---|
| `UZ-LIBRARY-001` | 400 | Pagination cursor is malformed | That page link is no longer valid. Go back to the first page and try again. |
@@ -292,7 +320,7 @@ Removing a Plugin answers `UZ-AUTHOR-001` when the entry is not one your account
| `UZ-RUN-012` | 402 | Lease renewal blocked: no credits | The tenant balance cannot cover another run slice. The lease does not renew, and the run stops cleanly. |
| `UZ-RUN-013` | 400 | Renew body malformed | The runner reports retired usage fields, so its lease cannot renew. Upgrade `agentsfleet-runner` together with `agentsfleetd`. |
| `UZ-RUN-014` | 404 | Runner not found | We couldn't find that runner. It may have been removed — refresh the list. |
-| `UZ-RUN-015` | 402 | Lease renewal blocked: fleet budget exhausted | The fleet reached its `daily_nanos` or `monthly_nanos` limit from its reviewed setup, so the run stops. The tenant balance is fine; this is the fleet's own budget. |
+| `UZ-RUN-015` | 402 | Lease renewal blocked: fleet budget exhausted | **Retired.** The fleet exceeded a limit in its saved setup. Current runs use the account balance. |
| `UZ-RUN-016` | 409 | Active runner must be revoked before deletion | This runner is still live. Revoke it first, then delete it. |
| `UZ-RUN-018` | 409 | Self-test refused: runner is revoked | A revoked runner cannot receive a self-test. Enroll a replacement runner. |
| `UZ-RUN-019` | 409 | Event has no thread to message | The run came from an API steer, a webhook, or a schedule, so no thread is waiting. Say it in the run's answer instead. |
@@ -300,6 +328,10 @@ Removing a Plugin answers `UZ-AUTHOR-001` when the entry is not one your account
| `UZ-RUN-021` | 409 | Runner stream superseded | A newer connection owns this runner. Stop the duplicate process and keep one intended process per runner token. |
| `UZ-RUN-022` | 409 | Lease cancelled | The fleet was killed. Stop that lease and report its final result. |
| `UZ-RUN-023` | 400 | Runner protocol unsupported | Upgrade `agentsfleet-runner` and `agentsfleetd` together so they use the same runner protocol. |
+| `UZ-RUN-024` | 503 | Runner stream disconnected | The runner reconnects automatically. Check the private listener and its network route if this repeats. |
+| `UZ-RUN-026` | 409 | Tenant-managed runner | The owning account must rotate this runner's token through its runner endpoint. |
+| `UZ-RUN-027` | 500 | Runner placement refused | Report the placement failure with the request identifier. |
+| `UZ-RUN-033` | 409 | Host already registered | Read the existing runner from the `Location` header. Rotate its token if needed. |
### Runs
@@ -324,15 +356,25 @@ See [Troubleshoot a fleet](/fleets/troubleshooting) for recovery.
| `UZ-EXEC-016` | 401 | Runner token rejected | **Retired.** The runner token was rejected. Re-enroll the host instead of retrying its old token. |
| `UZ-EXEC-017` | 409 | Assignment exceeds host capability | **Retired.** The host could not enforce the assigned policy; fix the host or choose a suitable runner. Check the current event's `failure_class`, such as `startup_posture`. |
+### Run checkpoints
+
+| Code | HTTP | Meaning | What to do |
+|---|---|---|---|
+| `UZ-RUN-028` | 409 | Run checkpoint incompatible | Use a runner with matching settings or start a new run. |
+| `UZ-RUN-029` | 409 | Run checkpoint conflict | Read the latest checkpoint descriptor before trying to save again. |
+| `UZ-RUN-030` | 503 | Run checkpoint unavailable | Keep the last complete checkpoint and retry when storage returns. |
+| `UZ-RUN-031` | 413 | Run checkpoint limit exceeded | Reduce the state or workspace files the checkpoint needs to store. |
+| `UZ-RUN-032` | 413 | Run too large to send | Shorten the message or start a new conversation. The runner frame limit is 32 MiB. |
+
### Approvals
| Code | HTTP | Title | Meaning and action |
|---|---|---|---|
-| `UZ-APPROVAL-001` | 400 | Approval parse failed | **Retired.** Invalid Definition fields now return [`UZ-REQ-001`](#UZ-REQ-001). Check the field named in the detail. |
+| `UZ-APPROVAL-001` | 400 | Approval parse failed | **Retired.** The old approval rule could not be read. |
| `UZ-APPROVAL-002` | 404 | Approval not found | That approval action wasn't found. It may have already timed out or been resolved elsewhere. |
| `UZ-APPROVAL-003` | 401 | Approval invalid signature | **Retired.** Invalid callback signatures now use [`UZ-WH-010`](#UZ-WH-010). Check the signing secret. |
| `UZ-APPROVAL-004` | 503 | Approval service unavailable | **Retired.** Report the current service error and request identifier when approvals are unavailable. |
-| `UZ-APPROVAL-005` | 400 | Approval condition invalid | **Retired.** Invalid approval conditions now fail Definition validation with [`UZ-REQ-001`](#UZ-REQ-001). |
+| `UZ-APPROVAL-005` | 400 | Approval condition invalid | **Retired.** The old approval rule had an invalid condition. |
| `UZ-APPROVAL-006` | 409 | Approval already resolved | Someone already resolved this. Refresh to see the outcome and who resolved it. |
### Memory
@@ -360,9 +402,9 @@ See [Troubleshoot a fleet](/fleets/troubleshooting) for recovery.
| Code | HTTP | Title | Meaning and action |
|---|---|---|---|
| `UZ-REPAIR-010` | 403 | Write mint requires an approved gate | **Retired.** Repository writes use the fleet's integration grant. A missing approved grant returns [`UZ-GRANT-001`](#UZ-GRANT-001). |
-| `UZ-REPAIR-011` | 403 | Fleet binding changed since approval | **Retired.** Repository access follows the fleet's current Definition. Keep `repositories` limited to the repositories it needs. |
+| `UZ-REPAIR-011` | 403 | Fleet binding changed since approval | **Retired.** Check the fleet's current repository grant before requesting write access. |
| `UZ-REPAIR-012` | 200 | Duplicate repair link refused | **Retired.** The webhook path no longer records repair links through this check. Repository access uses fleet integration grants. |
-| `UZ-REPAIR-013` | 403 | Write request allowance exhausted | **Retired.** The per-approval request allowance was removed. Set `budget.daily_nanos` to limit the fleet's daily spending. |
+| `UZ-REPAIR-013` | 403 | Write request allowance exhausted | **Retired.** The former per-approval write limit was reached. |
| `UZ-REPAIR-014` | 200 | Repair provenance refused | **Retired.** The webhook path no longer checks repair provenance against a per-run write approval. Review the fleet's integration grant instead. |
### Integration grants
diff --git a/api-reference/introduction.mdx b/api-reference/introduction.mdx
index ad8d066..5c0a9da 100644
--- a/api-reference/introduction.mdx
+++ b/api-reference/introduction.mdx
@@ -3,8 +3,8 @@ title: API introduction
description: Base URL, authentication, errors, and common response formats.
type: explanation
audience: user
-verified: 2026-11-15
-product_version: 0.77.0
+verified: 2026-11-25
+product_version: 0.90.0
executable: false
---
@@ -12,7 +12,7 @@ executable: false
The `agentsfleet` API lets your software create, inspect, and control fleets. Send requests to `https://api.agentsfleet.net`.
-The linked OpenAPI file describes every path, request body, response, and status code.
+The OpenAPI file lists the available routes, inputs, responses, and status codes.
## Why it exists
@@ -20,10 +20,11 @@ Use the API when a script or service needs direct access. Use the command-line c
## How it behaves
+### Authenticate
+
Most paths accept a bearer token in the `Authorization` header. Tenant API keys start with `agt_t` and are shown once when created.
-The dashboard's **Security** page combines account API keys and active sessions.
-Your account avatar shows the current image when available, with your email on hover.
+Manage keys and active sessions on the dashboard's **Security** page.
Key lists show a recorded four-character suffix for recognition; older keys can have no recorded suffix.
The suffix cannot authenticate a request, and the original key cannot be recovered from it.
@@ -41,6 +42,8 @@ After that ceiling, session verification returns HTTP `503` with `UZ-AUTH-004` u
Webhook and connector paths use provider signatures instead of bearer tokens. The OpenAPI security section on each operation states the required method.
+### List fleets
+
To list fleets, copy `` from `agentsfleet workspace list`.
Replace `` with a key that has `fleet:read` access to that workspace.
Create keys under **Settings → Security → Create API key** in the dashboard.
@@ -53,11 +56,14 @@ curl "https://api.agentsfleet.net/v1/workspaces//fleets" -H "Autho
```
-A successful response contains `items`, `total`, and `next_cursor`.
-These values depend on your workspace. A fake or expired key returns an authentication error.
+Read fleets from `items`. When `next_cursor` has a value, use it to fetch the next page.
+
+### Read an error
Errors use the HTTP problem details format. Each product error includes an `error_code`, a `request_id`, and a documentation URL.
+### Identifiers and timestamps
+
Identifiers use version 7 Universally Unique Identifiers (UUIDs).
Timestamps are Request for Comments (RFC) 3339 strings in Coordinated Universal Time (UTC), such as `2026-10-17T18:06:49.123Z`. A whole second has no fraction, as in `2026-10-17T18:06:49Z`. Compare timestamps after parsing them, because text order is not time order.
@@ -67,6 +73,8 @@ A timestamp you send may use any RFC 3339 offset. It may carry at most milliseco
The dashboard displays timestamps in your browser's timezone.
Schedule expressions retain their declared timezone.
+### Money amounts
+
Money amounts are whole nanodollars, written as decimal strings. One United States (US) dollar is `"1000000000"`. Every field whose name contains `_nanos` uses this form, including balances, charges, event costs, and model rates.
Except for the balance below, a nanodollar string holds digits only, with no sign, no leading zero, and no decimal point.
diff --git a/api-reference/scopes.mdx b/api-reference/scopes.mdx
index d42fa69..ba5caa2 100644
--- a/api-reference/scopes.mdx
+++ b/api-reference/scopes.mdx
@@ -3,8 +3,8 @@ title: API scopes
description: Permissions that an agentsfleet access token can carry.
type: reference
audience: user
-verified: 2026-11-15
-product_version: 0.77.0
+verified: 2026-11-25
+product_version: 0.90.0
executable: false
---
@@ -36,8 +36,8 @@ A valid key without `fleet:read` returns this scope error. The fake token above
| Scope | Effect | Included by |
|---|---|---|
-| `fleet:read` | Reads fleets, events, and memory. | `fleet:write`, `fleet:admin` |
-| `fleet:write` | Creates, updates, and messages fleets. Also reads and writes your own private drafts. | `fleet:admin` |
+| `fleet:read` | Reads fleets, turns, memory, and triggers. | `fleet:write`, `fleet:admin` |
+| `fleet:write` | Creates and updates fleets, sends messages, and removes fleet triggers. | `fleet:admin` |
| `fleet:admin` | Deletes fleets. | None |
| `secret:read` | Lists secret names and metadata. | `secret:write` |
| `secret:write` | Creates, rotates, and deletes secrets. Deleting a secret named for a connector also needs `connector:write`. | None |
@@ -50,23 +50,18 @@ A valid key without `fleet:read` returns this scope error. The fake token above
| `connector:write` | Starts a connector setup flow and disconnects a connector, including by deleting its secret. | None |
| `billing:read` | Reads the tenant balance and charges. | None |
| `workspace:admin` | Creates and lists workspaces. | None |
-| `plugin:write` | Publishes a reviewed draft as an account-owned Plugin or revision, and removes a Plugin your account owns. | None |
| `approval:read` | Reads pending approvals. | `approval:resolve` |
| `approval:resolve` | Approves or denies a request. | None |
-`agentsfleet fleet approvals` uses these scopes. Listing needs `approval:read`; approving or denying needs `approval:resolve`.
+List pending requests with `approval:read`. Approving or denying also needs a person's signed-in session and `approval:resolve`.
Operator tokens may carry `runner:*`, `platform-key:*`, `model:*`, or `workspace:any`. Tenant integrations do not need these scopes.
-`plugin:write` replaces `library:write`. Platform library publication and its scopes are removed, with no compatibility aliases.
-
## Errors
### UZ-AUTH-022: Insufficient scope
-The token lacks the scope named in `detail`. Create a new key with that scope, then retry the request.
-
-Do not add unrelated scopes. A narrower key limits the effect of a leaked key.
+Read the missing scope in `detail`. Use a credential that has that scope and only the other permissions your task needs.
## Related pages
diff --git a/billing/budgets.mdx b/billing/budgets.mdx
index 4c04506..11807ca 100644
--- a/billing/budgets.mdx
+++ b/billing/budgets.mdx
@@ -1,151 +1,65 @@
---
-title: Fleet budgets
-description: Daily and monthly spending limits for one fleet.
+title: Credits and usage
+description: Understand how fleet runs spend your account balance and read usage.
type: explanation
audience: user
-verified: 2026-11-15
-product_version: 0.77.0
+verified: 2026-11-25
+product_version: 0.90.0
executable: false
---
## What it is
-A fleet budget limits how much one fleet can spend. The fleet author sets the budget in `budget` under `config["x-agentsfleet"]` in the fleet's Definition.
-
-```json
-{
- "budget": {
- "daily_nanos": "5000000000",
- "monthly_nanos": "29000000000"
- }
-}
-```
-
-Each limit is a decimal string of whole nanodollars. One dollar is `"1000000000"`, so the example allows 5 dollars a day and 29 dollars a month.
-
-`daily_nanos` is required. `monthly_nanos` is optional; leave it out for no monthly limit.
+An account has one credit balance shared by its workspaces. Each fleet run records model usage and time. The account that owns the fleet's workspace pays these charges.
## Why it exists
-Every workspace in one account shares the same credit balance. A fleet budget stops one fleet from draining that shared balance.
-
-Open the account menu to see your available balance and choose **Usage** for recorded charges.
-The expanded desktop sidebar also shows a **Credits** link to Usage.
-
-The fleet owns its budget. Applying a reviewed setup change replaces the limits, and deleting the fleet removes them.
+The balance lets you track and limit total account spending. Open **Usage** from the account menu or use the **Credits** link in the desktop sidebar.
## How it behaves
-The daily limit covers a rolling 24-hour window. The monthly limit covers one Coordinated Universal Time (UTC) calendar month.
-
-`agentsfleet` checks the limits before a run and while the run continues. A reached limit blocks new work and stops an active run at its next billing check.
-
-A blocked event does not retry. Raise the limit in an improvement chat, apply the change, and send a new event.
+### How a run is charged
-The fleet, memory, and activity stream survive a budget stop. A stopped run has no final result.
+The server checks the account balance before assigning a run and checks it again during the run. It records model requests and runtime as separate charge lines.
-### What a budget counts
+When you use the platform model, agentsfleet charges for model usage and runtime. When you use your own provider key, the provider bills its tokens and agentsfleet charges for runtime.
-A budget counts only the fleet's own runs. The setup chat that wrote or changed the fleet is charged to the workspace owner's balance, not to the fleet's budget.
-
-While billing is available, a limit is checked before each run and at each renewal while it runs. A run already in progress can pass its limit by up to one renewal of usage before it stops.
-
-If billing cannot answer, work continues and can exceed that bound. The full charge is settled later.
+Stopping a run ends its remaining work. Usage it already recorded is still charged.
### Review your spending
-Open **Usage** in the account menu to see confirmed charges across your account's workspaces.
-These are called **settled charges**.
-
-Choose a named month, such as **November 2026**, or **Last 7 days**, then filter by fleet.
-**All Fleets** includes setup usage and saved-fleet usage; individual fleets follow it in the dropdown.
-
-The dashboard displays report ranges in your browser's timezone.
-
-The totals cover all matching usage in the selected period.
-**By fleet** groups settled charges by fleet and shows its recorded models.
-
-**Daily spend** shows complete daily totals from the report, including days with no settled charges.
-The server supplies complete UTC calendar buckets; the browser formats the displayed range bounds.
-
-Setup usage never exposes private draft titles or messages.
-
-Input tokens are pieces of text the model reads; output tokens are pieces it writes.
-The report retains recorded model identities and exact charges.
-When a model name is unavailable, Usage shows its recorded identifier.
+Choose a period and fleet in **Usage**. **By fleet** groups costs across your workspaces, and **Daily spend** shows daily totals. Charges retain the fleet name recorded at the time.
-Each report includes charges confirmed by the time it was opened.
-Pending usage stays outside its totals; newer reports can include charges confirmed later.
-Missing usage information does not mean that usage was free.
+Read the current balance and usage from the terminal.
-Changing a filter starts a new report.
-
-If loading fails, use **Retry report**.
-A loading error is shown as an error, rather than as zero spending.
+```bash
+agentsfleet usage show
+```
-Usage has no Add credit action while its design is being prepared.
+```text
+
+```
### Read charges through the API
-
-The reporting API changes below are coming soon.
-Upgrade the dashboard and server together before using the updated response.
-The API reference still describes the current server.
-
-
-`GET /v1/tenants/me/billing/reports/current` returns the report.
-The report accepts `period`, `fleet_id`, `activity_type` and `through_at`.
-
-`period` defaults to `month`; `today` and `week` select today or seven calendar days.
-Reporting periods use UTC, and `through_at` is an inclusive cutoff that defaults to now.
-The report covers every whole UTC day through that cutoff.
-
-A current-month request omits `through_at`.
-To read a past month, set `through_at` to that month's last UTC millisecond.
-
-Omit fleet and activity filters to include fleet work and setup usage.
-`fleet_id` selects one fleet's runtime usage; `activity_type=setup` selects setup usage.
-Use `activity_type=runtime` for fleet work only.
-
-Read settled daily amounts from `daily` and fleet/model groups from `spending`.
-Period and fleet totals include `activity_count`; daily and model totals omit it.
-Each activity counts one settled fleet run or setup attempt.
+| Request | Result |
+|---|---|
+| `GET /v1/tenants/me/billing` | The account balance |
+| `GET /v1/tenants/me/billing/reports/current` | Totals, groups by fleet, and daily amounts |
+| `GET /v1/tenants/me/billing/charges` | Individual recorded charges, newest first |
-`agentsfleet` records each provider request and each billed stretch of runtime separately.
-`GET /v1/tenants/me/billing/charges` returns those individual records.
-Both billing reads require `billing:read` and use your signed-in account.
+These requests need `billing:read`. The report accepts `period`, `fleet_id`, `activity_type`, and `through_at`. Use `runtime` if you set `activity_type`.
-Use the response's `next_cursor` as `cursor` for later charge pages.
-`limit` defaults to 50 records and accepts 1 through 200.
-
-Some older charges combine model use and run time in one amount.
-The API keeps that recorded amount because separate historical prices are unavailable.
-
-Each request is priced at the rate in effect when it was made, and at the tier its whole prompt falls in. Cached reads, cache writes, and output each use their own rate.
-
-Each token category on a line is rounded up to a whole nanodollar on its own. A line can cost at most one nanodollar more per category than the exact amount, and never less.
-
-Under a self-managed provider key, your provider bills the tokens and `agentsfleet` charges run time only.
-
-Charges recorded during a billing outage settle once billing answers again.
-
-Settlement charges the full amount and can take your balance below zero. New credit repays that debt before any remainder becomes spendable.
+Periods use Coordinated Universal Time (UTC). `through_at` is an inclusive cutoff. Amounts are integer nanodollar strings, with 1,000,000,000 nanodollars per dollar.
## Limits
-| Field | Default | Unit | Valid range |
-|---|---|---|---|
-| `daily_nanos` | None; required | Nanodollars per rolling 24 hours | `"1"` through `"1000000000000"`, which is `$1,000` |
-| `monthly_nanos` | None | Nanodollars per UTC month | `"1"` through `"10000000000000"`, which is `$10,000` |
-
-Zero, signs, decimal points, exponents, and numbers outside the range are refused. A JSON number in place of the string is refused too.
-
-An invalid budget blocks review and Save with `UZ-REQ-001`. A stored budget that cannot be read blocks the next run.
+One balance covers all fleets in the account. Parallel runs can spend more before the next balance check, and a charge can take the account below zero.
-`UZ-RUN-015` marks a budget stop during a run.
-The event's recorded failure class is `budget_breach`.
+New work is refused when the balance falls below the required floor. Credit added later first repays outstanding charges.
## Related pages
-- [Author a fleet](/fleets/authoring)
+- [Model providers](/fleets/model-providers)
+- [Fleet overview](/fleets/overview)
- [Error codes](/api-reference/error-codes)
diff --git a/changelog.mdx b/changelog.mdx
index bab9243..35fc770 100644
--- a/changelog.mdx
+++ b/changelog.mdx
@@ -7,6 +7,24 @@ description: "Product changes and upgrade notes."
agentsfleet is in **stealth-mode testing** and pre-production. APIs and agent behavior may change between releases without long deprecation windows. Email [agentsfleet@agentmail.to](mailto:agentsfleet@agentmail.to) if you want a hand calibrating an agent or to join as a design partner.
+
+ ## New fleet model and Orbit controls
+
+ When a default model is available, New fleet names it before you send the first message.
+
+ ## API reference
+
+ - **Fleet creation** — Send the first message in `POST /v1/workspaces/{workspace_id}/fleets` to start a fleet.
+
+ ## Bug fixes
+
+ - **Model selection** — The composer uses the workspace owner's selection. If the owner has no selected model, it uses the shared platform default.
+
+ ## CLI
+
+ - **Orbit** — Collect stars, build a rally, and toggle arcade sounds with **S**. See the [game controls](/cli/agentsfleet#terminal-pet).
+
+
## One clock for runners
diff --git a/cli/agentsfleet.mdx b/cli/agentsfleet.mdx
index 8a35ddc..57a375e 100644
--- a/cli/agentsfleet.mdx
+++ b/cli/agentsfleet.mdx
@@ -3,8 +3,8 @@ title: Command reference
description: Commands available in the agentsfleet command-line client.
type: reference
audience: user
-verified: 2026-11-15
-product_version: 0.77.0
+verified: 2026-11-25
+product_version: 0.90.0
executable: false
---
@@ -30,14 +30,14 @@ The server checks the signed-in credential’s scopes on every request. A comman
| Command group | Purpose | Required scopes |
|---|---|---|
-| `agentsfleet platform keys` | Inspect or set the platform default provider and model. Stored keys stay hidden. | `platform-key:read` for list; `platform-key:admin` for set/delete |
+| `agentsfleet platform models default` | Inspect or set the platform default provider and model. Stored keys stay hidden. | `platform-key:read` for list; `platform-key:admin` for set/delete |
| `agentsfleet platform models` | List, inspect and maintain the priced model catalogue. | `model:read` for reads; `model:admin` for writes |
-| `agentsfleet platform runners` | Inspect hosts, enroll them, update policy and manage their lifecycle. | `runner:read`, `runner:enroll` or `runner:write`, according to the operation |
+| `agentsfleet platform runners` | Inspect hosts, enroll them, update policy and manage their lifecycle. | `runner:read`, `runner:register` or `runner:write`, according to the operation |
Choose a catalogued model backed by an existing provider credential in the named workspace:
```bash
-agentsfleet platform keys use --provider --workspace --model
+agentsfleet platform models default use --provider --workspace --model
```
```text
@@ -49,7 +49,7 @@ Active Yes
The command confirms the stored default metadata without revealing the key.
-`--api-key-stdin` accepts a piped key and also requires workspace ownership and `secret:write`. `--replace` replaces an existing named credential and requires `--api-key-stdin`. Use `agentsfleet platform keys list` to inspect the result.
+Use `agentsfleet platform models default list` to check the result. Save the provider's key in the workspace before selecting it.
## Example with output
@@ -71,7 +71,6 @@ FLAGS
SUBCOMMANDS
login Authenticate via browser
- chat Create, resume, and review a private workspace chat
fleet Fleet management subcommands
```
@@ -175,24 +174,27 @@ Manual sign-in requires terminal input, so omit `--no-input`.
### Terminal pet
-Watch Orbit, your terminal jellyfish, float, work and celebrate for five seconds.
+Run Orbit, a local paddle game, in an interactive terminal.
```bash
agentsfleet pet
```
```text
-Orbit appears while a Platform request is running.
+Space serve S sound off
```
-The animation plays above that final message. Press **Ctrl+C** to stop the preview.
+Press **Space** to serve. Move the paddle with the arrow keys or **A** and **D**. Press **R** to restart or **Q** to quit.
-The full preview needs at least 61 columns and 20 rows. Small terminals and terminals without color use a compact jellyfish.
+You get three lives. Collect stars for 50 bonus points. Each return in a rally earns more points, and the ball speeds up as you return it.
-Resizing the terminal stops the full preview's redraws; the final message still appears.
-Set `AGENTSFLEET_REDUCED_MOTION=1` for a static display.
+Restarting keeps your best score for the current session. Press **S** to toggle the sound effects, which start off. Orbit uses the terminal bell if a sound file cannot play.
-The preview needs no sign-in and makes no API request. Orbit also appears during Platform administration requests.
+The court needs at least 35 columns and 14 rows. Resizing the terminal ends the game. Run `agentsfleet pet` again to start over.
+
+The game makes no API requests and requires no sign-in.
+
+The request loader shows a bouncing ball. Set `AGENTSFLEET_REDUCED_MOTION=1` for a static request status.
```bash
agentsfleet pet --json
@@ -204,7 +206,7 @@ agentsfleet pet --json
}
```
-Piped output returns that same JSON object without animation.
+Piped output returns the same JSON object.
### Workspaces and access
@@ -224,187 +226,50 @@ Piped output returns that same JSON object without animation.
### Chat
-`agentsfleet chat` creates, resumes, and reviews a private draft. It is the only way to create a fleet or a plugin from the terminal. Only the person who starts a draft can read it.
-
-| Command | Effect |
-|---|---|
-| `agentsfleet chat --model ` | Starts a blank draft and opens an interactive chat. |
-| `agentsfleet chat ` | Resumes a draft and prints its earlier messages. |
-| `agentsfleet chat --definition --model ` | Starts a draft from a Definition JSON file, with no chat message. |
-| `agentsfleet chat --plugin --revision --model ` | Starts a draft from one plugin revision, with no chat message. |
-| `agentsfleet chat --fleet --setup-revision --model ` | Starts a draft that improves an existing fleet, with no chat message. |
-| `agentsfleet chat list` | Lists one page of your setup chats, most recently updated first. |
-| `agentsfleet chat rename ` | Renames an open, idle setup chat. The saved fleet keeps its name. |
-| `agentsfleet chat delete ` | Deletes a setup chat and its private messages after you confirm. Saved fleets keep running. |
-
-`` is the `ref` of an authoring model from `GET /v1/workspaces/{workspace_id}/models?purpose=authoring`. `` is the fleet's `setup_revision` field from `agentsfleet --json fleet show `.
-
-In an interactive chat, ordinary text is a message. These actions start with `/`:
-
-| Slash command | Effect |
-|---|---|
-| `/review [INSTANCE_NAME]` | Prints the full setup, its required access, its readiness checks, and its review digest. The name selects the fleet name. |
-| `/save` | Saves the reviewed setup as a new fleet. |
-| `/run ` | Saves the reviewed setup and sends the fleet `` once. |
-| `/publish