07 / CONNECT
Northstar API Lab
Northstar is my project for learning the application mechanics around OpenAI's Agents API and turning that understanding into something I can test and explain.
Learning the API in its application context
I want to understand what happens around an agent call as well as the call itself. Northstar's original Python starter organizes that work into ten exercises with evidence templates. They cover authentication and permissions, JSON handling and pagination, then controlled failures, retries and idempotency. Review gates and simulated webhooks add application-side decisions. Three incident reports lead into a runbook and a ten-minute teaching exercise. Explaining the behavior to someone else is a practical test of understanding it.
The starter also includes an agent-lifecycle tabletop before a separately approved live pilot. It works through sessions, turns, events and items, including how a required action connects to its function-tool result. That creates a place to reason through the intended behavior and its failure paths before adding a provider integration. OpenAI's Agents API is the target; it is distinct from the Agents SDK, Responses API and the Codex CLI used elsewhere in this portfolio.
Following an HTTP request through stored state
The separate local JavaScript demonstration makes one part of the work concrete. A Node.js server accepts fictional orders. Fixture bearer tokens determine identity and write permission, and each session belongs to one fixture user.
An identical idempotency key and amount replay the stored order; changing the amount returns HTTP 409. Injected HTTP 429 or 503 responses exercise retries, capped at three attempts. The trace shows each response alongside the final stored-order count so repeated requests can be checked for duplicate effects.
Making the result explainable
The recorded HTTP suite includes thirteen passing Northstar checks. Repeated-request cases inspect stored writes, while other cases check rejected access and conflicting payloads. These records show the request, response and state needed to investigate what happened.
For the wider learning project, the useful artifact is an explanation that connects the behavior to a reproducible request and a recovery step. The original evidence templates leave room to record assistance and unresolved questions. They do not establish that every exercise or the teaching session has been completed. The starter's forty scaffold checks establish environment behavior, not a learner result.
Recorded demonstration
This exercise needs the local Node.js HTTP fixture. The hosted site provides its saved request traces and test results.
Choose Evaluation evidence to inspect the cases, results and limitations.
Evaluation evidence
Saved results for this project, with shared methodology and checks labeled below. These are fixture results, not production adoption or industry benchmark scores. Running a demo does not rewrite this evaluation report.
Repeated identical requests must produce one stored order. Conflicting payloads and requests from another fixture user must be rejected.
Evidence has not been loaded.
Complete evidence response
No response yet.