Serial port debug tool for humans and AI agents
Project description
ttypal
Serial port debug tool designed for both humans and AI agents.
Features
- Interactive terminal (like minicom, but better)
- Auto-logging with timestamps and rotation
- External command injection via Unix socket (for AI/scripts)
- ZMODEM file transfer over serial
- Record/replay serial sessions
- Board config management
- Claude Code skill for AI-driven serial debugging
Install
pip install ttypal-ai
Platform-specific setup:
Quick Start
# Interactive mode
ttypal
# Headless daemon (for AI automation)
ttypal-daemon start -b myboard
# Send commands from another process
ttypal-send --wait "# " "uname -a"
# Read recent serial output
ttypal-tail -n 50
Claude Code Integration
Clone this repo and open it with Claude Code — the /ttypal skill loads automatically from .claude/skills/.
cd /path/to/ttypal-ai
claude
# Then use /ttypal skill or just ask AI to operate the serial port
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ttypal_ai-0.2.0.tar.gz
(21.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ttypal_ai-0.2.0-py3-none-any.whl
(22.9 kB
view details)
File details
Details for the file ttypal_ai-0.2.0.tar.gz.
File metadata
- Download URL: ttypal_ai-0.2.0.tar.gz
- Upload date:
- Size: 21.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7deb31033b98e74811ed763091901ec9bc67dd68fc7f5e047f6757024e1158df
|
|
| MD5 |
b3f8c6e075f12131bb5d2958cf39bb4e
|
|
| BLAKE2b-256 |
6da21e7dfdb47f45d23b247d0de480feeed2d26ac53029996617c74789d617cb
|
File details
Details for the file ttypal_ai-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ttypal_ai-0.2.0-py3-none-any.whl
- Upload date:
- Size: 22.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1162d8fcfae407113a83805d093ff8ab3f6b25414058f18547ad0cf0b321a5e
|
|
| MD5 |
a295198f92458b09b2e60e3d8ccb3d8e
|
|
| BLAKE2b-256 |
68c239302d36a9ca251c290d24f4d395e22c64e345e82587e8ef32796075010d
|