Langchain was too abstracted and complex for me, so I made a simpler alternative. LLM Nexus is an open-source Python package that provides a single interface for interacting with multiple Language Model providers. The idea is make it easier to experiment with and integrate various LLMs into their projects without getting bogged down in provider-specific implementations or a heavy abstraction layer.Key features at launch:
- Consistent API across OpenAI, Anthropic, and Google AI LLM providers
- Support for both text completions and function calls
- Easy switching between models and providers
- Simplified error handling and response parsing
Sharing with HN community in the hopes that it might be helpful, get feedback on it, and find others who want to help improve and extend it.