github.com/nlpodyssey/openai-agents-go
v0.1.0
#3003 most downloaded on Go modules
nlpodyssey/openai-agents-go
What this package is like to depend on
Last release 5 months ago
26 Mar 2026
Release timing varies
gaps range from 8 days to 2 months
Nearly every release is documented
notes for 1 of 1 stable releases
Nothing withdrawn
no release was ever pulled
1 years old
43 releases · first in 2025
12 releases in the last 12 months
see the full history below
Release timeline
43 releases · Jun 2025 to Mar 2026Releases
latest 43-
v0.1.1-0.20260326214929-dacc419bf0b126 Mar 2026 pre-releaseNothing published for this version
-
v0.1.1-0.20260209133246-32e137dcfa6109 Feb 2026 pre-releaseNothing published for this version
-
v0.1.1-0.20251128022858-a8f5b7ac111a28 Nov 2025 pre-releaseNothing published for this version
-
v0.1.1-0.20251119153325-cfde7383fda319 Nov 2025 pre-releaseNothing published for this version
-
v0.1.027 Oct 2025Release notes
Open source →OpenAI Agents Go SDK v0.1.0
First public release of the OpenAI Agents Go SDK - a lightweight yet powerful framework for building multi-agent workflows in Go.
Overview
This is a Go port of the OpenAI Agents Python SDK, designed to be as close as possible to the original implementation in both behavior and API.
Features
Core Functionality
- Multi-Agent Workflows: Build sophisticated agent systems with handoffs and coordination
- Provider-Agnostic Design: Works with OpenAI API and other LLM providers
- Function Tools: Full support for function calling and custom tools
- Guardrails: Configurable safety checks for input and output validation
- Session Management: Persistent memory across multiple runs
Advanced Capabilities
- Model Context Protocol (MCP): Integration with hosted and local MCP servers
- Voice Support: Both static and streaming voice responses
- Built-in Tools: Code interpreter, computer use, file search, web search
- Workflow Runner: Experimental orchestration layer for complex multi-agent workflows
Examples & Documentation
Comprehensive examples covering:
- Basic usage (hello world, streaming, templates, tools)
- Agent patterns (routing, guardrails, parallelization)
- Real-world scenarios (customer service, financial research, research bot)
- MCP integration (filesystem, git, prompts)
- Model providers (custom providers, LiteLLM)
Installation
go get github.com/nlpodyssey/[email protected]
Quick Start
package main import ( "context" "fmt" "github.com/nlpodyssey/openai-agents-go/agents" ) func main() { agent := agents.New("Assistant"). WithInstructions("You are a helpful assistant"). WithModel("gpt-4o") result, err := agents.Run(context.Background(), agent, "Write a haiku about recursion in programming.") if err != nil { panic(err) } fmt.Println(result.FinalOutput) }
Requirements
- Go 1.24.3 or higher
- OpenAI API key (set
OPENAI_API_KEYenvironment variable)
What's Next
This is a v0.x release, indicating that the API may still evolve based on community feedback and the upstream Python SDK development. We welcome contributions, bug reports, and feature requests!
Acknowledgments
Special thanks to:
- The OpenAI team for the original Python SDK
- All contributors who helped shape this first release
- The Anthropic team for the Model Context Protocol
For detailed documentation and examples, visit the repository.
-
v0.0.0-20251128022858-a8f5b7ac111a28 Nov 2025 pre-releaseNothing published for this version
-
v0.0.0-20250929111011-7f25b9907d0629 Sep 2025 pre-releaseNothing published for this version
-
v0.0.0-20250928202738-f75f7ac482fc28 Sep 2025 pre-releaseNothing published for this version
-
v0.0.0-20250926173218-def17df2ddba26 Sep 2025 pre-releaseNothing published for this version
-
v0.0.0-20250924113730-92c2bd782edf24 Sep 2025 pre-releaseNothing published for this version
-
v0.0.0-20250921183003-c0ee3ecf652921 Sep 2025 pre-releaseNothing published for this version
-
v0.0.0-20250919174849-52c51985992819 Sep 2025 pre-releaseNothing published for this version
-
v0.0.0-20250829123024-77abc526abc729 Aug 2025 pre-releaseNothing published for this version
-
v0.0.0-20250814182310-a49f6d08800114 Aug 2025 pre-releaseNothing published for this version
-
v0.0.0-20250814182121-e34f3feaa69714 Aug 2025 pre-releaseNothing published for this version
-
v0.0.0-20250814092934-b112d59b961f14 Aug 2025 pre-releaseNothing published for this version
-
v0.0.0-20250813083703-7a1672137ad413 Aug 2025 pre-releaseNothing published for this version
-
v0.0.0-20250813074108-595d0b91444713 Aug 2025 pre-releaseNothing published for this version
-
v0.0.0-20250812102310-68a70cab15b112 Aug 2025 pre-releaseNothing published for this version
-
v0.0.0-20250812102043-5c9ff9ab277312 Aug 2025 pre-releaseNothing published for this version
-
v0.0.0-20250810080231-e554821636d110 Aug 2025 pre-releaseNothing published for this version
-
v0.0.0-20250809134537-2ec3c8931b2d09 Aug 2025 pre-releaseNothing published for this version
-
v0.0.0-20250805015602-3edb9832422405 Aug 2025 pre-releaseNothing published for this version
-
v0.0.0-20250804125605-6aa072db881b04 Aug 2025 pre-releaseNothing published for this version
-
v0.0.0-20250731182647-14aed6fdcd3a31 Jul 2025 pre-releaseNothing published for this version
-
v0.0.0-20250731140025-841ba8b8d6fa31 Jul 2025 pre-releaseNothing published for this version
-
v0.0.0-20250730233022-6d7375ea17e730 Jul 2025 pre-releaseNothing published for this version
-
v0.0.0-20250724154512-001abe4ebadb24 Jul 2025 pre-releaseNothing published for this version
-
v0.0.0-20250720155925-ebf0a7bf27ba20 Jul 2025 pre-releaseNothing published for this version
-
v0.0.0-20250717204625-f65c5b5a3c2617 Jul 2025 pre-releaseNothing published for this version
-
v0.0.0-20250716154342-f5503dfd833916 Jul 2025 pre-releaseNothing published for this version
-
v0.0.0-20250709070651-f08f1a6c1d4909 Jul 2025 pre-releaseNothing published for this version
-
v0.0.0-20250709070651-3d3a2436badd09 Jul 2025 pre-releaseNothing published for this version
-
v0.0.0-20250701141535-9513c3d1c1b501 Jul 2025 pre-releaseNothing published for this version
-
v0.0.0-20250701081905-13ecaccd9a2201 Jul 2025 pre-releaseNothing published for this version
-
v0.0.0-20250630210332-a8f162a5885330 Jun 2025 pre-releaseNothing published for this version
-
v0.0.0-20250630090331-04fedf18c49930 Jun 2025 pre-releaseNothing published for this version
-
v0.0.0-20250619151901-104af7a6143d19 Jun 2025 pre-releaseNothing published for this version
-
v0.0.0-20250616213518-c0e9b64d6cc416 Jun 2025 pre-releaseNothing published for this version
-
v0.0.0-20250616162820-09b19b4487a516 Jun 2025 pre-releaseNothing published for this version
-
v0.0.0-20250615165506-558aebc5023a15 Jun 2025 pre-releaseNothing published for this version
-
v0.0.0-20250606092007-b7a3d90ce9de06 Jun 2025 pre-releaseNothing published for this version
-
v0.0.0-20250605210644-b55be2b4383f05 Jun 2025 pre-releaseNothing published for this version