Help us shape the future of Go! Take the 2026 Go Developer Survey

llm-go

module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2026 License: MIT

README

llm-go

One Go module for typed LLM calls and a local Codex App Server client.

go get github.com/ronhuafeng/llm-go@latest
Package family Use it for Import path
llmkit Provider-neutral typed output, validation, and bounded retries. github.com/ronhuafeng/llm-go/llmkit
codexsdk Direct local Codex App Server JSON-RPC and thread/turn lifecycle. github.com/ronhuafeng/llm-go/codexsdk
llmcaller/codex Use Codex behind the llmkit caller API. github.com/ronhuafeng/llm-go/llmcaller/codex

Start with the README for the package family you use. Public behavior is defined by the Go API, package documentation, and tests.

Maintainers: AGENTS.md, CONTRIBUTING.md. Engineering rules: NORTHSTAR.md. Operations: docs/verify.md, docs/release.md, docs/protocol-sync.md. Support: SUPPORT.md. Security: SECURITY.md. Changelog: CHANGELOG.md.

Directories

Path Synopsis
Package codexsdk provides a concrete client for one local Codex App Server.
Package codexsdk provides a concrete client for one local Codex App Server.
protocolv2
Package protocolv2 contains generated and handwritten Codex app-server v2 protocol types.
Package protocolv2 contains generated and handwritten Codex app-server v2 protocol types.
internal
llmcaller
codex
Package codexcaller adapts llmadapter calls to codexsdk thread/turn execution.
Package codexcaller adapts llmadapter calls to codexsdk thread/turn execution.
llmkit module
llmadapter
Package llmadapter defines provider-neutral typed LLM call contracts.
Package llmadapter defines provider-neutral typed LLM call contracts.
llmschema
Package llmschema compiles Go output types to provider-neutral JSON Schema, validates JSON responses, and decodes valid responses back into Go values.
Package llmschema compiles Go output types to provider-neutral JSON Schema, validates JSON responses, and decodes valid responses back into Go values.
llmstep
Package llmstep runs bounded typed LLM calls with deterministic caller validation and optional retries.
Package llmstep runs bounded typed LLM calls with deterministic caller validation and optional retries.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL