command
Version:
v0.0.0-...-8a574d8
Opens a new window with list of versions in this module.
Published: Jun 5, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Example 01: Minimal — one-shot prompt with an OpenAI-compatible provider.
Copy this file into a new Go project:
mkdir my-agent && cd my-agent
go mod init my-agent
cp main.go .
go mod tidy
OPENAI_API_KEY="sk-..." go run main.go
Source Files
¶
Click to show internal directories.
Click to hide internal directories.