Troubleshooting
Common issues and how to resolve them.
Setup Issues
API key not working
-
Verify your key is saved in the correct location:
- Global:
~/.dexto/.env - Project:
.envin your project root
- Global:
-
Check the key has the correct format:
- OpenAI keys start with
sk- - Anthropic keys start with
sk-ant- - Google keys are alphanumeric
- OpenAI keys start with
-
Verify the key has correct permissions on the provider's dashboard
-
Run
dexto setupto re-enter your API key
Provider not found
-
Use a supported provider name from the list:
google,groq,openai,anthropic,xai,cohereopenrouter,glama,litellm,openai-compatiblelocal,ollama,vertex,bedrock
-
Run
dexto setupto see available providers in the interactive menu
Local model download fails
- Check available disk space (models are typically 2-8GB)
- Ensure you have a stable internet connection
- Try a smaller model variant
- Run
dexto setupand select a different model
Setup stuck or frozen
- Press
Ctrl+Cto cancel and restart - Try running with
--no-interactiveflag:dexto setup --provider google --model gemini-2.5-pro
Runtime Issues
"No API key configured"
Your provider requires an API key that isn't set up yet.
Solutions:
- Run
dexto setupto configure interactively - Set the environment variable directly:
# For Google Gemini
export GOOGLE_GENERATIVE_AI_API_KEY=your-key-here
# For OpenAI
export OPENAI_API_KEY=your-key-here
# For Anthropic
export ANTHROPIC_API_KEY=your-key-here
MCP server connection failed
- Check the MCP server is running
- Verify the configuration in your agent YAML file
- Check network connectivity for remote servers
- Run with
--strictflag to see detailed connection errors
Agent not found
- Check the agent name or path is correct
- List installed agents:
dexto list-agents --installed - Install the agent:
dexto install <agent-name> - For custom agents, verify the path exists:
dexto --agent ./path/to/agent.yml
Rate-limiting errors
You've hit the provider's rate limits.
Solutions:
- Wait a few moments and retry
- Switch to a model with higher limits
- Consider upgrading your API plan
- Use a different provider temporarily
Common Questions
How do I change my provider?
Run dexto setup to access the settings menu where you can change your provider, model, and default mode.
How do I update agents?
After updating Dexto, run:
dexto sync-agents
This syncs your installed agents with the latest bundled versions.
Where are settings stored?
| File | Description |
|---|---|
~/.dexto/preferences.json | Global preferences (provider, model, mode) |
~/.dexto/agents/ | Installed agent configurations |
~/.dexto/.env | API keys (global) |
.env | API keys (project-specific) |
How do I reset everything?
# Reset configuration
dexto setup --force
# Or delete the config directory
rm -rf ~/.dexto
How do I see what model I'm using?
In interactive mode, run /model current or /config to see your current configuration.
Can I use multiple providers?
Yes! You can:
- Switch providers with
dexto setup - Use different providers per agent (configure in agent YAML)
- Override the model for a single session:
dexto -m gpt-5
Getting Help
If your issue isn't covered here:
- Check the full documentation
- Search GitHub Issues
- Open a new issue with:
- Dexto version (
dexto --version) - Operating system
- Steps to reproduce
- Error messages (if any)
- Dexto version (