Troubleshooting Guide¶
Status (2026-12-02): euxis has no command that runs one named agent. The
euxis <agent> "<task>"lines on this page show a planned interface and do not run today. Agents run insideeuxis squad deploy,euxis combo runand the verification playbooks behindeuxis check,triageandreview.
This comprehensive troubleshooting guide covers common issues, diagnostic commands, and solutions for the Euxis Fleet system.
Quick Diagnostics¶
Before diving into specific issues, run these diagnostic commands to assess your system state.
euxis health Command¶
The euxis health command performs fleet integrity checks:
euxis health
Expected output (healthy system):
=== FLEET HEALTH ===
Agents: 11 registered, 0 orphans
Providers: claude, gemini, ollama
Build: OK (cmake-build/)
Tests: 1063 passed
Registry: agents/registry.db valid
Interpreting Health Check Output:
Status |
Meaning |
|---|---|
|
All critical checks passed |
|
Functional but some optional features degraded |
|
Critical issues require attention |
Command Options:
# JSON output for programmatic parsing
euxis health --json
euxis certify-readiness Command¶
The euxis certify-readiness command performs an 18-domain certification readiness assessment:
euxis certify-readiness .
Expected output:
=== CERTIFICATION READINESS ASSESSMENT ===
Target: .
Framework: general
Status: READY WITH GAPS
Confidence: 78%
--- Critical Gates ---
✔ Commit signing 20/20 signed
✔ Unit test health 1063/1063 passed (100%)
✔ Build integrity cmake build OK
✔ Documentation accuracy README, CHANGELOG, docs/ present
Run with --json for machine-readable output, or --framework soc2 for SOC2-specific assessment.
Common Health Check Failures¶
Check |
Failure Message |
Quick Fix |
|---|---|---|
Build Integrity |
|
Run |
Test Health |
|
Run |
Provider Connectivity |
|
Install provider CLI or set API key |
Orphan Detection |
|
Add agent to registry or remove file |
Documentation Drift |
|
Update docs to match current CLI surface |
Installation Issues¶
PATH Not Configured Correctly¶
Symptoms:
$ euxis
bash: euxis: command not found
Diagnosis:
# Check if ~/.euxis/euxis-bin is in PATH
echo $PATH | tr ':' '\n' | grep -E "(home|~).*bin"
# Check if euxis symlink exists
ls -la ~/.euxis/euxis-bin/euxis
Solution:
Add ~/.euxis/euxis-bin to PATH (choose your shell):
For Bash (~/.bashrc or ~/.bash_profile):
echo 'export PATH="$HOME/.euxis/euxis-bin:$PATH"' >> ~/.bashrc source ~/.bashrc
For Zsh (~/.zshrc):
echo 'export PATH="$HOME/.euxis/euxis-bin:$PATH"' >> ~/.zshrc source ~/.zshrc
For Fish (~/.config/fish/config.fish):
set -Ux fish_user_paths $HOME/.euxis/euxis-bin $fish_user_paths
Rebuild if binary is missing:
cd ~/.euxis && make cpp-configure && make cpp-build
Verify installation:
which euxis euxis --version
Missing Dependencies¶
C++ Toolchain Required:
# Check compiler version
g++ --version # GCC 14+ required
# or
clang++ --version # Clang 18+ required
# Check CMake version
cmake --version # 3.28+ required
# macOS:
brew install cmake gcc
# Ubuntu/Debian:
sudo apt update && sudo apt install cmake g++-14 libsqlite3-dev libsodium-dev
# Arch Linux:
sudo pacman -S cmake gcc sqlite libsodium
Optional but recommended tools:
# jq - JSON processing (highly recommended)
brew install jq # macOS
apt install jq # Ubuntu/Debian
# gh - GitHub CLI (for PR operations)
brew install gh # macOS
apt install gh # Ubuntu/Debian
# timeout/gtimeout - Command timeouts
brew install coreutils # macOS (provides gtimeout)
Permission Issues¶
Symptoms:
Permission denied: ~/.euxis/euxis-bin/euxis
Solution:
# Fix executable permissions on all scripts
chmod +x ~/.euxis/euxis-bin/*
# Fix directory permissions
chmod 755 ~/.euxis
chmod 755 ~/.euxis/euxis-bin
chmod 755 ~/.euxis/core/lib
# Verify
ls -la ~/.euxis/euxis-bin/euxis
# Should show: -rwxr-xr-x
Shell Compatibility¶
Zsh Users:
# Add to ~/.zshrc
export PATH="$HOME/.euxis/euxis-bin:$PATH"
export EUXIS_HOME="$HOME/.euxis"
# Reload
source ~/.zshrc
Bash Users:
# Add to ~/.bashrc (or ~/.bash_profile on macOS)
export PATH="$HOME/.euxis/euxis-bin:$PATH"
export EUXIS_HOME="$HOME/.euxis"
# Reload
source ~/.bashrc
Fish Users:
# Run these commands
set -Ux PATH $HOME/.euxis/euxis-bin $PATH
set -Ux EUXIS_HOME $HOME/.euxis
Provider Issues¶
Provider Not Responding¶
Symptoms:
[euxis] ERROR: Provider command timed out after 300s
Diagnosis:
# Test provider directly
which claude && claude --version
which gemini && gemini --version
which ollama && ollama --version
# Claude runs through your Claude Code login: check the CLI answers
claude -p "say ok"
Solutions:
Increase timeout:
export EUXIS_API_TIMEOUT=600 # 10 minutes euxis architect "Your task"
Use a different provider:
# Use local provider (faster, no API calls) euxis architect "Your task" ollama # Use Gemini instead euxis architect "Your task" gemini
Check provider service status:
# For Ollama (local) ollama list # For Claude claude doctor
API Key Configuration¶
Claude (Anthropic):
euxis does not use an Anthropic API key. The claude provider runs the
Claude Code CLI, which uses the session you logged in with (the Keychain
on macOS, ~/.claude on Linux). ANTHROPIC_API_KEY and
ANTHROPIC_AUTH_TOKEN are removed from its environment, so a key in
your shell cannot take over.
claude # log in once
euxis triage . # SYSTEM INITIALIZATION shows "claude (Binary found, CLI auth preserved)"
Gemini (Google):
# Set API key
export GOOGLE_API_KEY="AIza..."
# Or use gcloud authentication
gcloud auth application-default login
OpenAI:
# Set API key
export OPENAI_API_KEY="sk-..."
Ollama (Local):
# No API key needed - ensure service is running
ollama serve &
# Pull required model
ollama pull llama3.2
Rate Limiting¶
Symptoms:
[euxis] ERROR: Rate limit exceeded
[euxis] ERROR: 429 Too Many Requests
Solutions:
Wait and retry:
sleep 60 && euxis architect "Your task"
Use a different provider:
# Fall back to local provider euxis architect "Your task" ollama
Reduce concurrent agents: there is no setting for this yet; a manifest with fewer agents per phase runs fewer at once.
Timeout Errors¶
Symptoms:
An agent stops at its mode’s time budget (45 seconds for triage, 3 minutes for check, 10 minutes for forensic review) and the verdict reports it as timed out; with no trusted verdict the exit code is 5.
Solutions:
# Route coding, architecture and audit tasks to a faster provider
export EUXIS_DEFAULT_CODING_PROVIDER=ollama
euxis triage .
# Check if timeout command is available
which timeout gtimeout
# Install if missing (macOS)
brew install coreutils
Provider Fallback Not Working¶
Symptoms:
Agent fails instead of falling back to alternate provider.
Diagnosis:
# List available providers
euxis health 2>&1 | grep -A 15 "Provider Connectivity"
Solution:
Provider fallback is automatic via the tiering system. Manually specify a provider:
# Force specific provider
euxis architect "Your task" claude
euxis architect "Your task" gemini
euxis architect "Your task" ollama
Tiering map (default providers by agent):
Agent Type |
Default Provider |
Fallback |
|---|---|---|
orchestrator, architect |
claude |
gemini |
researcher, deep-researcher |
gemini |
claude |
debugger, tester |
goose |
claude |
butler, librarian |
ollama |
claude |
optimizer |
qwen |
claude |
Agent Issues¶
Agent Not Found¶
Symptoms:
[euxis] ERROR: Unknown agent: my-agent
Diagnosis:
# List all registered agents
euxis --help 2>&1 | grep -A 100 "Available Agents"
# Check registry (SQLite)
python3 -c "import sqlite3; conn = sqlite3.connect('$HOME/.euxis/data/agents/registry.db'); print('\n'.join([r[0] for r in conn.execute('SELECT id FROM agents ORDER BY id')]))"
# Check registry (JSON fallback)
jq -r '.agents[].id' ~/.euxis/data/agents/registry.json | sort
Solutions:
Verify agent name spelling:
# Common agents euxis architect "Task" # Not 'architekt' euxis debugger "Task" # Not 'bugfixer' euxis tester "Task" # Not 'unittester'
Check if prompt file exists:
ls ~/.euxis/agents/prompts/core/*.txt ls ~/.euxis/agents/prompts/fleet/*.txt
Re-sync registry:
euxis health # Will report orphans/ghosts
Agent Stuck in Active State¶
Symptoms:
Agent appears to be running but never completes.
Diagnosis:
# Check lifecycle state
cat ~/.euxis/data/runtime/lifecycle/*.state
# List active agents
for f in ~/.euxis/data/runtime/lifecycle/*.state; do
agent=$(basename "$f" .state)
state=$(cat "$f")
[[ "$state" == "active" ]] && echo "$agent: $state"
done
# Check transition log
tail -20 ~/.euxis/data/runtime/lifecycle/transitions.jsonl
Solutions:
Clean stale agents (30 minute timeout):
# Manual cleanup via the agents library source ~/.euxis/core/lib/agents.sh cleanup_stale_agents 1800 # 30 minutes
Force state reset:
# Reset specific agent echo "idle" > ~/.euxis/data/runtime/lifecycle/architect.state # Reset all agents for f in ~/.euxis/data/runtime/lifecycle/*.state; do echo "idle" > "$f" done
Check for hung processes:
ps aux | grep -E "(claude|gemini|ollama)" | grep -v grep # Kill if necessary pkill -f "claude.*--print"
Agent Returning Empty Response¶
Symptoms:
[euxis] ERROR: Architect returned empty output
or
CERTIFICATION FAILED at Gate 4 (Semantic).
Diagnosis:
# Enable debug mode
export EUXIS_DEBUG=1
euxis architect "Test task"
# Check provider directly
echo "Hello" | claude --print --model claude-sonnet-4-20250514
Solutions:
Check API key validity:
# Test provider directly claude --version claude "Say hello"
Check prompt file integrity:
# Validate prompt has required sections head -50 ~/.euxis/agents/prompts/core/architect.txt # Check frontmatter grep -E "^(agent_id|role|version):" ~/.euxis/agents/prompts/core/architect.txt
Check model availability:
# For Ollama, verify model is pulled ollama list # Pull if missing ollama pull llama3.2
Agent Lifecycle Errors¶
Symptoms:
[euxis] ERROR: Agent lifecycle transition failed
Solutions:
# Ensure lifecycle directory exists
mkdir -p ~/.euxis/data/runtime/lifecycle
# Check permissions
chmod 755 ~/.euxis/data/runtime/lifecycle
# Clear corrupted state files
rm ~/.euxis/data/runtime/lifecycle/*.state
Memory Issues¶
Memory File Corruption¶
Symptoms:
[euxis] ERROR: Path traversal rejected
or garbled content in memory.md files.
Diagnosis:
# Check memory file validity
cat ~/.euxis/data/runtime/projects/*/*/memory.md | head -20
# Look for binary or corrupted content
file ~/.euxis/data/runtime/projects/*/*/memory.md
Solutions:
Reset memory for specific agent:
PROJECT="your-project" AGENT="architect" # Backup cp ~/.euxis/data/runtime/projects/$PROJECT/$AGENT/memory.md{,.bak} # Reset echo "# Memory: $AGENT" > ~/.euxis/data/runtime/projects/$PROJECT/$AGENT/memory.md
Restore from backup:
cp ~/.euxis/data/runtime/projects/$PROJECT/$AGENT/memory.md.bak \ ~/.euxis/data/runtime/projects/$PROJECT/$AGENT/memory.md
Memory Pruning Not Working¶
Symptoms:
Memory files grow unbounded (>500 lines).
Diagnosis:
# Check memory file sizes
wc -l ~/.euxis/data/runtime/projects/*/*/memory.md
Solutions:
Run manual pruning:
source ~/.euxis/core/lib/memory.sh # Prune specific memory file prune_memory ~/.euxis/data/runtime/projects/myproject/architect/memory.md # Prune all memory in a project prune_project_memory ~/.euxis/data/runtime/projects/myproject
Configure pruning thresholds:
# In your shell profile export EUXIS_MEMORY_MAX_LINES=500 # Trigger pruning above this export EUXIS_MEMORY_RECENT_KEEP=100 # Keep this many recent entries
Run Kaizen maintenance:
euxis kaizen prune
Semantic Drift Warnings¶
Symptoms:
[DRIFT] New fact negates existing: Uses JWT authentication
[DRIFT] Value change detected -- old: 'jwt', new: 'oauth'
Understanding Drift:
Semantic drift occurs when new memories contradict existing knowledge. This is a feature, not a bug – it helps maintain knowledge consistency.
Solutions:
Review and resolve contradictions:
# View drift warnings grep -r "\[DRIFT\]" ~/.euxis/data/runtime/projects/*/*/memory.md
Manually resolve:
source ~/.euxis/core/lib/memory.sh # Supersede old knowledge with new resolve_memory_contradiction \ ~/.euxis/data/runtime/projects/myproject/architect/memory.md \ "Project uses OAuth 2.0 for authentication" \ "architect" \ "supersede"
Keep both versions:
resolve_memory_contradiction \ ~/.euxis/data/runtime/projects/myproject/architect/memory.md \ "New authentication approach" \ "architect" \ "keep_both"
Cross-Agent Memory Not Accessible¶
Symptoms:
Agents cannot access sibling agent memories.
Diagnosis:
# Check project structure
ls -la ~/.euxis/data/runtime/projects/myproject/
# Verify memory files exist for other agents
ls ~/.euxis/data/runtime/projects/myproject/*/memory.md
Solutions:
Ensure correct project context:
export EUXIS_PROJECT="myproject" euxis architect "Your task"
Check directory structure:
# Memories should be at: ~/.euxis/data/runtime/projects/{project}/{agent}/memory.md mkdir -p ~/.euxis/data/runtime/projects/myproject/architect touch ~/.euxis/data/runtime/projects/myproject/architect/memory.md
TUI Issues¶
TUI Not Launching¶
Symptoms:
The ETX terminal UI does not start.
Solutions:
Rebuild the project:
cd ~/.euxis && make cpp-build
Check the ETX binary:
ls -la cmake-build/apps/etx/euxis-etx
Run directly:
./cmake-build/apps/etx/euxis-etx
Display Rendering Issues¶
Symptoms:
Garbled characters
Missing borders
Overlapping text
Solutions:
Check terminal compatibility:
# Verify terminal supports 256 colors echo $TERM # Should be: xterm-256color, screen-256color, etc. # Set if missing export TERM=xterm-256color
Check terminal size:
# Minimum recommended: 80x24 tput cols tput lines # Resize terminal window if needed
Try different terminal emulator:
Recommended: iTerm2 (macOS), Alacritty, Kitty, WezTerm
Avoid: Basic Terminal.app (limited Unicode support)
Reset terminal:
reset euxis-etx
Keyboard Shortcuts Not Working¶
Symptoms:
Ctrl+K, Ctrl+T, etc. don’t respond.
Solutions:
Check for conflicting terminal shortcuts:
macOS Terminal: Preferences > Keyboard
iTerm2: Preferences > Keys
Disable any Ctrl+ shortcuts that conflict
Try alternative shortcuts:
F1 - Help F2 - Welcome screen F5 - Refresh ? - Keyboard reference Escape - Go back
List all bindings: Press
F1or?in the TUI to see the full keyboard reference.
Theme Not Applying¶
Symptoms:
TUI starts with wrong colors or default theme.
Solutions:
Cycle themes manually: Press
Ctrl+Tin the TUI to cycle through themes.Reset theme config:
# Check current config cat ~/.euxis/config/etx.json # Reset to default echo '{"theme": "etx-liquid-glass", "locale": "en"}' > ~/.euxis/config/etx.json
Available themes:
etx-liquid-glass(default)etx-midnightetx-sunriseCustom themes via CSS
Performance Issues¶
Slow Agent Dispatch¶
Symptoms:
Agent takes >5 seconds just to start.
Diagnosis:
# Enable performance logging
export EUXIS_DEBUG=1
euxis architect "Test"
## Metrics Location
Performance metrics are stored at `~/.euxis/metrics/events.jsonl`.
# Check performance metrics
tail -20 ~/.euxis/metrics/events.jsonl
Solutions:
Use SQLite registry (faster):
# Check if using SQLite ls ~/.euxis/agents/registry.db # If not, migrate python3 ~/.euxis/euxis-ops/migrate-registry-to-sqlite.py
Disable performance tracking (if not needed):
export EUXIS_PERF_DISABLE=1
Use local provider for speed:
euxis architect "Quick task" ollama
High Latency¶
Symptoms:
[euxis] WARN: LATENCY BUDGET EXCEEDED: provider_execution took 8500ms (budget: 5000ms)
Solutions:
Adjust performance budgets:
export EUXIS_PROMPT_BUDGET_MS=1000 export EUXIS_API_TIMEOUT=600
Use tiered providers:
Complex tasks: claude (slower, higher quality)
Simple tasks: ollama (faster, local)
Check network:
# Test API latency time curl -s https://api.anthropic.com/v1/health
Memory Usage¶
Symptoms:
System slows down during fleet dispatch.
Solutions:
Limit parallel agents:
export EUXIS_MAX_PARALLEL=3 euxis dispatch manifest.json
Use hierarchical mode:
euxis squad deploy build "Task" --mode hierarchical
Monitor resource usage:
# Watch memory during dispatch watch -n 1 'ps aux | grep -E "(python|claude|ollama)" | awk "{sum+=\$4} END {print sum\"%\"}"'
Token Budget Exceeded¶
Symptoms:
[euxis] ERROR: Token budget exceeded
[euxis] WARN: Response truncated
Solutions:
Reduce task complexity: Break large tasks into smaller subtasks.
Use summarization:
euxis librarian "Summarize the following: [long text]"
Increase max turns:
export EUXIS_MAX_TURNS=50 euxis architect "Complex task"
Common Error Messages¶
Error Message |
Cause |
Solution |
|---|---|---|
|
Agent ID doesn’t exist in registry |
Check spelling, run |
|
Provider CLI not installed |
Install provider: |
|
Compilation error |
Run |
|
API rate limiting |
Wait 60s or use different provider |
|
API too slow / network issue |
Increase |
|
Security: Invalid file path |
Use valid paths within |
|
Malformed model identifier |
Check |
|
Missing agents/registry.db |
Rebuild with |
|
Security: Dangerous input |
Remove injection patterns from task |
|
Missing JSON processor |
Run |
|
Certification check failed |
See gate output for specific issue |
|
Prompt file name != agent_id |
Rename file to match agent_id |
|
Agent file not in registry |
Add to registry or remove file |
|
Registry entry has no file |
Create prompt file or remove entry |
Getting Help¶
Debug Mode¶
Enable comprehensive debug logging:
# Enable debug mode
export EUXIS_DEBUG=1
# Run command
euxis architect "Your task"
# Debug output shows:
# - Prompt assembly timing
# - Provider selection
# - Memory retrieval
# - Performance metrics
Log Locations¶
Log Type |
Location |
|---|---|
Agent output |
|
Agent audit |
|
Agent memory |
|
Performance metrics |
|
Lifecycle transitions |
|
Dispatch logs |
|
Certification logs |
|
Bus messages |
|
Generating a Bug Report¶
# Generate comprehensive system report
{
echo "=== Euxis Bug Report ==="
echo "Date: $(date)"
echo ""
echo "=== System Info ==="
uname -a
echo "Compiler: $(g++ --version 2>/dev/null | head -1 || clang++ --version 2>/dev/null | head -1)"
echo "CMake: $(cmake --version | head -1)"
echo ""
echo "=== Euxis Version ==="
euxis --version 2>&1
echo ""
echo "=== Health Check ==="
euxis health 2>&1
echo ""
echo "=== Provider Status ==="
for p in claude gemini ollama; do
which $p 2>/dev/null && echo "$p: $(which $p)" || echo "$p: not found"
done
} > ~/euxis-bug-report.txt
echo "Report saved to ~/euxis-bug-report.txt"
Reporting Issues¶
GitHub Issues: github.com/sebastienrousseau/euxis/issues
Include in your report:
Bug report output (see above)
Steps to reproduce
Expected vs actual behavior
Relevant log snippets
Security issues: report privately at https://github.com/sebastienrousseau/euxis/security/advisories/new (do not post publicly; see SECURITY.md)
Still stuck? Run euxis health --json and open an issue with the output attached.