HarryR/z80ai

Z80-μLM is a 2-bit quantized language model small enough to run on an 8-bit Z80 processor. Train conversational models in Python, export them as CP/M .COM binaries, and chat with your vintage computer.

38
/ 100
Emerging

This project helps retrocomputing enthusiasts interact with their vintage Z80-based computers, like those running CP/M or ZX Spectrum, in a new way. It takes a small language model, trained on specific conversational data, and converts it into a tiny program that you can run directly on your old hardware or emulator. The result is a simple, character-by-character chat partner or an interactive game that has a distinct 'personality'.

1,049 stars.

Use this if you want to experience a novel form of 'AI' on classic 8-bit Z80 systems, creating a fun, quirky conversational agent or game that fits within severe memory and processing constraints.

Not ideal if you need a modern chatbot that understands complex sentences, tracks multi-turn conversations, or generates grammatically perfect, lengthy responses.

retrocomputing vintage-computers 8-bit-systems CP/M ZX-Spectrum
No License No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 5 / 25
Community 13 / 25

How are scores calculated?

Stars

1,049

Forks

44

Language

Python

License

Last pushed

Jan 22, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/HarryR/z80ai"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.