AI Agents & Orchestration

Openai (topic)

Last updated 2026-09-28

What's new

2026-09-28
  • OpenAI released cheaper GPT-6 models, and Anthropic launched Claude Opus 5.5, which is 40% cheaper and performs similarly to its more expensive Claude Fable 5.1 model.
  • Claude Opus 5.5 requires less computing power, making it more cost-effective for tasks like coding and data analysis, and it's better at communicating clearly, reducing jargon and improving readability.
  • Meta announced a new AI device small enough to carry on a keychain, and there are rumors of OpenAI releasing a new AI agent platform (a tool that automates tasks) next week.
2026-09-19
  • You can now use cheaper cloud-based AI models (like GLM) or even free local models (like Gemma 4 26B, which you run on your own computer) with Codex, a tool that helps automate tasks.
  • To set this up, download Ollama (a software that lets you use these models) from ollama.com, pick a model, and add it to Codex through the settings.
  • Codex can help you choose a local model that fits your computer's specs and connect it, allowing you to use it alongside cloud models.
  • You can divide tasks between different models, like using a cloud model for research and a local model for making decisions, to save on costs and improve efficiency.

Key points

What it is

  • OpenAI is a company that builds AI models and has significantly influenced how people use and think about AI, including pushing for serious consideration of artificial general intelligence (AGI, AI that can perform any intellectual task that a human can do).
  • They are developing a unified AI operating layer that combines coding, chatting, and workflows, aiming to reduce dependence on their models for about 80% of daily knowledge work.
  • OpenAI is also moving into hardware, creating a device designed to feel like a participant in a room rather than just an appliance.

How to use it

  • Start with the OpenAI SDK (a software toolkit for calling their models) and create a new OpenAI client before making any request.
  • Use the `OpenAI.responses.create` method to send input, ensuring your text is placed inside a content field with a role of "user".
  • For building an agent (a program that acts toward a goal), import a provider like OpenAI from the AI SDK and specify your model in a file like `lib/agent.ts`.

Watch out for

  • OpenAI agents have a weakness with data work, with accuracy around 21% without a data harness (a purpose-built layer that feeds structured context).
  • Vague prompts can leave the model guessing, so always specify the desired outcome and audience.
  • You often cannot inspect an agent's reasoning, so build your own observability around the agent rather than relying on the vendor to expose it.
  • Implement approval gates (a human checkpoint before irreversible steps) to prevent agents from taking unintended actions.

Tools named

  • OpenAI SDK (software toolkit for calling their models), OpenAI Agents SDK (documentation for building agents), OpenAI Agents Python (repository with examples for building agents)

Lesson 1: What is Openai (topic) and why it matters

OpenAI is an AI lab (company that builds AI models) that has shaped how people think about and use artificial intelligence. One of its most important contributions is getting the world to pay attention to AI progress and take artificial general intelligence (AGI, AI matching humans at most tasks) seriously, pushing institutions to think about governance and how society adapts. OpenAI also publishes research that acts like a time machine for other companies. A recent study walked through how OpenAI's own finance, marketing, operations, and recruiting teams use AI today, revealing that 99% of what AI produces for them is outputs, not chatbot conversations. Almost nobody inside OpenAI works on a chatbot anymore; they hand whole jobs to AI and walk away. This matters because it shows a concrete future other organizations can build toward.

OpenAI is also building a unified AI operating layer (single system for many tasks) that combines coding, chatting, and workflows. Instead of separate tools, they are merging Codex with ChatGPT, which could become the biggest moment in consumer AI since ChatGPT launched. Their models still matter for orchestration (coordinating AI responses), but a robust "AI operating system" with good folder structures, skills, and rules can reduce your dependence on OpenAI models for roughly 80% of daily knowledge work. OpenAI is also moving into hardware with a device built alongside Jony Ive's studio, designed to feel like something participating in the room rather than an appliance. They have even shown a level of intelligence where a model asks qualifying questions and finds previous work, which signals both a smart model and a good harness (software that wraps and runs a model).

Sources

Lesson 2: How to use Openai (topic): step-by-step

To use OpenAI step by step, start with the OpenAI SDK (a software toolkit for calling their models). Before you make any request, create a new OpenAI client, then call the responses API using `OpenAI.responses.create`. When you send input, OpenAI expects a role of "user" with your text placed inside a content field, not just a bare string.

If you are building an agent (a program that acts toward a goal), you give it tools. In a TypeScript project you can create a file like `lib/agent.ts`, import `ToolLoopAgent`, and specify your model. Importing a provider such as OpenAI from the AI SDK is a syntax you may have seen before.

OpenAI offers a specific prompt for handling long-running agentic tasks with forks in the road. Put wording there about whether the agent should always ask you questions or carry the user's intended task to completion.

For verification, start with the OpenAI Agents SDK documentation for the primary API reference, checking current signatures and supported features. The OpenAI Agents Python repository has an examples directory with concrete production-shape patterns. For conceptual foundations, a practical guide to building agents is useful when architecture decisions matter. You can also use one API key to run agents on every model while keeping familiar OpenAI-compatible SDKs.

Sources

Lesson 3: Best practices and pitfalls

OpenAI's agents (autonomous software that acts on your behalf) have a well-documented weakness: data work. One report found accuracy on data projects sits around 21% until you add a data harness (a purpose-built layer that feeds structured context). OpenAI's own fix layers six levels of context into a "data agent" before it performs reliably. The practical lesson is that context, not raw model power, determines success.

That principle shows up in prompting too. OpenAI's stated tactics for its newest models start with leading with the destination, not the process — tell the model what a good outcome looks like and who the audience is, then let it choose the path. Context comes second. Vague prompts leave the model guessing.

A subtler pitfall: you often cannot inspect an agent's reasoning. OpenAI does not share thinking traces with users, so when an agent misbehaves you see the result but not the path. Build your own observability around the agent rather than relying on the vendor to expose it.

The most concrete safety practice comes from an OpenAI demo called Relay: an agent pulls live data through the app's own tools, proposes an action, then stops dead until a human operator approves. That approval gate (a human checkpoint before irreversible steps) is the pattern worth copying, especially after an agent on OpenAI's newest models reportedly "went rogue" without one.

Finally, don't over-rely on the model. A robust setup — folder structures, rules, reusable skills — means roughly 80% of everyday knowledge work runs without OpenAI models orchestrating every response. Build the system around the agent, and reserve the model for genuinely hard tasks.

Sources