OpenAI Agents SDK in TypeScript (openai-agents-js)

Hi everyone,

After closely following OpenAI’s updates on function-calling agents — especially the recent release of the Python SDK — I wanted to bring similar functionality to the Node.js ecosystem.

So I built “openai-agents-js”, a TypeScript SDK for building OpenAI function-calling agents with a familiar structure.

It currently supports:

  • Agent runner
  • Tool calling (single and parallel)
  • Streaming output
  • Input/output guardrails
  • Handoff support
  • Output schema enforcement
  • Tracing & logging (currently in development)

GitHub: yusuf-eren/openai-agents-js
NPM: package/openai-agents-js

If you’re building AI agents in TypeScript, I’d love for you to take a look. Feedback, issues, and contributions are more than welcome.

Thanks!

1 Like