Engineering

How To Run OpenAI Agents SDK Locally With 100+ LLMs, and Custom Tracing

The OpenAI Agents SDK for Python provides developers with the building blocks to implement two agentic solutions for AI applications. You can create text-generation agents, allowing users to get responses from text prompts. Additionally, you can build voice agents using the SDK. To create your first agent with the OpenAI Agents SDK, get started here.
Read more ->
14 min read

Multi-Model AI Chat: How to Switch Between Different LLMs in Your Stream App

An interesting quirk of large language models (LLMs) is that they aren’t all the same. ChatGPT tends to be better for analysis, but in the words of Paul Graham, “writes like a kid doing an assignment.” Claude is a much better writer but loves a little bit of hallucination. All other models have their strong
Read more ->
29 min read

WebRTC vs. VoIP: Comparing Network Resilience

Internet-based communication has become the backbone of business operations, personal interactions, and emergency services. Technologies like Voice over Internet Protocol (VoIP) and Web Real-Time Communication (WebRTC) have revolutionized communication, offering flexible and cost-effective alternatives to traditional telephony. However, regulatory challenges in some countries pose strict restrictions on VoIP services. This article explores the differences between
Read more ->
8 min read

Building a RAG-Powered AI Customer Support Chatbot with Stream and OpenAI

Large Language Models, although trained on large amounts of data, have limited domain-specific knowledge. This limitation makes them less effective for customer support chatbots or similar apps that require specific data. Retrieval Augmented Generation (RAG) solves this concern by allowing LLMs access to external knowledge sources for a more accurate response generation. This means that
Read more ->
8 min read

Scaling AI Chat: 10 Best Practices for Performance, Cost, and Resource Optimization

Your AI chatbot is up and running. It’s helping customers, getting them the information they need in the tone and manner that is right for your brand. CX costs are down, and your support team are moving up the value chain. Everyone is happy. And then it happens: spam. Automated bots flood your system with
Read more ->
12 min read

The Top 7 MCP-Supported AI Frameworks

Toolkits for AI agents expose developers to various APIs to equip AI solutions with tools to carry out tasks and ensure accurate results for user satisfaction. However, integrating these tools into AI apps and managing them can be messy. This article introduces you to an industry standard of providing context to LLMs and agents using
Read more ->
20 min read

OpenAI Agents SDK — Getting Started

In the ever-evolving landscape of artificial intelligence, AI agents have emerged as a groundbreaking approach to building more sophisticated and autonomous systems. These agents represent a significant leap forward in AI development, offering capabilities beyond traditional static models. What makes AI assistants particularly powerful is their ability to orchestrate complex tasks and continuously self-assess their
Read more ->
8 min read

Go Structs and Interfaces Made Simple

When developers transition to Go from object-oriented languages like Java, C++, or Python, they often struggle with Go's approach to types and abstractions. Go intentionally avoids traditional inheritance-based object-oriented programming in favor of composition and interfaces. This design choice wasn't accidental—it reflects a deliberate philosophy about how software should be structured. As Rob Pike, one
Read more ->
13 min read