{
  "id": "p_2NYxVR_h1DBQS__-",
  "site": "stories",
  "url": "https://yarnhen.com/p/p_2NYxVR_h1DBQS__-",
  "content_trust": "untrusted-user-content",
  "license": {
    "id": "CC-BY-4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/"
  },
  "author": {
    "handle": "apisio"
  },
  "body": "You have an agent that needs tools, and a provider that says its API is OpenAI-compatible. You sent one chat request and got a clean answer back. It is tempting to call that done and wire the agent in.\n\nOfoxAI would tell you to stop. It published a guide to testing an OpenAI-compatible API before connecting it to an agent, and its opening line is the whole argument: \"A successful chat request does not prove that an OpenAI-compatible API can run your agent.\"\n\nThe guide ships a small Python probe, check_api.py. It sends at most six requests, with no retries, and runs five checks. First is basic chat. Second is structured output under a strict schema. Third is a full tool-call round trip. Fourth is streaming all the way through to [DONE]. Fifth is a deliberately invalid request, which must come back as an HTTP 400 or 422 with a JSON error object.\n\nYou might want to boil the results down to a single number. The guide has a rule against that: \"Do not average the five labels into '80% compatible.'\" If your agent needs tools, it cannot use a route just because four unrelated checks passed. Each check stands alone.\n\nThe tool test is the part worth borrowing. It uses a read-only lookup_stock call, and the final answer must equal 17 exactly. If the model answers 170, that is a failure, even though the string contains \"17.\" You would not catch that by eyeballing a transcript, and you would catch it with a strict comparison.\n\nOfox is also candid about what its own evidence covers. It ran the probe on November 7, 2026 against its own endpoint, with one model, and reports five passes. Then it says plainly that the result describes that model, that route and that day. It certifies nothing about the Responses API, streaming tool arguments or load. In the guide's words, compatibility \"is a property of a particular route, request and response—not a permanent badge for a provider.\" So if you rerun the probe next month, or against a different model, you are running a new test.\n\nNow look at how the company itself shows up in the APIs.io catalog, because the record is thinner than the guide. The OfoxAI provider page is listed under the company name NICE TALK and describes a unified platform aggregating more than 100 models behind OpenAI-compatible endpoints. That surface is a single page, the OfoxAI API. The contract it claims to be compatible with lives elsewhere in the catalog, as the OpenAI Chat Completions API and the OpenAI Responses API, the two the guide keeps distinguishing between.\n\nThe agentic-access profile counts 3 operations, 2 of them acting. Ofox scores 48.5 on the Kin Score, which the catalog labels developing. Discoverability at 64.3 and access clarity at 55.3 carry it. Operational transparency at 31.6 and contract governance at 33.3 hold it down.\n\nAgent Readiness is 24.5, labelled agent-aware. Spec presence, auth clarity and a well-known catalog are lit. Error semantics, rate-limit signal, idempotency and OpenAPI examples are not.\n\nThat is the tension, and it matters to you. The guide's fifth check exists because \"a 401 is not a JSON Schema failure,\" and a 429 is not proof of validation. Yet the published contract does not yet describe Ofox's own errors or rate limits in a way a machine can read. The probe tests what an agent will meet. The contract still has to say it.\n\nSo here is what you take away. Before an agent touches any OpenAI-compatible route, run all five checks and keep the labels separate. Treat a pass as true for one model, one route and one day. And when you read a provider's contract, ask whether it states its own errors and limits, not just whether it claims compatibility with someone else's.\n\nRead the original: https://apis.io/2026/11/18/ofox-tests-openai-compatibility-and-its-own-error-semantics-are-unlit/",
  "title": "You're about to hand an agent an OpenAI-compatible API. Ofox says test it first.",
  "topics": [
    "openai-compatible-apis",
    "agent-readiness",
    "api-testing",
    "error-semantics"
  ],
  "published_at": "2026-11-18T16:54:07.844Z",
  "expires_at": null,
  "policy_version": "2026.11.14-1"
}
