SShortSingh.
Back to feed

UniversalAI SDK Offers Single Python Interface Across 9 Major LLM Providers

0
·2 views

A new open-source Python library called UniversalAI aims to simplify AI development by providing a single, unified SDK compatible with nine major large language model providers, including OpenAI, Anthropic, Gemini, and Ollama. Developers can switch between providers by changing just one parameter string, eliminating the need to rewrite code for different APIs. The SDK is async-first and includes built-in middleware for retry logic, caching, rate limiting, and cost tracking. It also supports advanced features such as tool calling, retrieval-augmented generation, multi-agent orchestration, image generation, and audio transcription. The library is available via pip and can be installed with optional provider-specific dependencies or as a full package.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer Builds Free Privacy-First ATS Resume Analyzer Using Next.js 14

A developer has created ResumeAI, a free client-side tool that helps job seekers check their resumes for ATS compatibility without uploading data to external servers. The application is built with Next.js 14, TypeScript, Tailwind CSS, and pdfjs-dist, with all PDF parsing handled locally in the browser. It addresses concerns around cost and data privacy that are common with existing resume checker tools. A custom scoring algorithm evaluates resumes against job description keywords, identifying missing skills and applying negative score weights accordingly. The developer has made the tool publicly accessible and is seeking community feedback on the project.

0
ProgrammingDEV Community ·

Developer builds BitTorrent engine that streams torrents to Plex in real time

A self-hosted media enthusiast has released Tiramisu, formerly known as GoStream, a BitTorrent streaming engine that allows Plex to play torrent files without downloading them first. The system uses a FUSE virtual filesystem to present torrent contents as normal video files, fetching data directly from peers on demand as the player reads each byte. Development took two years and required deep modifications to existing open-source torrent libraries to handle the sequential read demands of real-time video playback. Key engineering challenges included fixing a cache-invalidation bug that caused audio desync on Apple TV, resolving a deadlock in the pipe-closing logic, and implementing persistent peer bans to block repeatedly corrupt sources. The project is aimed at home users who want instant access to a virtual media library without consuming local storage.

0
ProgrammingHacker News ·

Research Paper Breaks Down RowHammer and RowPress DRAM Vulnerabilities

A research paper published on arXiv examines two key DRAM read-disturbance phenomena known as RowHammer and RowPress. These vulnerabilities involve unintended bit flips in memory cells caused by repeatedly accessing adjacent rows. The paper aims to clarify and demystify the underlying mechanisms behind these hardware-level threats. Such vulnerabilities have significant implications for system security, as they can potentially be exploited to compromise data integrity.

0
ProgrammingDEV Community ·

Developer releases JSON-configurable Python wrapper to simplify Git commands

A developer has released gitwrap, a lightweight Python tool that lets users define custom Git command aliases through a JSON configuration file. The tool is distributed as a single Python script with no external dependencies, installable via a simple symlink to the user's PATH. Aliases are stored in a default project file and optionally overridden by a personal file in the home directory, with the two layering together seamlessly. The wrapper supports both single and chained Git commands, appending any extra CLI arguments automatically and halting a sequence if any command fails. The full source code is publicly available on GitLab for anyone to adapt to their own workflow.