Before you start
You need:- Your TrueFoundry sign-in URL: the address you use to open your organization’s TrueFoundry console.
- Access to gateway models: ask your administrator which models to use if you are unsure.
- At least one supported agent installed: the wizard configures existing apps; it does not install them. See supported agents.
- A terminal: use Terminal on macOS/Linux, or PowerShell on Windows.
Install the setup tool
Run the command for your system. It installs the latest release in your user account, without administrator privileges.- macOS, Linux
- Windows
~/.local/bin (%LOCALAPPDATA%\TrueFoundry on Windows). If that folder is not on your PATH, it adds it: to your shell profile on macOS/Linux (~/.zshrc, ~/.bashrc, your bash login file on macOS, or fish’s conf.d), or to your user PATH on Windows.
On macOS/Linux, open a new terminal before you continue, or run the export PATH=… line the installer prints. On Windows, the tool works in the same PowerShell window.
Keep the binary in its installed location: agents may call it later to retrieve credentials.
Install another version or install manually
Install another version or install manually
tfy-local-ai-setup-darwin-arm64 (Apple silicon), -darwin-amd64 (Intel Mac), -linux-amd64, -linux-arm64, or -windows-amd64.exe. Check it against SHA256SUMS from the same release. Save it as tfy-local-ai-setup (tfy-local-ai-setup.exe on Windows) in a folder on your PATH, and on macOS/Linux make it executable with chmod +x.Connect your agents
Run:Sign in and select your agents

Enter the URL you use to sign in to your organization.

Choose the installed agents you want to connect.
Connect to your gateway

If prompted, confirm the gateway URL provided by your administrator.
Choose shared MCP servers and Skills

Step 1 selects the MCP servers and Skills shared by your selected agents.

Review the checked servers; these choices apply to all selected agents.

Skills are optional and shared by the agents selected in this run.
Choose models for each agent

Choose Claude Code's tier models; changes are saved only after the final review.
Review all changes and apply once

The shared review includes file changes for every selected agent; this excerpt shows Codex.

After reviewing the files and any manual steps, confirm once to apply all changes.
Check the completion summary
Open your apps
Follow your agent’s setup guide to finish any manual steps, open the app, and authorize optional MCP servers. Open a new terminal before starting terminal-based agents.Verify the connection
- Send a model request. In each agent, select your configured model and ask:
Reply exactly TFY-CHAT-OK. Do not use tools.Confirm that a response arrives without an authentication or model error. - Check the gateway. In TrueFoundry, open AI Gateway → Request Logs and find the request. Check that it used the expected model. If you cannot access Request Logs, ask your administrator to confirm the request, sharing your agent, model, and the time you sent it. A chat response alone does not confirm which connection served it.
- Test optional tools. If you added MCP servers, ask the agent to perform a harmless read, such as listing issues in a repository you can access. Confirm that the app shows a completed MCP tool invocation. If you added Skills, check that the agent lists them using its Skills view or command.
Change your setup later
<agent> with the command name from the table below. Choices are saved for future runs. Connection and authentication settings are shared, so review any change that could affect other agents.
Run setup without the wizard
To script setup or reuse the same choices, put them in a JSON or TOML file and pass it with--config. Name agents by their command name:
control_plane_url and at least one agent; tenant_name and gateway_url are discovered if you leave them out, and skills works like mcp_servers. Setup checks the file against its setup schema first, and errors name the field, for example agents.codex: missing property 'model'. The wizard asks only for what the file does not set, then shows the review. Add --yes to apply without the confirmation prompt, or --dry-run to show the planned changes without writing anything or creating a token.
Supported agents
Troubleshooting
tfy-local-ai-setup is not found after installing
tfy-local-ai-setup is not found after installing
echo "$PATH" and look for ~/.local/bin. If it is missing, add export PATH="$HOME/.local/bin:$PATH" to your shell profile. This can happen with shells other than zsh, bash and fish, or if you set TFY_NO_MODIFY_PATH=1. On Windows, open a new PowerShell window and check that %LOCALAPPDATA%\TrueFoundry is in your user PATH.The setup command is missing or does not recognize personal
The setup command is missing or does not recognize personal
tfy-local-ai-setup is not earlier on your PATH.My agent is missing or cannot be selected
My agent is missing or cannot be selected
Claude.app, and VS Code and Cursor from their apps. An agent managed centrally by your organization is greyed out and must be configured by IT.The model I need is not listed
The model I need is not listed
Setup finished, but chat fails or asks for a key
Setup finished, but chat fails or asks for a key
tfy-local-ai-setup doctor and check the app-specific integration guide if the error persists.Chat works, but an MCP server needs authentication
Chat works, but an MCP server needs authentication
A Skill is missing
A Skill is missing
tfy-local-ai-setup status and tfy-local-ai-setup doctor. Rerun setup or update if a download failed. Check your agent’s setup guide for any required app steps.I need a setup log for support
I need a setup log for support