You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/_generated/tui_runtime_reference.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,4 +33,6 @@
33
33
|`shell_execution.interactive_use_pty`|`SHELL_EXECUTION__INTERACTIVE_USE_PTY`|`bool`|`True`| Use a PTY for interactive prompt shell commands. |
34
34
|`shell_execution.timeout_seconds`|`SHELL_EXECUTION__TIMEOUT_SECONDS`|`int`|`90`| Maximum seconds without command output before termination. |
35
35
|`shell_execution.warning_interval_seconds`|`SHELL_EXECUTION__WARNING_INTERVAL_SECONDS`|`int`|`30`| Show timeout warnings every N seconds. |
36
+
|`shell_execution.process_poll_max_wait_seconds`|`SHELL_EXECUTION__PROCESS_POLL_MAX_WAIT_SECONDS`|`int`|`250`| Maximum wait accepted by poll_process. |
Copy file name to clipboardExpand all lines: docs/docs/agents/instructions.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ The following variables are available in System Prompt templates:
28
28
| <nobr>`{{agentType}}`</nobr> | Current agent type ||
29
29
| <nobr>`{{agentCardPath}}`</nobr> | Source AgentCard path |`(internal)` when not loaded from a card |
30
30
| <nobr>`{{agentCardDir}}`</nobr> | Directory containing the source AgentCard |`(internal)` when not loaded from a card |
31
+
| <nobr>`{{modelReferences}}`</nobr> | Model references | Includes the effective `$system.default` Useful for instructing CLI based subagents |
31
32
| <nobr>`{{model_specific}}`</nobr> | Model-specific prompt guidance from the resolved model catalog entry or model overlay | Empty when the selected model has no model-specific guidance |
32
33
| <nobr>`{{hostPlatform}}`</nobr> | Host platform information ||
33
34
| <nobr>`{{pythonVer}}`</nobr> | Python version ||
@@ -38,7 +39,7 @@ The following variables are available in System Prompt templates:
Copy file name to clipboardExpand all lines: docs/docs/models/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ social:
9
9
10
10
**`fast-agent`** has native support for **OpenAI Responses** and **Chat Completions**, **Anthropic Messages**, **Google GenAI** and **Amazon Bedrock** APIs.
11
11
12
-
OpenAI Codex users can use their subscription with **`fast-agent`**, using their existing installation or logging in with `fast-agent auth codexplan`.
12
+
OpenAI Codex users can use their subscription with **`fast-agent`**, using their existing installation or logging in with `fast-agent auth login codex`.
13
13
14
14
Chat Completions models are also available via **Microsoft Azure**, and supported Anthropic models are available on **Google Vertex**.
| Structured outputs | Yes, JSON schema where model supports it | Yes, JSON schema where model supports it | Yes, model-dependent Chat Completions structured outputs |
@@ -77,7 +77,7 @@ Examples:
77
77
### Codex Responses models
78
78
79
79
Use `codexresponses` for Codex subscription-backed models. Authenticate with
80
-
`fast-agent auth codexplan` or provide `CODEX_API_KEY`.
80
+
`fast-agent auth login codex` or provide `CODEX_API_KEY`.
81
81
82
82
The `codexresponses` provider is similar to `responses`, with these main differences:
83
83
@@ -208,7 +208,7 @@ for card-scoped runtime targets.
208
208
209
209
## Codex (OAuth Responses)
210
210
211
-
**`fast-agent`** supports using your OpenAI Codex subscription. Run `fast-agent auth codexplan`
211
+
**`fast-agent`** supports using your OpenAI Codex subscription. Run `fast-agent auth login codex`
212
212
once, then use a Codex OAuth model alias such as `codexplan` (GPT-5.5 planning),
213
213
`codexplan54`(GPT-5.4 planning), `codexplan53` (GPT-5.3 Codex planning), or
214
214
`codexspark`(GPT-5.3 Codex Spark).
@@ -217,7 +217,7 @@ once, then use a Codex OAuth model alias such as `codexplan` (GPT-5.5 planning),
217
217
218
218
```bash
219
219
# Start OAuth login (stores tokens in your OS keyring)
220
-
fast-agent auth codexplan
220
+
fast-agent auth login codex
221
221
222
222
# Use the Codex planning model
223
223
fast-agent --model codexplan
@@ -245,7 +245,7 @@ codexresponses:
245
245
246
246
**Notes:**
247
247
248
-
- Tokens are stored in your OS keyringvia `fast-agent auth codexplan`.
248
+
- Tokens are stored in your OS keyring, with a secure file fallback, via `fast-agent auth login codex`.
249
249
- `codexplan`maps to `codexresponses.gpt-5.5?reasoning=medium`.
250
250
- `codexplan54`maps to `codexresponses.gpt-5.4?reasoning=high`.
251
251
- `codexplan53`maps to `codexresponses.gpt-5.3-codex?reasoning=medium`.
@@ -254,5 +254,6 @@ codexresponses:
254
254
- Provider-managed MCP is **not** supported with `codexresponses`, including
255
255
Codex OAuth aliases such as `codexplan`, `codexplan54`, and `codexspark`.
256
256
Use `responses` instead when you need `management: provider`.
257
-
- To remove tokens, use: `fast-agent auth codex-clear`.
Copy file name to clipboardExpand all lines: docs/docs/models/providers/xai.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,33 @@ social:
11
11
12
12
Use the `xai` provider for xAI Grok models. xAI supports both `web_search` and `x_search`; fast-agent sends `x_search` as xAI's provider-managed X Search tool.
13
13
14
+
## Sign in with a Grok/X subscription
15
+
16
+
```bash
17
+
fast-agent auth login xai
18
+
```
19
+
20
+
The device login opens an xAI verification URL and displays a code. Provider
21
+
credentials use the OS keyring when it is writable and otherwise fall back to
22
+
`~/.fast-agent/auth.json`. Access tokens refresh automatically before expiry.
23
+
24
+
The model selector also offers this login when an xAI model is selected without
25
+
a configured credential.
26
+
27
+
Useful credential commands:
28
+
29
+
```bash
30
+
fast-agent auth status xai
31
+
fast-agent auth token xai
32
+
fast-agent auth export xai ./xai.auth.json
33
+
fast-agent auth logout xai
34
+
```
35
+
36
+
An exported file contains only the selected provider and includes its refresh
37
+
token. Set `FAST_AGENT_AUTH_FILE` to use that portable file. This is the
38
+
recommended form for long-running Harbor jobs because refreshed credentials are
0 commit comments