OpenAI Agents SDK (Python) 0.24.0: our test log

OpenAI Agents SDK (Python) 0.24.0 passed our one-tool task on a local 3B model: 3 of 3 trials; cold uv install 1.7 s.

Tested by us on 2026-10-25. Local open-weight model, not the vendor's hosted models. A smoke test on a CPU-only box, not a benchmark.

Result at a glance

OpenAI Agents SDK (Python) test record
FieldValue
ResultPassed
Version tested0.24.0
Date and time2026-10-25, 23:21 to 23:21 CDT (America/Chicago)
TaskGive a local model one Python function, add_numbers(a, b), and ask it to use that tool to compute 17 + 25 and report the result. Pass means the function was called with 17 and 25 and the final answer contains 42. Three trials per tool, all on the same local model.
Model usedQwen2.5-3B-Instruct (Q4_K_M) through Ollama 0.40.11
HardwareLinux x86_64 virtual machine (Debian 13), 8 vCPU (Intel Xeon, 1 thread per core), 15 GiB RAM, no GPU
Installed size (uv)57 MB in 38 packages
Install time (uv, cold)1.7 s
Install time (pip, cold)11.3 s
Installed size (pip)102 MB in 39 packages
Task trials passed3 of 3
Task wall time (median, includes imports)4.9 s (range 4.0 to 5.1 s)
Machine load during trials6.7 to 7.7 (1-minute load average, 8 vCPU)

What we found

  • 3 of 3 task trials passed: the model's tool call reached the framework, the function ran with 17 and 25, and the final answer contained 42.
  • Cold install took 1.7 s with uv and 11.3 s with pip, and left 57 MB in 38 packages (uv).

What we ran, step by step

Commands run, wall-clock time and exit code
StepWall timeExit codeNotes
Install with uv (cold, no cache)1.7 s0Machine load average before the run: 0.76.
Install with pip (cold, no cache)11.3 s0Load average before: 4.60. Second run; the first pip run was discarded (see the research page).
Task command (all trials)n/an/aRun from a directory that contains common.py (shown below). Telemetry switches were set for tools that have them.
Task trial 15.1 s0Tool called with [[17, 25]]; answer: Computing 17 + 25 using the add_numbers tool yields the result of 42. Load 7.70.
Task trial 24.9 s0Tool called with [[17, 25]]; answer: The result of adding 17 and 25 is 42. Load 7.16.
Task trial 34 s0Tool called with [[17, 25]]; answer: The result of adding 17 and 25 is 42. Load 6.67.
Exact commands (paths shortened)
# Install with uv (cold, no cache)
uv venv -q -p 3.13 work/py/openai-agents-sdk && VIRTUAL_ENV=work/py/openai-agents-sdk uv pip install --no-cache -q openai-agents

# Install with pip (cold, no cache)
uv venv -q --seed -p 3.13 work/pip/openai-agents-sdk && work/pip/openai-agents-sdk/bin/pip install --no-cache-dir -q openai-agents

# Task command (all trials)
OTEL_SDK_DISABLED=true work/py/openai-agents-sdk/bin/python tasks/openai_agents_sdk_agent.py

Raw output (excerpts)

tasks/openai_agents_sdk_agent.py, the whole script for this test
from common import *
from openai import AsyncOpenAI
from agents import Agent, Runner, OpenAIChatCompletionsModel, function_tool, set_tracing_disabled
set_tracing_disabled(True)
m = OpenAIChatCompletionsModel(model=MODEL, openai_client=AsyncOpenAI(base_url=BASE, api_key=KEY))
agent = Agent(name="Calc", instructions="Use tools.", model=m, tools=[function_tool(add_numbers)])
r = Runner.run_sync(agent, TASK)
report(r.final_output)
common.py, the shared helper every framework script imports
import json, os
BASE = "http://127.0.0.1:11434/v1"
MODEL = os.environ.get("MODEL", "qwen2.5-3b")
KEY = "ollama"
TASK = "Use the add_numbers tool to compute 17 + 25, then tell me the result."
CALLS = []
def add_numbers(a: int, b: int) -> int:
    """Add two integers and return the sum."""
    CALLS.append((a, b))
    return int(a) + int(b)
