Getting Started
Dashboard Guides
Trading Guides
Reference
Telegram Integration
Need Help?
Join our community for support, updates, and trading discussions.
Assistant Configuration
Learn how to configure Assistant providers, set up API keys, enable analysis features, and optimize settings for intelligent token screening in ScreenerBot.
Configuration Overview
How Assistant Configuration Works
The Assistant is configured in two main sections of your ScreenerBot config file:
- •Assistant Providers - Configure API keys, models, and rate limits for each provider
- •Analysis Features - Enable/disable specific Assistant analysis features like filtering, entry/exit suggestions
All Assistant features are disabled by default to avoid unexpected API costs. You must explicitly enable the features you want to use.
Provider Configuration
Configure one or more Assistant providers in your config.toml file:
# AI Provider Configuration
[ai.providers.groq]
enabled = true
api_key = "gsk_xxxxxxxxxxxxxxxxxxxxx"
model = "llama-3.1-70b-versatile"
rate_limit = 30 # requests per minute
timeout = 10 # seconds
[ai.providers.openai]
enabled = true
api_key = "sk-xxxxxxxxxxxxxxxxxxxxx"
model = "gpt-4o-mini"
rate_limit = 60
timeout = 15
[ai.providers.deepseek]
enabled = true
api_key = "sk-xxxxxxxxxxxxxxxxxxxxx"
model = "deepseek-chat"
rate_limit = 500
timeout = 10Provider Settings Explained
enabledSet to true to activate this provider,false to disable itapi_keyYour API key from the provider. Keep this secret and never commit to version controlmodelModel identifier to use. See provider documentation for available modelsrate_limitMaximum requests per minute. Prevents hitting provider rate limitstimeoutRequest timeout in seconds. Faster providers can use lower valuesAPI Key Setup by Provider
Groq
Free Tier: 30 requests/minute
Best For: Real-time trading (ultra-fast)
Setup Steps:
- Visit console.groq.com
- Sign up for a free account
- Navigate to API Keys section
- Create a new API key
- Copy key starting with
gsk_
Recommended Model: llama-3.1-70b-versatile
OpenAI
Free Tier: Trial credits only
Best For: Highest accuracy
Setup Steps:
- Visit platform.openai.com
- Create an account and add payment method
- Go to API Keys section
- Create a new secret key
- Copy key starting with
sk-
Recommended Model: gpt-4o-mini
DeepSeek
Free Tier: 500,000 requests/day
Best For: High-volume screening
Setup Steps:
- Visit platform.deepseek.com
- Create an account
- Navigate to API Keys
- Generate a new key
- Copy the provided key
Recommended Model: deepseek-chat
Ollama (Local)
Free Tier: Unlimited (runs locally)
Best For: Privacy & zero API costs
Setup Steps:
- Download from ollama.com
- Install and run Ollama
- Pull a model:
ollama pull llama3.2 - Set
api_key = "ollama"(not used) - Set
base_url = "http://localhost:11434"
Recommended Model: llama3.2 or mistral
See the Providers Reference for setup instructions for all 10+ supported providers.
Enable Analysis Features
After configuring providers, enable the specific AI analysis features you want to use:
# Assistant Features
[ai.analysis]
# Filtering - Assistant helps decide if token should pass filters
filtering_enabled = true
filtering_provider = "groq"
# Entry Analysis - Assistant recommends entry timing
entry_enabled = true
entry_provider = "groq"
# Exit Suggestions - Assistant suggests when to take profits
exit_enabled = true
exit_provider = "groq"
# Auto-Blacklist - Automatically blacklist scam tokens
auto_blacklist_enabled = true
auto_blacklist_provider = "groq"
auto_blacklist_confidence = 0.8 # 0.0-1.0Filtering Analysis
The Assistant analyzes tokens during filtering to detect scams, poor quality projects, or other red flags. Can prevent tokens from passing filters even if they meet numerical criteria.
When to use:
- • You want an extra safety layer against scams
- • You screen hundreds of tokens daily
- • You trade in high-risk markets
Entry Analysis
Provides Assistant recommendations on whether to enter positions based on market conditions, price action, and risk indicators beyond your configured strategy.
When to use:
- • You want to avoid FOMO entries
- • Market conditions are volatile
- • You need a second opinion on entries
Exit Suggestions
The Assistant suggests optimal exit timing for open positions based on momentum analysis, profit levels, and changing market conditions.
When to use:
- • You struggle with exit timing
- • You want to maximize profits
- • You need help identifying tops
Auto-Blacklist
Automatically adds tokens to the blacklist when the Assistant detects high confidence scam indicators. Prevents future consideration of obvious scams.
When to use:
- • You want automated scam protection
- • You screen many new tokens
- • You prefer conservative filtering
Auto-Blacklist Feature Explained
The Auto-Blacklist feature provides automated protection against scam tokens by permanently blocking tokens that AI identifies as highly suspicious.
How it works:
- AI analyzes each token during filtering or entry analysis
- If scam indicators exceed the confidence threshold, token is flagged
- Token is automatically added to your permanent blacklist
- Blacklisted tokens are never analyzed or traded again
Confidence Threshold Settings:
0.9 - 1.0Very Conservative - Only obvious scams0.8 - 0.9Balanced - Recommended default0.7 - 0.8Aggressive - Blocks suspicious tokensBelow 0.7Not recommended - Many false positivesTypical scam indicators detected:
- • Suspicious metadata (excessive emojis, fake branding, scam keywords)
- • Poor holder distribution (single wallet holds majority)
- • Unusual liquidity patterns (locked/unlocked inconsistencies)
- • Known scam contract patterns or similarities
- • Social links pointing to phishing or suspicious domains
Important Note
Auto-blacklisting is permanent. Review blacklisted tokens periodically in the dashboard to ensure no legitimate tokens were incorrectly flagged. You can manually remove tokens from the blacklist if needed.
Advanced Configuration
Provider Fallback Chain
Configure multiple providers for automatic fallback when one is unavailable or rate-limited:
[ai.analysis]
filtering_enabled = true
# Try Groq first, fall back to DeepSeek if unavailable
filtering_providers = ["groq", "deepseek", "gemini"]ScreenerBot will try providers in order until one succeeds or all fail.
Rate Limit Management
Adjust rate limits to stay within provider quotas and avoid throttling:
Conservative (Safe)
- • Groq:
20 RPM - • OpenAI:
40 RPM - • DeepSeek:
400 RPM
Aggressive (Max Speed)
- • Groq:
30 RPM - • OpenAI:
60 RPM - • DeepSeek:
500 RPM
Cache Configuration
AI responses can be cached to reduce API costs and improve response times for repeat analysis:
# AI Cache Configuration
[ai.cache]
enabled = true
ttl = 3600 # Cache duration in seconds (1 hour)
max_entries = 10000 # Maximum cached responses
# Cache filtering results for tokens
cache_filtering = true
# Cache entry/exit analysis
cache_entry_exit = trueHow caching works:
- • AI responses for identical token data are cached and reused
- • Reduces API costs by avoiding duplicate analysis requests
- • Speeds up repeat token evaluations significantly
- • Cache expires after TTL to ensure fresh analysis
Performance Tuning
Optimize AI analysis performance for your trading volume and requirements:
# AI Performance Settings
[ai.performance]
# Maximum concurrent AI requests
max_concurrent = 5
# Request timeout in seconds
timeout = 15
# Retry failed requests
retry_enabled = true
retry_attempts = 3
retry_delay = 2 # seconds between retries
# Skip AI analysis for tokens already blacklisted
skip_blacklisted = trueHigh-Volume Settings
- •
max_concurrent = 10 - •
timeout = 10 - •
cache.ttl = 7200 - • Use fast providers (Groq, DeepSeek)
Conservative Settings
- •
max_concurrent = 2 - •
timeout = 30 - •
retry_attempts = 5 - • Use premium providers (OpenAI, Claude)
Configuration Best Practices
- Start with Free Providers:Use Groq or DeepSeek initially to test Assistant features before committing to paid providers.
- Configure Fallbacks:Always set up 2-3 providers for redundancy. If your primary hits rate limits, the bot continues working.
- Enable Features Gradually:Start with just filtering analysis, monitor results, then enable entry/exit features as you build confidence.
- Monitor API Usage:Check provider dashboards regularly to track API usage and costs. Adjust rate limits if needed.
- Secure Your API Keys:Never commit API keys to version control. Use environment variables or keep them in config files that are gitignored.
Important Notes
Test Before Live Trading
Test Assistant configuration thoroughly in paper trading mode before enabling on live positions. Verify that API keys work and responses are as expected.
Restart Required
Changes to Assistant provider configuration require a bot restart to take effect. Changes to enabled features may be applied dynamically depending on the setting.