Skip to content

CertainLogicAI/certainlogic-smart-router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CertainLogic Smart Router

Route queries to the right model tier. Save money without thinking about it.

Quick Start

clawhub install certainlogic-smart-router
# Route a query
python3 scripts/smart_router.py "Write a Python function"

# Force cheap tier
python3 scripts/smart_router.py "Any query" --cheap

# Use custom profiles
python3 scripts/smart_router.py "query" --config my_profiles.json

What It Does

Classifies your query and recommends an LLM tier:

  • cheap — Simple lookups, greetings, short answers
  • default — Standard tasks, explanations, drafting
  • powerful — Complex reasoning, architecture, strategy

How It Works

Keyword + regex matching. Deterministic, not learned. No AI involved in routing.

Honest Limitations

  • Static keyword lists (update config for new domains)
  • English only
  • Returns recommendation only (doesn't make API calls)
  • Simple heuristics — will misroute edge cases

Free vs Pro

Free — 4 profiles, custom config, override flags Pro ($29) — Dynamic feedback, usage analytics, fallback chains, team profiles

Links


Built by CertainLogic. Keyword routing. Not AI. Not magic. Just cheaper.

About

Keyword-based query router. Recommends cheap/default/powerful model tiers. Save money on LLM calls.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages