codex-agent-sdk-go

hishamkaram/codex-agent-sdk-go
★ 2 stars Go 🤖 AI/LLM Updated today
Go SDK for the OpenAI Codex CLI app-server transport — JSON-RPC 2.0 over stdio with typed events, approval callbacks, MCP config, structured output
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "codex-agent-sdk-go": {
      "command": "go",
      "args": [
        "run",
        "github.com/hishamkaram/codex-agent-sdk-go@latest"
      ]
    }
  }
}

README Excerpt

Go SDK for the OpenAI Codex CLI **app-server** transport — spawns `codex app-server` as a child process, speaks JSON-RPC 2.0 over stdio, and exposes a typed Go API for threads, turns, streaming events, approvals, and MCP configuration. > **Status**: preview (`v0.x`). API may change before `v1.0.0`. Feedback welcome.