Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

providers-fx.md

39 lines2.7 KB

1# fx
2​
3Run [fx](https://fx.sh) in T3 Code using the fx login and backends configured on your server machine. Requires **fx 0.0.13+** (macOS 15+ for releases after 0.0.13).
4​
5## Set up and update
6​
71. Install fx on the server machine:
8 ```bash
9 curl -fsSL https://fx.sh/setup.sh | bash
10 ```
112. Run `fx login` on that machine.
123. Enable **fx** in **Settings → Providers** and refresh (set **Binary path** if `fx` isn't on `PATH`).
13​
14All fx instances on a machine share that machine's fx login.
15​
16- **Updates**: Click **Update now** in **Settings → Providers** for standalone (`fx upgrade`) or Homebrew (`fx-agent`) installs. Update mise, MacPorts, Nix, or dev-channel installs manually.
17​
18## Backends, models, skills, and MCP
19​
20- **Backends**: fx supports Vercel AI Gateway, Codex, Grok, and custom OpenAI-compatible endpoints. Each backend appears under its own heading in the model picker; switching backends applies per thread without changing your terminal's `fx provider` default. Signed-out backends show their login command (e.g. `fx login grok`).
21- **Default model & effort**: **Default** uses fx's configured default for that project folder. **Effort** defaults to Medium.
22- **Skills & MCP**: Type `$` to invoke skills discovered by fx (case-insensitive deduplication; type exact case if two skills differ only in casing). MCP servers load from `~/.fx/mcp.json`.
23​
24## Permission modes and steering
25​
26| Mode | Behavior |
27| --------------- | -------------------------------------------------------------------------------------------- |
28| **Supervised** | Asks before edits and commands; reads proceed without asking. |
29| **Auto** | Handles routine actions automatically; forwards remaining prompts to you. |
30| **Full access** | Runs all actions without asking (requires **fx 0.0.14+**; refresh provider after upgrading). |
31​
32- **Auto-accept edits** is not supported (falls back to Supervised). Changing modes reloads the fx session.
33- On fx 0.0.14+, setting a mode in T3 Code also updates fx's saved default permission mode.
34- Steering into a running turn stops that turn and answers the new message in the same session.
35​
36## Sub-agents and limitations
37​
38- **Sub-agents**: Shown as child threads with their task and summarized reply (individual steps are hidden). fx does not forward sub-agent permission prompts—use **Auto** or **Full access** so sub-agents don't stall waiting for approval.
39- **Not supported**: **Auto-accept edits**, and T3 Code text generation (titles, commit messages, PR descriptions, branch names)—pick another provider for those.