Skip to main content

FAQ & Troubleshooting

Quick answers and fixes for the most common questions and issues.


Frequently Asked Questions

What LLM providers work with Fabric?

Fabric works with any OpenAI-compatible API. Supported providers include:

  • OpenRouter — access hundreds of models through one API key (recommended for flexibility)
  • OpenAI — GPT-5.4, GPT-5-codex, GPT-4.1, GPT-4o, etc.
  • Anthropic — Claude models (direct API key, OpenRouter, or any compatible proxy)
  • Google — Gemini models (direct API via gemini provider, OpenRouter, or compatible proxy)
  • z.ai / ZhipuAI — GLM models
  • Kimi / Moonshot AI — Kimi models
  • MiniMax — global and China endpoints
  • Local models — via Ollama, vLLM, llama.cpp, SGLang, or any OpenAI-compatible server

Set your provider with fabric model or by editing ~/.fabric/.env. See the Environment Variables reference for all provider keys.

Does it work on Windows/Android/Termux/my plataform??

See Platform Support for the full platform availability matrix.

I run Fabric in WSL2. What's the best way to control my normal Windows Chrome?

Prefer an MCP bridge over /browser connect.

Recommended pattern:

  • run Fabric inside WSL2
  • keep using your normal signed-in Chrome on Windows
  • add chrome-devtools-mcp as an MCP server through cmd.exe or powershell.exe
  • let Fabric use the resulting MCP browser tools

This is more reliable than trying to force Fabric core browser transport to attach directly across the WSL2/Windows boundary.

See:

Is my data sent anywhere?

Model requests go to the LLM provider you configure (for example, OpenRouter or your local Ollama instance). Fabric does not collect telemetry, usage data, or analytics. Conversations, built-in MEMORY.md/USER.md memory, and skills are stored locally in ~/.fabric/. If you enable an external memory provider, that provider may receive and store conversation or memory data under its own configuration and policies.

Can I use local models? Does that make Fabric offline?

Fabric has a first-class native Ollama provider and can also route inference to other local OpenAI-compatible servers. Using a local model does not make the whole process offline or air-gapped: fallback and auxiliary models, external memory, tools, MCP, plugins, gateways, installs, updates, and terminal commands are separate egress paths.

For Ollama, pull the exact model in a dedicated profile, then select the native provider:

fabric profile create local
fabric -p local ollama pull qwen3.5:27b
fabric -p local model
# Select: Ollama (Local)
# Server root: http://127.0.0.1:11434
# Installed model: qwen3.5:27b
fabric -p local status --deep

Or configure it directly in config.yaml:

model:
default: qwen3.5:27b
provider: ollama
base_url: http://127.0.0.1:11434
context_length: 65536
ollama_num_ctx: 65536

Fabric persists the selected model, provider, and base URL in the profile's config.yaml. fabric status --deep performs a bounded read-only metadata check; a real chat plus a small reversible tool request is still required to prove end-to-end inference and tool use.

Custom endpoints remain available for vLLM, llama.cpp server, SGLang, LocalAI, authenticated proxies, and other compatible runtimes, but local Ollama should use provider: ollama. See Use a Local Ollama Model with Fabric for the complete setup, verification, Docker, cancellation, and egress checklist.

Ollama users

Keep model.ollama_num_ctx and model.context_length aligned with the context the daemon can really allocate. Fabric distinguishes the model maximum from its current allocation and fails deep readiness when the effective agent budget is too small.

Timeouts with local models

Fabric auto-detects local endpoints and relaxes the default stream timeout and stale-stream detector. Configure provider timeouts in config.yaml only when the automatic local defaults are insufficient; do not treat a timeout increase as proof that the model has enough RAM, VRAM, or context capacity.

How much does it cost?

Fabric's software license and your provider billing are separate from runtime costs. A local model avoids a per-token cloud-provider charge for that route, but still consumes your hardware, storage, electricity, bandwidth, and administration time.

