# Third-party notices

## OpenAI Codex

The `apply_patch` grammar, parser behavior, fuzzy matching, mutation semantics, result formatting, diff rendering, standalone image-generation behavior, standalone web-search behavior, tool schemas, and compatibility scenarios in this package are adapted for Pi from the public OpenAI Codex implementation.

OpenAI Codex, Copyright 2025 OpenAI

OpenAI Codex is licensed under the Apache License, Version 2.0. A copy is included at [`LICENSES/Apache-2.0.txt`](LICENSES/Apache-2.0.txt).

Source: <https://github.com/openai/codex>

## Pi AI

Selected OpenAI Codex transport, Responses stream processing, and history serialization methods are adapted from `@earendil-works/pi-ai`.

Pi AI, Copyright (c) 2025 Mario Zechner

Pi AI is licensed under the MIT License. A copy is included at [`LICENSES/pi-ai-MIT.txt`](LICENSES/pi-ai-MIT.txt).

Source: <https://github.com/earendil-works/pi/tree/main/packages/ai>
