Skip to main content

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)
  • Record/replay serial sessions
  • Board config management
  • Claude Code plugin for AI-driven serial debugging

Install

pip install ttypal

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

claude --plugin-dir /path/to/ttypal
# Then use /ttypal skill or just ask AI to operate the serial port

License

MIT

Project details


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.1.0.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ttypal_ai-0.1.0-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file ttypal_ai-0.1.0.tar.gz.

File metadata

  • Download URL: ttypal_ai-0.1.0.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for ttypal_ai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0bb7cb44f4a70244d77e02c58d59a32c8e3afeb62e5d63026618d3f9db4353f3
MD5 9ea83dc509c98fc476f8109b915d6b1b
BLAKE2b-256 909e8223c0d69e7fb4e4a5fcc399bc81fad789e8c277fe0acb91a69de634e09a

See more details on using hashes here.

File details

Details for the file ttypal_ai-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ttypal_ai-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for ttypal_ai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af943aef1e2308edf0bbb757390d84afe88d6c1356b8aef9f912178d36015532
MD5 6fcda8833f25e0d5fc7ed0a1ebc1172d
BLAKE2b-256 f7fe69ed806635601fa81decd607bcb0f416a36237b28a492bbc06b86cde8946

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page