This page covers common issues and how to fix them.
Symptoms: Agent connects but does not respond to messages.
Possible causes and fixes:
Check your implementation:
Symptoms: LLM never calls your tool even when it should.
Possible causes and fixes:
Check your setup:
Symptoms: Agent responds in logs but user hears nothing.
Possible causes and fixes:
Symptoms: CLI cannot connect to agent.
Fixes:
Check server is running:
Verify port:
Check for port conflicts:
Symptoms: LLM calls fail with errors.
Common errors and fixes:
Add error handling:
Symptoms: Conversation ends unexpectedly.
Possible causes:
Proper setup pattern:
Symptoms: Agent takes too long to respond.
Optimization strategies:
Limit context length:
Symptoms: Agent uses too much memory or crashes.
Fixes:
Clear old context periodically:
Do not store large data in instance variables
Clean up resources in stop:
Symptoms: Module not found or import errors.
Fixes:
Install the package:
Check Python version (requires 3.10+):
Check virtual environment is active:
If you cannot resolve an issue:
pip show smallestai)