Major Redesign Of A Multi-Vendor Llm Abstraction Layer
Sources: 1 • Confidence: High • Updated: 2026-04-06 03:42
Key takeaways
- The author is working on a major change to the LLM Python library and CLI tool.
- To design a new abstraction layer, the author used Claude Code to review Python client libraries for Anthropic, OpenAI, Gemini, and Mistral and to craft curl commands that access raw JSON in streaming and non-streaming modes across scenarios.
- Some vendors introduced new features over the past year, including server-side tool execution, that the current LLM abstraction layer cannot handle.
- The scripts and captured outputs from the author’s API research have been published in a new repository.
- LLM uses a plugin system that provides an abstraction layer over hundreds of LLMs from dozens of vendors.
Sections
Major Redesign Of A Multi-Vendor Llm Abstraction Layer
- The author is working on a major change to the LLM Python library and CLI tool.
- LLM uses a plugin system that provides an abstraction layer over hundreds of LLMs from dozens of vendors.
Cross-Vendor Api Trace Methodology And Reproducible Artifacts
- To design a new abstraction layer, the author used Claude Code to review Python client libraries for Anthropic, OpenAI, Gemini, and Mistral and to craft curl commands that access raw JSON in streaming and non-streaming modes across scenarios.
- The scripts and captured outputs from the author’s API research have been published in a new repository.
Vendor Api Evolution Creating Abstraction-Layer Feature Gaps
- Some vendors introduced new features over the past year, including server-side tool execution, that the current LLM abstraction layer cannot handle.
Unknowns
- What is the proposed new abstraction layer design (core objects, capabilities, and invariants), and how does it represent features like server-side tool execution?
- What will be the migration path and compatibility strategy (breaking changes, deprecations, versioning, and upgrade tooling) for existing LLM users and plugins?
- Which specific vendors and APIs currently expose server-side tool execution (and any other new features), and what are the exact semantic differences that break the current abstraction?
- What is in the published repository (provider coverage, scenarios tested, automation/CI), and how frequently will it be updated as vendor APIs drift?
- Is there any direct operator/product/investor decision readthrough intended (e.g., recommended integration patterns, vendor selection guidance, or tooling commitments), or is this purely exploratory research?