Can multiple people use one instance?

Yes. The messaging gateway lets multiple users interact with the same Fabric instance via Telegram, Discord, Slack, WhatsApp, or Home Assistant. Access is controlled through allowlists (specific user IDs) and DM pairing (first user to message claims access).

What's the difference between memory and skills?

  • Memory stores facts — things the agent knows about you, your projects, and preferences. Memories are retrieved automatically based on relevance.
  • Skills store procedures — step-by-step instructions for how to do things. Skills are recalled when the agent encounters a similar task.

Both persist across sessions. See Memory and Skills for details.

Can I use it in my own Python project?

Yes. Import the AIAgent class and use Fabric programmatically:

from run_agent import AIAgent

agent = AIAgent(model="anthropic/claude-opus-4.7")
response = agent.chat("Explain quantum computing briefly")

See the Python Library guide for full API usage.


Troubleshooting

Installation Issues

fabric: command not found after installation

Cause: Your shell hasn't reloaded the updated PATH.

Solution:

# Reload your shell profile
source ~/.bashrc # bash
source ~/.zshrc # zsh

# Or start a new terminal session

If it still doesn't work, verify the install location:

which fabric
ls ~/.local/bin/fabric
tip

The installer adds ~/.local/bin to your PATH. If you use a non-standard shell config, add export PATH="$HOME/.local/bin:$PATH" manually.

Python version too old

Cause: Fabric requires Python 3.11 or newer.

Solution:

python3 --version   # Check current version

# Install a newer Python
sudo apt install python3.12 # Ubuntu/Debian
brew install python@3.12 # macOS

The installer handles this automatically — if you see this error during manual installation, upgrade Python first.

Terminal commands say node: command not found (or nvm, pyenv, asdf, …)

Cause: Fabric builds a per-session environment snapshot by running bash -l once at startup. A bash login shell reads /etc/profile, ~/.bash_profile, and ~/.profile, but does not source ~/.bashrc — so tools that install themselves there (nvm, asdf, pyenv, cargo, custom PATH exports) stay invisible to the snapshot. This most commonly happens when Fabric runs under systemd or in a minimal shell where nothing has pre-loaded the interactive shell profile.

Solution: Fabric auto-sources ~/.bashrc by default. If that's not enough — e.g. you're a zsh user whose PATH lives in ~/.zshrc, or you init nvm from a standalone file — list the extra files to source in ~/.fabric/config.yaml:

terminal:
shell_init_files:
- ~/.zshrc # zsh users: pulls zsh-managed PATH into the bash snapshot
- ~/.nvm/nvm.sh # direct nvm init (works regardless of shell)
- /etc/profile.d/cargo.sh # system-wide rc files
# When this list is set, the default ~/.bashrc auto-source is NOT added —
# include it explicitly if you want both:
# - ~/.bashrc
# - ~/.zshrc

Missing files are skipped silently. Sourcing happens in bash, so files that rely on zsh-only syntax may error — if that's a concern, source just the PATH-setting portion (e.g. nvm's nvm.sh directly) rather than the whole rc file.

To disable the auto-source behaviour (strict login-shell semantics only):

terminal:
auto_source_bashrc: false

uv: command not found

Cause: The uv package manager isn't installed or not in PATH.

Solution:

curl -LsSf https://astral.sh/uv/install.sh | sh
source ~/.bashrc

Permission denied errors during install

Cause: Insufficient permissions to write to the install directory.

Solution:

# Don't use sudo with the installer — it installs to ~/.local/bin
# If you previously installed with sudo, clean up:
sudo rm /usr/local/bin/fabric
# Then re-run the standard installer
curl -fsSL https://raw.githubusercontent.com/ObliviousOdin/fabric/main/scripts/install.sh | bash

Provider & Model Issues

/model only shows one provider / can't switch providers

