Troubleshooting
Common issues and how to resolve them.
To debug any issues with AgenticFlow Enterprise, you can check the logs or the session data that it stores locally.
Logs
Log files are written to:
- macOS/Linux:
~/.local/share/agenticflow-enterprise/log/ - Windows:
%USERPROFILE%\.local\share\agenticflow-enterprise\log\
Log files are named with timestamps (e.g., 2025-01-09T123456.log) and the most recent 10 log files are kept.
You can set the log level with the --log-level command-line option to get more detailed debug information. For example, agenticflow-enterprise --log-level DEBUG.
Storage
AgenticFlow Enterprise stores session data and other application data on disk at:
- macOS/Linux:
~/.local/share/agenticflow-enterprise/ - Windows:
%USERPROFILE%\.local\share\agenticflow-enterprise
This directory contains:
auth.json- Authentication data like API keys, OAuth tokenslog/- Application logsproject/- Project-specific data like session and message data- If the project is within a Git repo, it is stored in
./<project-slug>/storage/ - If it is not a Git repo, it is stored in
./global/storage/
- If the project is within a Git repo, it is stored in
Getting help
If you’re experiencing issues with AgenticFlow Enterprise:
-
Report issues on GitHub
The best way to report bugs or request features is through our GitHub repository:
github.com/PixelML/agenticflow-enterprise/issues
Before creating a new issue, search existing issues to see if your problem has already been reported.
-
Join our Discord
For real-time help and community discussion, join our Discord server:
Common issues
Here are some common issues and how to resolve them.
AgenticFlow Enterprise won’t start
- Check the logs for error messages
- Try running with
--print-logsto see output in the terminal - Ensure you have the latest version with
agenticflow-enterprise upgrade
Authentication issues
- Try re-authenticating with the
/connectcommand in the TUI - Check that your API keys are valid
- Ensure your network allows connections to the provider’s API
Model not available
- Check that you’ve authenticated with the provider
- Verify the model name in your config is correct
- Some models may require specific access or subscriptions
If you encounter ProviderModelNotFoundError you are most likely incorrectly
referencing a model somewhere.
Models should be referenced like so: <providerId>/<modelId>
Examples:
openai/gpt-4.1openrouter/google/gemini-2.5-flashagenticflow-enterprise/kimi-k2
To figure out what models you have access to, run agenticflow-enterprise models
ProviderInitError
If you encounter a ProviderInitError, you likely have an invalid or corrupted configuration.
To resolve this:
-
First, verify your provider is set up correctly by following the providers guide
-
If the issue persists, try clearing your stored configuration:
Terminal window rm -rf ~/.local/share/agenticflow-enterprise -
Re-authenticate with your provider using the
/connectcommand in the TUI.
AI_APICallError and provider package issues
If you encounter API call errors, this may be due to outdated provider packages. AgenticFlow Enterprise dynamically installs provider packages (OpenAI, Anthropic, Google, etc.) as needed and caches them locally.
To resolve provider package issues:
-
Clear the provider package cache:
Terminal window rm -rf ~/.cache/agenticflow-enterprise -
Restart AgenticFlow Enterprise to reinstall the latest provider packages
This will force AgenticFlow Enterprise to download the most recent versions of provider packages, which often resolves compatibility issues with model parameters and API changes.
Copy/paste not working on Linux
Linux users need to have one of the following clipboard utilities installed for copy/paste functionality to work:
For X11 systems:
apt install -y xclip# orapt install -y xselFor Wayland systems:
apt install -y wl-clipboardFor headless environments:
apt install -y xvfb# and run:Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &export DISPLAY=:99.0AgenticFlow Enterprise will detect if you’re using Wayland and prefer wl-clipboard, otherwise it will try to find clipboard tools in order of: xclip and xsel.
Antivirus & Firewall Issues
Security software can block AgenticFlow Enterprise’s internal communication. AgenticFlow Enterprise uses a local sidecar server that needs to communicate via localhost. If your antivirus or firewall blocks this, you may see connection errors or the app failing to start.
Note for legacy AgenticFlow Enterprise users: If you’re still using AgenticFlow Enterprise (the previous version before rebranding to AgenticFlow Enterprise), replace
agenticflow-enterprisewithagenticflow-enterprisein all paths and process names below. For example, look foragenticflow-enterprise.exeinstead ofagenticflow-enterprise.exe, and%LOCALAPPDATA%\AgenticFlow Enterprise\instead of%LOCALAPPDATA%\AgenticFlow Enterprise\.
Windows: BitDefender
BitDefender may quarantine or block AgenticFlow Enterprise executables. Follow these steps:
1. Check Quarantine
- Open BitDefender
- Go to Protection → Antivirus → Quarantine
- Look for
agenticflow-enterprise.exe,agenticflow-enterprise-cli.exe(oragenticflow-enterprise.exe,agenticflow-enterprise-cli.exefor legacy users) - If found, Restore and mark as Allow
2. Add Firewall Exception
- Open BitDefender
- Go to Protection → Firewall
- Click Application Access
- Find
agenticflow-enterprise.exeandagenticflow-enterprise-cli.exe(oragenticflow-enterprise.exeandagenticflow-enterprise-cli.exefor legacy users) - Click on each to expand and ensure these settings:
- Network: Any Network
- Protocol: Any
- Traffic: Both (Inbound & Outbound)
- Ports: Any
- IP: Any
- Access: ON (blue toggle)
3. Disable Advanced Threat Prevention (if needed)
If issues persist, check these additional settings:
- Go to Protection → Advanced Threat Defense
- Temporarily disable or add an exception for AgenticFlow Enterprise
- Go to Protection → Online Threat Prevention
- Check if SSL/HTTPS scanning is blocking localhost traffic
4. Restart AgenticFlow Enterprise after making changes
# Force stop any running AgenticFlow Enterprise/AgenticFlow Enterprise processesGet-Process | Where-Object { $_.ProcessName -match "agenticflow-enterprise|agenticflow-enterprise" } | Stop-Process -Force
# Restart AgenticFlow Enterprise (adjust path if different)Start-Process "$env:LOCALAPPDATA\AgenticFlow Enterprise\AgenticFlow Enterprise.exe"# Or for legacy AgenticFlow Enterprise:# Start-Process "$env:LOCALAPPDATA\AgenticFlow Enterprise\AgenticFlow Enterprise.exe"Windows: Windows Defender
Windows Defender can also block or quarantine AgenticFlow Enterprise.
1. Check Threat History
- Open Windows Security
- Go to Virus & threat protection
- Click Protection history
- Look for blocked items related to AgenticFlow Enterprise or AgenticFlow Enterprise
- Click and select Allow on device
2. Add Exclusions
- Open Windows Security
- Go to Virus & threat protection → Manage settings
- Scroll to Exclusions and click Add or remove exclusions
- Add folder exclusion:
%LOCALAPPDATA%\AgenticFlow Enterprise\(or%LOCALAPPDATA%\AgenticFlow Enterprise\for legacy)
3. Allow Through Firewall
- Open Windows Security
- Go to Firewall & network protection
- Click Allow an app through firewall
- Ensure AgenticFlow Enterprise (or AgenticFlow Enterprise for legacy) is listed and checked for both Private and Public networks
- If not listed, click Allow another app and browse to the executable
Windows: Other Antivirus Software
For other antivirus software (Norton, McAfee, Kaspersky, Avast, etc.):
- Check the Quarantine or Blocked items section for AgenticFlow Enterprise/AgenticFlow Enterprise files
- Add the installation folder to the Exclusions list:
- AgenticFlow Enterprise:
%LOCALAPPDATA%\AgenticFlow Enterprise\ - Legacy AgenticFlow Enterprise:
%LOCALAPPDATA%\AgenticFlow Enterprise\
- AgenticFlow Enterprise:
- Create a Firewall rule to allow
agenticflow-enterprise.exe/agenticflow-enterprise-cli.exe(oragenticflow-enterprise.exe/agenticflow-enterprise-cli.exe) - Ensure localhost (127.0.0.1) traffic is not being inspected or blocked
Windows: Verify AgenticFlow Enterprise is Running
After making security changes, verify AgenticFlow Enterprise is working:
# Check if AgenticFlow Enterprise/AgenticFlow Enterprise sidecar is listening on a portGet-NetTCPConnection -State Listen | Where-Object { $proc = Get-Process -Id $_.OwningProcess -ErrorAction SilentlyContinue $proc.ProcessName -match "agenticflow-enterprise|agenticflow-enterprise"} | Select-Object LocalPort
# Test the health endpoint (replace PORT with the discovered port)curl http://127.0.0.1:PORT/healthmacOS: Firewall Settings
macOS’s built-in firewall can block AgenticFlow Enterprise’s network communication.
1. Check Firewall Settings
- Open System Settings (or System Preferences on older macOS)
- Go to Privacy & Security → Firewall
- Click Options or Firewall Options
- Look for AgenticFlow Enterprise (or AgenticFlow Enterprise for legacy users) in the list of applications
- Ensure it’s set to Allow incoming connections
- If not listed, click + and add from
/Applications/AgenticFlow Enterprise.app(or/Applications/AgenticFlow Enterprise.app)
2. Check App Management
- Open System Settings → Privacy & Security → App Management
- Ensure AgenticFlow Enterprise (or AgenticFlow Enterprise) has permission to update other applications (if present)
3. Network Access for Downloaded Apps
When you first run AgenticFlow Enterprise, macOS may ask if you want to allow network access. If you accidentally clicked Deny:
- Open System Settings → Privacy & Security → Firewall → Options
- Remove AgenticFlow Enterprise from the list and re-add it, or set it to Allow
Alternatively, reset firewall rules for AgenticFlow Enterprise from Terminal:
# Remove firewall rules for AgenticFlow Enterprise (requires admin password)sudo /usr/libexec/ApplicationFirewall/socketfilterfw --remove /Applications/AgenticFlow Enterprise.app
# Re-add with allowsudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /Applications/AgenticFlow Enterprise.appsudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblockapp /Applications/AgenticFlow Enterprise.app
# For legacy AgenticFlow Enterprise users, use these commands instead:# sudo /usr/libexec/ApplicationFirewall/socketfilterfw --remove /Applications/AgenticFlow Enterprise.app# sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /Applications/AgenticFlow Enterprise.app# sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblockapp /Applications/AgenticFlow Enterprise.appmacOS: Third-Party Security Software
If you use third-party security software (Little Snitch, LuLu, etc.):
- Open your security app’s connection rules
- Find rules related to AgenticFlow Enterprise or agenticflow-enterprise-cli (or AgenticFlow Enterprise/agenticflow-enterprise-cli for legacy)
- Allow all connections, especially to localhost (127.0.0.1)
- Ensure both inbound and outbound connections are permitted
macOS: Verify AgenticFlow Enterprise is Running
After making security changes, verify AgenticFlow Enterprise is working:
# Check if AgenticFlow Enterprise/AgenticFlow Enterprise sidecar is listeninglsof -i -P | grep -iE "agenticflow-enterprise|agenticflow-enterprise" | grep LISTEN
# Test the health endpoint (replace PORT with discovered port)curl http://127.0.0.1:PORT/healthNuclear Reset (Last Resort)
If nothing else works, try a complete reset:
Windows:
# Stop all AgenticFlow Enterprise/AgenticFlow Enterprise processesGet-Process | Where-Object { $_.ProcessName -match "agenticflow-enterprise|agenticflow-enterprise" } | Stop-Process -Force
# Clear AgenticFlow Enterprise data (adjust path for legacy AgenticFlow Enterprise: replace 'agenticflow-enterprise' with 'agenticflow-enterprise')Remove-Item -Recurse -Force "$env:USERPROFILE\.local\share\agenticflow-enterprise" -ErrorAction SilentlyContinueRemove-Item -Recurse -Force "$env:LOCALAPPDATA\AgenticFlow Enterprise\cache" -ErrorAction SilentlyContinue
# For legacy AgenticFlow Enterprise users:# Remove-Item -Recurse -Force "$env:USERPROFILE\.local\share\agenticflow-enterprise" -ErrorAction SilentlyContinue# Remove-Item -Recurse -Force "$env:LOCALAPPDATA\AgenticFlow Enterprise\cache" -ErrorAction SilentlyContinue
# Reinstall from the latest downloadmacOS:
# Stop all AgenticFlow Enterprise/AgenticFlow Enterprise processespkill -9 -iE "agenticflow-enterprise|agenticflow-enterprise"
# Clear AgenticFlow Enterprise data (adjust for legacy AgenticFlow Enterprise: replace 'agenticflow-enterprise' with 'agenticflow-enterprise')rm -rf ~/.local/share/agenticflow-enterpriserm -rf ~/Library/Caches/so.agenticflow-enterprise.app
# For legacy AgenticFlow Enterprise users:# rm -rf ~/.local/share/agenticflow-enterprise# rm -rf ~/Library/Caches/so.agenticflow-enterprise.app
# Reinstall from the latest downloadAfter reinstalling, make sure to approve any security prompts that appear.