Skip to main content

DebugTwin CLI

AI-powered firmware debugging assistant for embedded systems.

Installation

pip install debugtwin-cli

Quick Start

1. Get an API Key

  1. Go to DebugTwin Dashboard
  2. Sign in with Google
  3. Navigate to API Keys in the header
  4. Click Generate Key and copy it

2. Login

debugtwin login --key YOUR_API_KEY

3. Start Chatting

debugtwin chat

4. Analyze a Log File

debugtwin analyze your_firmware.log

Commands

Command Description
debugtwin login --key KEY Authenticate with your API key
debugtwin chat Start an interactive debugging session
debugtwin analyze FILE Analyze a firmware log file
debugtwin ask "question" Ask a quick question
debugtwin version Show version information
debugtwin configure --url URL Configure custom API URL (for self-hosted)

Example Session

$ debugtwin chat
🚀 Starting DebugTwin Copilot CLI...
🔌 Connecting to: https://web-production-5988.up.railway.app

🤖 Hello! How can I help you debug your firmware today?

You: I'm seeing a HardFault on my STM32F4
🤖 I'd be happy to help debug that HardFault! Can you share:
1. The crash log or register dump
2. What was happening when it occurred
...

Requirements

  • Python 3.9+
  • Internet connection (for API access)

License

MIT

Metadata

Release files for debugtwin-cli 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for debugtwin-cli 1.0.6
File Size Uploaded
debugtwin_cli-1.0.6.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for debugtwin-cli 1.0.6
File Interpreter ABI Platform
debugtwin_cli-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 13.7 kB

Release files / debugtwin_cli-1.0.6.tar.gz

Download URL debugtwin_cli-1.0.6.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
19ad6f28f38fecabbe25ce2a56f76ffeba4254bd2496d830b8dfc94e7843026c
BLAKE2b-256 checksum
How to use checksums
70567ccea3cda455ac83d8c953dd2daba6c1268858fb9408d48d15fc1b4d6daf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / debugtwin_cli-1.0.6-py3-none-any.whl

Download URL debugtwin_cli-1.0.6-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c29a259bf118761d7b0209e37e728857f67ad689b3004fe21b0bf8fec3265e28
BLAKE2b-256 checksum
How to use checksums
7243578bd4651bdd60ab9b563bb0a9768fed51f1754007ac7be3084bbe0c0bcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page