Cause: /model (inside a chat session) can only switch between providers you've already configured. If you've only set up OpenRouter, that's all /model will show.

Solution: Exit your session and use fabric model from your terminal to add new providers:

# Exit the Fabric chat session first (Ctrl+C or /quit)

# Run the full provider setup wizard
fabric model

# This lets you: add providers, run OAuth, enter API keys, configure endpoints

After adding a new provider via fabric model, start a new chat session — /model will now show all your configured providers.

Quick reference
Want to...Use
Add a new providerfabric model (from terminal)
Enter/change API keysfabric model (from terminal)
Switch model mid-session/model <name> (inside session)
Switch to different configured provider/model provider:model (inside session)

API key not working

Cause: Key is missing, expired, incorrectly set, or for the wrong provider.

Solution:

# Check your configuration
fabric config show

# Re-configure your provider
fabric model

# Or set directly
fabric config set OPENROUTER_API_KEY sk-or-v1-xxxxxxxxxxxx
warning

Make sure the key matches the provider. An OpenAI key won't work with OpenRouter and vice versa. Check ~/.fabric/.env for conflicting entries.

Model not available / model not found

Cause: The model identifier is incorrect or not available on your provider.

Solution:

# List available models for your provider
fabric model

# Set a valid default model
fabric config set model.default anthropic/claude-opus-4.7

# Or specify per-session
fabric chat --model openrouter/meta-llama/llama-3.1-70b-instruct

Rate limiting (429 errors)

Cause: You've exceeded your provider's rate limits.

Solution: Wait a moment and retry. For sustained usage, consider:

  • Upgrading your provider plan
  • Switching to a different model or provider
  • Using fabric chat --provider <alternative> to route to a different backend

Context length exceeded

Cause: The conversation has grown too long for the model's context window, or Fabric detected the wrong context length for your model.

Solution:

# Compress the current session
/compress

# Or start a fresh session
fabric chat

# Use a model with a larger context window
fabric chat --model openrouter/google/gemini-3-flash-preview

If this happens on the first long conversation, Fabric may have the wrong context length for your model. Check what it detected:

Look at the CLI startup line — it shows the detected context length (e.g., 📊 Context limit: 128000 tokens). You can also check with /usage during a session.

To fix context detection, set it explicitly:

# In ~/.fabric/config.yaml
model:
default: your-model-name
context_length: 131072 # your model's actual context window

Or for custom endpoints, add it per-model:

custom_providers:
- name: "My Server"
base_url: "http://localhost:11434/v1"
models:
qwen3.5:27b:
context_length: 64000

See Context Length Detection for how auto-detection works and all override options.


Terminal Issues

Command blocked as dangerous

Cause: Fabric detected a potentially destructive command (e.g., rm -rf, DROP TABLE). This is a safety feature.

Solution: When prompted, review the command and type y to approve it. You can also:

  • Ask the agent to use a safer alternative
  • See the full list of dangerous patterns in the Security docs
tip

This is working as intended — Fabric never silently runs destructive commands. The approval prompt shows you exactly what will execute.

sudo not working via messaging gateway

Cause: The messaging gateway runs without an interactive terminal, so sudo cannot prompt for a password.

Solution:

  • Avoid sudo in messaging — ask the agent to find alternatives
  • If you must use sudo, configure passwordless sudo for specific commands in /etc/sudoers
  • Or switch to the terminal interface for administrative tasks: fabric chat

Docker backend not connecting

Cause: Docker daemon isn't running or the user lacks permissions.

Solution:

# Check Docker is running
docker info

# Add your user to the docker group
sudo usermod -aG docker $USER
newgrp docker

# Verify
docker run hello-world

Messaging Issues

Bot not responding to messages

Cause: The bot isn't running, isn't authorized, or your user isn't in the allowlist.

Solution:

# Check if the gateway is running
fabric gateway status

# Start the gateway
fabric gateway start

# Check logs for errors
cat ~/.fabric/logs/gateway.log | tail -50

