# Third-party notices

mini agent is an independent Python teaching project. The tutorials preserve upstream project names and identifiers to identify their sources. These names are not this project's branding.

The repository's MIT license covers original code and tutorial content. Third-party excerpts retain their upstream licenses. Surrounding explanations and translations are part of this tutorial.

## pi

The tutorials discuss pi's file mutation queue, context compaction, and system prompts, and include TypeScript code and prompt excerpts.

- Upstream: https://github.com/badlogic/pi-mono
- Cited source locations include `packages/agent/src/harness/compaction/compaction.ts`.
- License: MIT, Copyright (c) 2025 Mario Zechner. The full notice is preserved in [licenses/pi-MIT.txt](licenses/pi-MIT.txt).
- Excerpts reflect the snapshots cited in the tutorial. Current upstream paths and behavior may differ.

## Codex

The tutorials include compaction prompt and related string excerpts attributed to Codex 0.156.0 and `core/src/compact.rs`. These are historical comparisons, not claims about the current release. Other source comparisons link to their respective upstream revisions.

- Upstream: https://github.com/openai/codex
- License: Apache License 2.0. The full license is preserved in [licenses/codex-Apache-2.0.txt](licenses/codex-Apache-2.0.txt).
- The upstream attribution notice is preserved in [licenses/codex-NOTICE.txt](licenses/codex-NOTICE.txt), including OpenAI's copyright notice and its Ratatui attribution.
- Upstream excerpts remain under their original license; the repository's MIT license does not supersede it.

## Other references

The tutorials link to OpenAI API documentation as a protocol reference. Syntax-highlighted HTML was generated using Pygments; this repository does not distribute the Pygments library. Running the agent requires only the Python standard library.