def report(final):
    ok = any({int(x), int(y)} == {17, 25} for x, y in CALLS) and "42" in str(final)
    print("RESULT_JSON " + json.dumps({"calls": CALLS, "final": str(final)[:300], "ok": ok}))
Result line printed by trial 1 (2026-10-25 23:21:14 CDT)
RESULT_JSON {"calls": [[17, 25]], "final": "Computing 17 + 25 using the add_numbers tool yields the result of 42.", "ok": true}

Gotchas and things that broke

  • To point it at a local OpenAI-compatible endpoint we used OpenAIChatCompletionsModel (the chat completions API) and called set_tracing_disabled(True); both are in the script below.

What we did not test

  • Any vendor-hosted model: everything ran on a local 3B model, so tool-call reliability with frontier models is not measured here.
  • Multi-agent flows, memory, long conversations, streaming, tracing and cloud deployment.
  • Anything beyond one tool and one question; three trials is a smoke test, not a benchmark.

Reproduce it

Versions change. These commands install whatever is latest on the day you run them unless a version is pinned, so expect different results later. The version we measured is in the table above.

# 1. Serve any local model that supports tool calling behind an OpenAI-compatible endpoint, registered as qwen2.5-3b:
#    http://127.0.0.1:11434/v1  (we used Ollama with a Qwen2.5-3B-Instruct Q4_K_M GGUF)
uv venv -p 3.13 .venv && VIRTUAL_ENV=.venv uv pip install openai-agents
# 2. Save common.py (above) and the task script next to each other, then:
.venv/bin/python openai_agents_sdk_agent.py

How to read this test

Every number on this page was measured on this one machine, which also ran other jobs, so timings are indicative and vary run to run. A pass means our small task worked once or as stated, a fail means it did not work as we ran it; neither says how the tool behaves with a vendor's frontier model, on a GPU, or at scale. Where a tool could not run without an account or a GPU, we say so instead of guessing.

See the testing rig for the hardware, the local model and the rules we follow, and the test hub for every other test.

  • OpenAI Agents SDK for JavaScript: OpenAI Agents SDK for JS (0.21.0) passed 2 of 5 (Node 20) and 1 of 5 (Node 24) at default sampling but 5 of 5 on both Node versions once temperature was pinned to 0.
  • OpenAI Python SDK: The plain OpenAI Python SDK (v3.37.0) with a hand-written tool loop passed 3 of 3 trials against a local model; it is our control for every framework test.
  • Pydantic AI: Pydantic AI 2.61.0 passed our one-tool task on a local 3B model: 3 of 3 trials; cold uv install 3.7 s.
  • Semantic Kernel: Semantic Kernel 1.45.0 returned an empty reply with our standard prompt (0 of 3) but worked once the prompt used its plugin-prefixed tool name (3 of 3); a naming trap with small models.
  • smolagents: smolagents 1.26.0 passed our one-tool task on a local 3B model: 6 of 6 trials; cold uv install 1.5 s.
  • Vercel AI SDK: Vercel AI SDK passed our one-tool task 3 of 3 on Node 20 (ai 6.0.315) and 3 of 3 on Node 24 (ai 7.0.153); the install is 26 to 27 MB.

All test logs · How we test

FAQ

Does OpenAI Agents SDK (Python) work with a local model?

In our run it did for this one task: 3 of 3 trials passed against a local Qwen2.5-3B model served by Ollama. We did not test other models, and results depend heavily on the model's tool-calling ability.

How big is a fresh OpenAI Agents SDK (Python) install?

57 MB in 38 packages with uv on 0.24.0, measured on 2026-10-25.

Sources

Markdown version for agents: /tests/openai-agents-sdk.md