Applied AI Engineering

Companion code

Every laboratory in the series ships as runnable code. Each lab runs from a clean checkout, pins its dependencies, and is tested in continuous integration.

What is in it

  • One directory per chapter, per volume
  • Datasets and shared fixtures
  • Reference solutions
  • A test suite per lab

Requirements

Python 3.12. Dependencies are pinned per lab. Labs that call a hosted model read the API key from the environment and never from a checked-in file.

Licence

Companion lab code is licensed under the MIT License. The manuscript itself is all rights reserved, © 2026 Nexoma Labs LLC.

Get started

git clone https://github.com/nexomalabs/prompt-engineering-resources.git
cd prompt-engineering-resources
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
pytest

Found a problem in the code? Open an issue in the repository. Problems in the printed text go to errata instead.