Incursa.OpenAI.Codex 1.0.17

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Incursa.OpenAI.Codex --version 1.0.17
                    
NuGet\Install-Package Incursa.OpenAI.Codex -Version 1.0.17
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Incursa.OpenAI.Codex" Version="1.0.17" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Incursa.OpenAI.Codex" Version="1.0.17" />
                    
Directory.Packages.props
<PackageReference Include="Incursa.OpenAI.Codex" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Incursa.OpenAI.Codex --version 1.0.17
                    
#r "nuget: Incursa.OpenAI.Codex, 1.0.17"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Incursa.OpenAI.Codex@1.0.17
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Incursa.OpenAI.Codex&version=1.0.17
                    
Install as a Cake Addin
#tool nuget:?package=Incursa.OpenAI.Codex&version=1.0.17
                    
Install as a Cake Tool

Incursa.OpenAI.Codex

Core async-only Codex runtime for .NET.

This package is DI-agnostic and exposes the runtime-facing API:

  • CodexClient
  • CodexThread
  • CodexTurn
  • typed options, event, item, result, and exception models

The API supports both backend modes:

  • AppServer (codex app-server) for full JSON-RPC surface and turn controls
  • Exec (codex exec --experimental-json) for CLI-backed run flows

Testing

  • The repository suite validates the core package through dotnet test Incursa.OpenAI.Codex.slnx -v minimal.
  • Live smoke tests are opt-in with CODEX_LIVE_TESTS=1.
  • Public API drift is guarded by tests/Incursa.OpenAI.Codex.Tests/PublicApiSnapshotTests.cs and the shipped baseline files.

Sample usage

Use the runnable sample for quickstart, streaming, structured output, image input, error handling, and turn controls:

dotnet run --project samples/Incursa.OpenAI.Codex.Sample/Incursa.OpenAI.Codex.Sample.csproj -- --mode quickstart --prompt "Summarize this repository."

The sample supports both --backend app-server and --backend exec.

Runtime version note

The repository is currently validated against codex-cli 0.116.0:

codex --version

License

Apache 2.0. See the repository root LICENSE.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Incursa.OpenAI.Codex:

Package Downloads
Incursa.OpenAI.Codex.Extensions

Optional dependency-injection and host integration extensions for Incursa.OpenAI.Codex, including IServiceCollection registration and configuration binding.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.3.0 179 5/25/2026
2.2.0 106 5/25/2026
2.1.0 175 5/23/2026
2.0.0 135 5/13/2026
1.3.0 201 5/12/2026
1.2.2 522 5/10/2026
1.2.1 220 5/10/2026
1.2.0 112 5/10/2026
1.1.0 795 5/6/2026
1.0.20 213 4/22/2026
1.0.19 117 4/16/2026
1.0.18 259 3/25/2026
1.0.17 111 3/24/2026