Home / Companies / Stainless / Blog / February 2026

February 2026 Summaries

4 posts from Stainless

Filter
Month: Year:
Post Summaries Back to Blog
Model Context Protocol (MCP) has gained popularity for standardizing tool calling, but challenges such as accuracy and token efficiency have limited its widespread adoption in AI agents composing complex API calls. To address these issues, a technique called "SDK code mode" has shown promising results by using API-specific SDKs to generate integration code, thus enhancing the accuracy and reducing the number of interactions needed to achieve desired outcomes. This method enables agents to write and execute code for complex API interactions more efficiently, leveraging idiomatic SDKs, type checking, and error messages to improve performance. Evaluations with the Increase Banking API demonstrated that SDK code mode outperformed other configurations in completeness and efficiency, though factuality remains an area for improvement. The findings suggest that with the right tools, documentation, and SDKs, MCP can be an effective means of achieving high accuracy and utility in API integrations.
Feb 26, 2026 3,131 words in the original blog post.
An experimental SQL SDK generator has been developed to transform OpenAPI specifications into PostgreSQL extensions, enabling REST API calls to be executed as SQL functions. This approach allows for seamless integration of API data into standard SQL queries without the need for complex ETL processes or intermediary services. The system uses PL/Python for HTTP requests and wraps SQL functions to provide a typed SQL interface, mapping API endpoints to SQL functions and resources to PostgreSQL schemas. This method facilitates the combination of live API data with local database tables, making it effective for analytical and batch workflows, although it is not suitable for low-latency production environments. The generator currently supports OpenAPI 3.x specifications and is in an experimental phase, with feedback being sought from developers to refine and expand its capabilities.
Feb 18, 2026 1,683 words in the original blog post.
The Stainless Language Server enhances the process of configuring SDKs by offering real-time editing capabilities within local development environments like VS Code, Neovim, and others that support the Language Server Protocol. This tool allows users to edit their stainless.yml config files and OpenAPI specs with immediate feedback, facilitating a more efficient workflow compared to the traditional method of editing through the Stainless Studio and waiting for build feedback. The language server understands the intricate relationship between configuration files and OpenAPI specs, providing features such as real-time diagnostics, intelligent completions, and navigation tools like "Go to definition" and "Find all references." These features streamline the development process by reducing the need for manual searching through large files and by allowing live transformations of OpenAPI specs, ultimately saving time and enhancing productivity. Setup is straightforward, requiring the installation of the Stainless CLI and editor-specific extensions, enabling developers to work seamlessly within their preferred coding tools while maintaining the same capabilities as the Stainless Studio.
Feb 12, 2026 893 words in the original blog post.
Maintaining a public API often involves challenges related to facilitating seamless integration for developers, which can be addressed by providing a comprehensive platform including SDKs, documentation, and other tools. A TypeScript SDK can be critical for JavaScript and TypeScript developers, offering type-safe methods, autocomplete, and compile-time error checking that streamline the integration process and reduce the likelihood of errors. Traditional approaches like using the OpenAPI Generator can quickly scaffold a client library but often produce non-idiomatic code, lack advanced features like pagination and retries, and require manual maintenance. To overcome these limitations, Stainless provides an optimized solution for generating production-ready TypeScript SDKs from OpenAPI specifications, incorporating features such as retry logic, streaming, pagination, and structured error handling, all while ensuring zero dependencies and full type safety. Stainless enhances the SDK development process by automating tasks such as publishing and synchronization, leading to faster adoption, fewer support tickets, and a more robust API platform for companies like OpenAI and Anthropic.
Feb 09, 2026 1,539 words in the original blog post.