{"library":"semantic-router","type":"library","category":null,"description":"Semantic Router is a superfast decision-making layer for LLMs and agents. It routes requests based on semantic meaning using vector space, rather than relying on slow LLM generations for tool-use or safety decisions. It supports various embedding models (e.g., OpenAI, Cohere, Hugging Face) and integrates with vector databases like Pinecone and Qdrant. The library is actively maintained with frequent updates and a focus on speed, safety, and scalability.","language":"python","status":"active","version":"0.1.12","tags":["AI","LLM","routing","semantic search","decision-making","agents","embeddings"],"install":[{"cmd":"pip install semantic-router","imports":["from semantic_router import Route","from semantic_router.routers import SemanticRouter","from semantic_router.encoders import OpenAIEncoder","from semantic_router.encoders import CohereEncoder","from semantic_router.index import LocalIndex","from semantic_router.routers import HybridRouter"]},{"cmd":"pip install \"semantic-router[local]\"","imports":[]},{"cmd":"pip install \"semantic-router[hybrid]\"","imports":[]},{"cmd":"pip install \"semantic-router[cohere]\"","imports":[]},{"cmd":"pip install \"semantic-router[openai]\"","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/semantic-router/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":84,"avg_install_s":19.9,"avg_import_s":10.3,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/semantic-router/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}