Messages not delivering

Cause: Network issues, bot token expired, or platform webhook misconfiguration.

Solution:

  • Verify your bot token is valid with fabric gateway setup
  • Check gateway logs: cat ~/.fabric/logs/gateway.log | tail -50
  • For webhook-based platforms (Slack, WhatsApp), ensure your server is publicly accessible

Allowlist confusion — who can talk to the bot?

Cause: Authorization mode determines who gets access.

Solution:

ModeHow it works
AllowlistOnly user IDs listed in config can interact
DM pairingFirst user to message in DM claims exclusive access
OpenAnyone can interact (not recommended for production)

Configure in ~/.fabric/config.yaml under your gateway's settings. See the Messaging docs.

Gateway won't start

Cause: Missing dependencies, port conflicts, or misconfigured tokens.

Solution:

# Install core messaging gateway dependencies
cd ~/.fabric/fabric-agent && uv pip install -e ".[messaging]" # Telegram, Discord, Slack, and shared gateway deps

# Check for port conflicts
lsof -i :8080

# Verify configuration
fabric config show

WSL: Gateway keeps disconnecting or fabric gateway start fails

Cause: WSL's systemd support is unreliable. Many WSL2 installations don't have systemd enabled, and even when enabled, services may not survive WSL restarts or Windows idle shutdowns.

Solution: Use foreground mode instead of the systemd service:

# Option 1: Direct foreground (simplest)
fabric gateway run

# Option 2: Persistent via tmux (survives terminal close)
tmux new -s fabric 'fabric gateway run'
# Reattach later: tmux attach -t fabric

# Option 3: Background via nohup
nohup fabric gateway run > ~/.fabric/logs/gateway.log 2>&1 &

If you want to try systemd anyway, make sure it's enabled:

  1. Open /etc/wsl.conf (create it if it doesn't exist)
  2. Add:
    [boot]
    systemd=true
  3. From PowerShell: wsl --shutdown
  4. Reopen your WSL terminal
  5. Verify: systemctl is-system-running should say "running" or "degraded"
Auto-start on Windows boot

For reliable auto-start, use Windows Task Scheduler to launch WSL + the gateway on login:

  1. Create a task that runs wsl -d Ubuntu -- bash -lc 'fabric gateway run'
  2. Set it to trigger on user logon

macOS: Node.js / ffmpeg / other tools not found by gateway

Cause: launchd services inherit a minimal PATH (/usr/bin:/bin:/usr/sbin:/sbin) that doesn't include Homebrew, nvm, cargo, or other user-installed tool directories. This commonly breaks the WhatsApp bridge (node not found) or voice transcription (ffmpeg not found).

Solution: The gateway captures your shell PATH when you run fabric gateway install. If you installed tools after setting up the gateway, re-run the install to capture the updated PATH:

fabric gateway install    # Re-snapshots your current PATH
fabric gateway start # Detects the updated plist and reloads

You can verify the plist has the correct PATH:

/usr/libexec/PlistBuddy -c "Print :EnvironmentVariables:PATH" \
~/Library/LaunchAgents/ai.fabric.gateway.plist

Performance Issues

Slow responses

Cause: Large model, distant API server, or heavy system prompt with many tools.

Solution:

  • Try a faster/smaller model: fabric chat --model openrouter/meta-llama/llama-3.1-8b-instruct
  • Reduce active toolsets: fabric chat -t "terminal"
  • Check your network latency to the provider
  • For local models, ensure you have enough GPU VRAM

High token usage

Cause: Long conversations, verbose system prompts, or many tool calls accumulating context.

Solution:

# Compress the conversation to reduce tokens
/compress

# Check session token usage
/usage
tip

Use /compress regularly during long sessions. It summarizes the conversation history and reduces token usage significantly while preserving context.

Session getting too long

Cause: Extended conversations accumulate messages and tool outputs, approaching context limits.

Solution:

# Compress current session (preserves key context)
/compress

# Start a new session with a reference to the old one
fabric chat

# Resume a specific session later if needed
fabric chat --continue

MCP Issues

MCP server not connecting

Cause: Server binary not found, wrong command path, or missing runtime.

Solution:

# Ensure MCP dependencies are installed (already included in standard install)
cd ~/.fabric/fabric-agent && uv pip install -e ".[mcp]"

# For npm-based servers, ensure Node.js is available
node --version
npx --version

# Test the server manually
npx -y @modelcontextprotocol/server-filesystem /tmp

Verify your ~/.fabric/config.yaml MCP configuration:

mcp_servers:
filesystem:
command: "npx"
args: ["-y", "@modelcontextprotocol/server-filesystem", "/home/user/docs"]

Tools not showing up from MCP server

Cause: Server started but tool discovery failed, tools were filtered out by config, or the server does not support the MCP capability you expected.

Solution:

  • Check gateway/agent logs for MCP connection errors
  • Ensure the server responds to the tools/list RPC method
  • Review any tools.include, tools.exclude, tools.resources, tools.prompts, or enabled settings under that server
  • Remember that resource/prompt utility tools are only registered when the session actually supports those capabilities
  • Use /reload-mcp after changing config
# Verify MCP servers are configured
fabric config show | grep -A 12 mcp_servers

# Restart Fabric or reload MCP after config changes
fabric chat

See also:

MCP timeout errors

Cause: The MCP server is taking too long to respond, or it crashed during execution.

Solution:

  • Increase the timeout in your MCP server config if supported
  • Check if the MCP server process is still running
  • For remote HTTP MCP servers, check network connectivity
warning

If an MCP server crashes mid-request, Fabric will report a timeout. Check the server's own logs (not just Fabric logs) to diagnose the root cause.


Profiles

How do profiles differ from just setting FABRIC_HOME?

Profiles are a managed layer on top of FABRIC_HOME. You could manually set FABRIC_HOME=/some/path before every command, but profiles handle all the plumbing for you: creating the directory structure, generating shell aliases (fabric-work), tracking the active profile in ~/.fabric/active_profile, and syncing skill updates across all profiles automatically. They also integrate with tab completion so you don't have to remember paths.

Can two profiles share the same bot token?

No. Each messaging platform (Telegram, Discord, etc.) requires exclusive access to a bot token. If two profiles try to use the same token simultaneously, the second gateway will fail to connect. Create a separate bot per profile — for Telegram, talk to @BotFather to make additional bots.

Do profiles share memory or sessions?

No. Each profile has its own memory store, session database, and skills directory. They are completely isolated. If you want to start a new profile with existing memories and sessions, use fabric profile create newname --clone-all to copy everything from the current profile, or add --clone-from <profile> to copy from a specific source profile.

What happens when I run fabric update?

fabric update pulls the latest code and reinstalls dependencies once (not per-profile). It then syncs updated skills to all profiles automatically. You only need to run fabric update once — it covers every profile on the machine.

How many profiles can I run?

There is no hard limit. Each profile is just a directory under ~/.fabric/profiles/. The practical limit depends on your disk space and how many concurrent gateways your system can handle (each gateway is a lightweight Python process). Running dozens of profiles is fine; each idle profile uses no resources.


Workflows & Patterns

Using different models for different tasks (multi-model workflows)

Scenario: You use GPT-5.4 as your daily driver, but Gemini or Grok writes better social media content. Manually switching models every time is tedious.

Solution: Delegation config. Fabric can route subagents to a different model automatically. Set this in ~/.fabric/config.yaml:

delegation:
model: "google/gemini-3-flash-preview" # subagents use this model
provider: "openrouter" # provider for subagents

Now when you tell Fabric "write me a Twitter thread about X" and it spawns a delegate_task subagent, that subagent runs on Gemini instead of your main model. Your primary conversation stays on GPT-5.4.

You can also be explicit in your prompt: "Delegate a task to write social media posts about our product launch. Use your subagent for the actual writing." The agent will use delegate_task, which automatically picks up the delegation config.

For one-off model switches without delegation, use /model in the CLI:

/model google/gemini-3-flash-preview    # switch for this session
# ... write your content ...
/model openai/gpt-5.4 # switch back
warning

Each /model switch resets the prompt cache — the cache key includes the model, so the first message after every switch re-reads the whole conversation at full input price. On long sessions, prefer delegation (subagents get their own fresh context) or a new session over repeated back-and-forth switching.

See Subagent Delegation for more on how delegation works.

Running multiple agents on one WhatsApp number (per-chat binding)

Scenario: In OpenClaw, you had multiple independent agents bound to specific WhatsApp chats — one for a family shopping list group, another for your private chat. Can Fabric do this?

Current limitation: Fabric profiles each require their own WhatsApp number/session. You cannot bind multiple profiles to different chats on the same WhatsApp number — the WhatsApp bridge (Baileys) uses one authenticated session per number.

Workarounds:

  1. Use a single profile with personality switching. Create different AGENTS.md context files or use the /personality command to change behavior per chat. The agent sees which chat it's in and can adapt.

  2. Use cron jobs for specialized tasks. For a shopping list tracker, set up a cron job that monitors a specific chat and manages the list — no separate agent needed.

  3. Use separate numbers. If you need truly independent agents, pair each profile with its own WhatsApp number. Virtual numbers from services like Google Voice work for this.

  4. Use Telegram or Discord instead. These platforms support per-chat binding more naturally — each Telegram group or Discord channel gets its own session, and you can run multiple bot tokens (one per profile) on the same account.

See Profiles and WhatsApp setup for more details.

Controlling what shows up in Telegram (hiding logs and reasoning)

Scenario: You see gateway exec logs, Fabric reasoning, and tool call details in Telegram instead of just the final output.

Solution: The display.tool_progress setting in config.yaml controls how much tool activity is shown:

display:
tool_progress: "off" # options: off, new, all, verbose
  • off — Only the final response. No tool calls, no reasoning, no logs.
  • new — Shows new tool calls as they happen (brief one-liners).
  • all — Shows all tool activity including results.
  • verbose — Full detail including tool arguments and outputs.

For messaging platforms, off or new is usually what you want. After editing config.yaml, restart the gateway for changes to take effect.

You can also toggle this per-session with the /verbose command (if enabled):

display:
tool_progress_command: true # enables /verbose in the gateway

Managing skills on Telegram (slash command limit)

Scenario: Telegram has a 100 slash command limit, and your skills are pushing past it. You want to disable skills you don't need on Telegram, but fabric skills config settings don't seem to take effect.

Solution: Use fabric skills config to disable skills per-platform. This writes to config.yaml:

skills:
disabled: [] # globally disabled skills
platform_disabled:
telegram: [skill-a, skill-b] # disabled only on telegram

After changing this, restart the gateway (fabric gateway restart or kill and relaunch). The Telegram bot command menu rebuilds on startup.

tip

Skills with very long descriptions are truncated to 40 characters in the Telegram menu to stay within payload size limits. If skills aren't appearing, it may be a total payload size issue rather than the 100 command count limit — disabling unused skills helps with both.

Shared thread sessions (multiple users, one conversation)

Scenario: You have a Telegram or Discord thread where multiple people mention the bot. You want all mentions in that thread to be part of one shared conversation, not separate per-user sessions.

Current behavior: Fabric creates sessions keyed by user ID on most platforms, so each person gets their own conversation context. This is by design for privacy and context isolation.

Workarounds:

  1. Use Slack. Slack sessions are keyed by thread, not by user. Multiple users in the same thread share one conversation — exactly the behavior you're describing. This is the most natural fit.

  2. Use a group chat with a single user. If one person is the designated "operator" who relays questions, the session stays unified. Others can read along.

  3. Use a Discord channel. Discord sessions are keyed by channel, so all users in the same channel share context. Use a dedicated channel for the shared conversation.

Moving Fabric to another machine

Scenario: You've built up skills, cron jobs, and built-in memory on one machine and want to move the profile to a new dedicated Linux box.

Solution:

  1. Install Fabric on the new machine using the current installation guide.

  2. On the source machine, create a full backup:

    fabric backup

    This creates a profile archive containing Fabric configuration, credentials, built-in MEMORY.md/USER.md files, skills, sessions, and profiles. The current archive filename is ~/fabric-backup-<timestamp>.zip.

    External memory is a separate data boundary: the archive does not promise a portable copy of cloud/provider records, replicas, or backups. Some adapters contribute local config or state paths, but no bundled external provider has a complete export/import contract. Export provider data separately when its service supports that.

  3. Copy the zip to the new machine and import it:

    # On the source machine
    scp ~/fabric-backup-<timestamp>.zip newmachine:~/

    # On the new machine
    fabric import ~/fabric-backup-<timestamp>.zip
  4. On the new machine, run fabric setup to verify credentials and provider config are working.

Moving a single profile to another machine

Scenario: You want to move or share one specific profile — not your full installation.

# On the source machine
fabric profile export work ./work-backup.tar.gz

# Copy the file to the target machine, then:
fabric profile import ./work-backup.tar.gz work

The imported profile will have all config, memories, sessions, and skills from the export. You may need to update paths or re-authenticate with providers if the new machine has a different setup.

fabric backup vs fabric profile export

Featurefabric backupfabric profile export
Use CaseFull machine migrationPorting/sharing a specific profile
ScopeGlobal (entire ~/.fabric directory)Local (single profile directory)
IncludesAll profiles, global config, API keys, sessionsSingle profile: SOUL.md, memories, sessions, skills
CredentialsIncluded (.env and auth.json)Excluded (stripped for safe sharing)
Format.zip.tar.gz

Manual fallback (rsync): If you prefer to copy files directly, exclude the code repo:

rsync -av --exclude='fabric-agent' ~/.fabric/ newmachine:~/.fabric/
tip

fabric backup produces a consistent snapshot even while Fabric is actively running. The restored archive excludes machine-local runtime files like gateway.pid and cron.pid.

Permission denied when reloading shell after install

Scenario: After running the Fabric installer, source ~/.zshrc gives a permission denied error.

Cause: This usually happens when ~/.zshrc (or ~/.bashrc) has incorrect file permissions, or when the installer couldn't write to it cleanly. It's not a Fabric-specific issue — it's a shell config permissions problem.

Solution:

# Check permissions
ls -la ~/.zshrc

# Fix if needed (should be -rw-r--r-- or 644)
chmod 644 ~/.zshrc

# Then reload
source ~/.zshrc

# Or just open a new terminal window — it picks up PATH changes automatically

If the installer added the PATH line but permissions are wrong, you can add it manually:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc

Error 400 on first agent run

Scenario: Setup completes fine, but the first chat attempt fails with HTTP 400.

Cause: Usually a model name mismatch — the configured model doesn't exist on your provider, or the API key doesn't have access to it.

Solution:

# Check what model and provider are configured
fabric config show | head -20

# Re-run model selection
fabric model

# Or test with a known-good model
fabric chat -q "hello" --model anthropic/claude-opus-4.7

If using OpenRouter, make sure your API key has credits. A 400 from OpenRouter often means the model requires a paid plan or the model ID has a typo.


Still Stuck?

If your issue isn't covered here:

  1. Search existing issues: GitHub Issues
  2. Ask the community: open a GitHub discussion or issue
  3. File a bug report: Include your OS, Python version (python3 --version), Fabric version (fabric --version), and the full error message