Documentation Index
Fetch the complete documentation index at: https://docs.agtos.ai/llms.txt
Use this file to discover all available pages before exploring further.
Diagnostics
Run the built-in diagnostic tool first — it checks all dependencies and reports actionable fixes:Common Issues
Server won’t start
Port already in use
Port already in use
Symptom: The CLI checks ports 3000, 4100, and 4102 before starting. If any are occupied, it reports which process holds them.
Error: listen EADDRINUSE :::4102Fix: Another process is using the port. Find and stop it, or use a different port:Node.js version too old
Node.js version too old
Symptom:
Error: agtOS requires Node.js 22 or higherFix: Upgrade Node.js to version 22+. Use nvm for easy version management:Missing API credentials on first run
Missing API credentials on first run
Symptom: Server starts but warns about missing credentialsFix: Run the setup wizard:The wizard validates credentials against the actual provider API before saving. You need at least one of:
ANTHROPIC_API_KEY(Anthropic,sk-ant-api03-prefix)OPENAI_API_KEY(OpenAI,sk-prefix)
Voice pipeline issues
No speech detected
No speech detected
Symptom: Voice sessions connect but transcription never triggersPossible causes:
- Models not downloaded: Run
npx agtos models download --defaultto get the default model set (~460MB) - VAD threshold too high: Lower it with
SHERPA_VAD_THRESHOLD=0.2(default is 0.3) - Microphone not capturing: Check browser permissions or device configuration
- Wrong audio format: The server expects 16-bit PCM, 16kHz, mono, little-endian
TTS audio is silent or garbled
TTS audio is silent or garbled
Symptom: If using the browser, verify that AudioContext is in the
tts_start and tts_end messages appear but no audible audioFix: Ensure the TTS model is downloaded and the audio format matches:running state (some browsers require a user gesture to start audio).High STT latency
High STT latency
Symptom: Transcription takes several secondsFix:
- Use the Moonshine Tiny model for fastest transcription:
SHERPA_STT_MODEL=moonshine-tiny-en-int8 - Increase STT threads:
SHERPA_STT_NUM_THREADS=4 - If using speaches, ensure GPU acceleration is enabled
- Use streaming STT for real-time partial results: download the Zipformer streaming model with
npx agtos models download zipformer-streaming-en-20m
Memory issues
Episodic memory unavailable
Episodic memory unavailable
Semantic search returns no results
Semantic search returns no results
Symptom: Episodic keyword search works but semantic search finds nothingFix: Semantic memory requires both Redis with the RediSearch module and an embedding provider (Ollama):
Connectivity
Claude API errors (401/403)
Claude API errors (401/403)
Symptom:
401 Unauthorized or 403 Forbidden from the Claude APIFix:- Verify your key format: Anthropic API keys start with
sk-ant-api03- - Re-run
npx agtos setupto validate credentials against the API - Check that the key has not been revoked at console.anthropic.com
- If using a custom endpoint: verify
ANTHROPIC_BASE_URL
Ollama connection refused
Ollama connection refused
Symptom: If Ollama is running on a different host:
ECONNREFUSED 127.0.0.1:11434Fix: Ensure Ollama is installed and running:OLLAMA_HOST=http://your-host:11434MCP connection issues from Claude Desktop
MCP connection issues from Claude Desktop
Symptom: Claude Desktop shows “Failed to connect to MCP server”Fix:
- Ensure agtOS is running:
npx agtos status - Verify the MCP port is accessible:
curl http://localhost:4100/mcp(should return 405 for GET) - Check your Claude Desktop config (
claude_desktop_config.json):
- Restart Claude Desktop after config changes
Docker
Ollama not reachable from Docker
Ollama not reachable from Docker
Symptom: Docker container can’t connect to Ollama on the hostFix: Use On Linux, you may need
host.docker.internal instead of localhost:--network=host or additional Docker network configuration.Getting Help
- GitHub Issues: github.com/agtos-ai/agtos/issues
- System diagnostics:
npx agtos doctor(captures all dependency and config status) - Health API:
curl http://localhost:4102/api/health(shows per-service status) - Logs: Set
LOG_LEVEL=debugfor verbose output