Structs§
- Agent
Event - One ordered event emitted by an agent run.
- Agent
Events - The receiving half of an agent’s typed event stream.
- Agent
Handle - Weak child-agent capability for the driver that owns one tool runtime.
- Chat
GptAuth Status - Non-secret information about a stored
ChatGPTauthorization. - Chat
GptLogin - An in-progress authorization-code login using PKCE and a loopback callback.
- Custom
Tool Format - Internal
Message Metadata - Json
Schema - Open JSON Schema fragment used at the model/tool boundary.
- Json
Value - Arbitrary JSON retained for protocol fields whose schema is provider-defined.
- Local
Shell Exec Action - Mcp
- A configured family of MCP servers installed into
nanocodex_tools::Tools. - McpBuilder
- Builder for an MCP provider.
- McpServer
- One MCP server transport and its lifecycle limits.
- Nanocodex
- Cheap, cloneable command handle for an owned agent driver.
- Nanocodex
Builder - Builder for a running agent with deferred Responses service composition.
- Open
AiAuth - Cloneable
OpenAIauthorization shared by one agent family and its branches. - Output
Text Logprob - Output
Text TopLogprob - Prompt
- User input for one agent turn.
- Request
Profile - Stable request metadata and prefix shared by every operation in a session.
- Responses
- Responses transport configuration with standard or caller-supplied Tower service factory policy.
- Responses
Attempt - One logical Responses operation, including the complete input required for a safe retry.
- Responses
Builder - Builder for the standard Responses endpoints or a caller-composed service.
- Responses
Client - An owned Responses client over an arbitrary Tower service stack.
- Responses
Retry Policy - Responses
Service - Stateful WebSocket attempt service at the base of a Responses Tower stack.
- Responses
Service Error - Responses
Service Response - Tool
Context - Tool
Execution - Tools
- Declarative selection of the built-in tools installed for an agent.
- Tools
Builder - Builder for the built-in tool selection.
- Turn
- Completion handle for an accepted turn.
- Turn
Control - Cheap cloneable control capability for one accepted turn.
- Turn
Result - Final result of a completed turn.
- Usage
Enums§
- Agent
Event Kind - Stable event categories emitted by the agent runtime.
- Agent
Message Content - Chat
GptAuth Error - Failure while logging in, loading, persisting, or removing
ChatGPTcredentials. - Content
Item - Function
Output Body - Function
Output Content - Image
Detail - Item
Status - Local
Shell Action - Local
Shell Status - McpBuild
Error - Message
Phase - Message
Role - Nanocodex
Error - Error returned by the Nanocodex library boundary.
- Open
AiAuth Error - Error produced while resolving or refreshing
OpenAIcredentials. - Open
AiAuth Mode - Authentication mode for the single
OpenAIservice family supported by Nanocodex. - Output
Text Annotation - Prompt
Input - Ordered input for one agent turn.
- Reasoning
Content - Reasoning
Summary - Response
Item - A strongly typed conversation item sent to or received from the Responses API.
- Responses
Attempt Kind - Kind of Responses operation passed through the Tower service stack.
- Responses
Error - Errors produced by the
OpenAIResponses WebSocket transport. - Thinking
- Tool
Caller - Tool
Definition - Model-visible tool definition carried by Responses Lite input.
- Tool
Input - Canonical input presented to function and freeform tools.
- Tool
Input Error - Tool
Output Body - Tool
Output Content - Tools
Build Error - User
Input - One ordered user-supplied prompt item.
- WebSearch
Action
Constants§
- DEFAULT_
TOOL_ OUTPUT_ TOKENS - MODEL
- The single Responses model contract supported by this SDK.
Traits§
- Tool
- A model-visible tool installed in an agent’s heterogeneous tool registry.
- Tool
Schema - A type which can be described as a JSON Schema document.
Functions§
- chatgpt_
auth_ status - Inspect a stored
ChatGPTauthorization without exposing its tokens. - load_
chatgpt_ auth - Load a persisted
ChatGPTOAuth session as the shared authorization for an agent family. - logout_
chatgpt - Remove locally stored
ChatGPTcredentials. Missing files are treated as logged out.
Type Aliases§
- Default
Responses Service - Result
- Tool
Error - Error returned by an application-defined tool handler.
- Tool
Result - Result returned by
Tool::execute.
Attribute Macros§
- async_
trait - tool
- Defines a JSON function tool from an async Rust function.