Skip to main content

A textual-based terminal user interface application

Project description

autobots-tui

A terminal-based interface for the Autobots AI automation platform. Built with Textual and Typer, it provides a chat-style TUI and command-line access to manage and interact with Autobots actions, action graphs, and their runs.

Installation

pip install autobots-tui

This installs two commands:

  • autobots — Main entry point for all commands
  • autobots-tui — Shortcut to launch the TUI directly

Requires Python 3.13+.

Quick Start

# Login
autobots login

# Launch the interactive TUI
autobots tui

# Or use commands directly
autobots actions list
autobots runs list --status processing

Commands

autobots login                            Authenticate with email and password
autobots whoami                           Check authentication status
autobots tui                              Launch the interactive TUI

autobots actions list [--name N]          List actions
autobots actions get <id>                 Get action details

autobots runs list [--action-id ID]       List action runs (results)
autobots runs get <id>                    Get run details

autobots graphs list [--name N]           List action graphs
autobots graphs get <id>                  Get graph details

autobots graph-runs list [--graph-id ID]  List graph runs (results)
autobots graph-runs get <id>              Get graph run details

All list commands support --limit and --offset for pagination. Runs can be filtered by --status (processing, success, error, stuck, waiting).

Interactive TUI

Launch with autobots tui or autobots-tui. The TUI provides a full-screen chat interface for conversing with Autobots actions in real time.

  • Chat interface — Send messages to actions and receive streamed responses via SSE (Server-Sent Events)
  • Session management — Switch actions, continue existing runs, or start new conversations
  • Slash commands — All commands above work inside the TUI chat with a / prefix
  • Authentication — Login screen with email/password, automatic token refresh, secure local token storage
  • Theming — Dark/light mode toggle (Ctrl+D)
  • Keyboard shortcutsCtrl+C quit, Ctrl+L logout, Ctrl+D toggle theme

Slash Commands

Inside the TUI chat:

/use <action_id>              Switch to a different action
/continue <run_id>            Continue an existing conversation run
/new                          Start a new conversation (resets to default action)
/status                       Show current action and run IDs

/actions list                 List all actions
/runs list --status success   Filter runs by status
/graphs get <id>              View graph details
/help                         Show all available commands

Streaming

Actions execute asynchronously. The TUI streams status updates in real time via SSE and automatically fetches the final result on completion. Falls back to polling if the SSE stream ends without delivering a result.

Configuration

Stored at ~/.autobots-tui/config.json:

{
  "backend_url": "https://api.example.com",
  "log_level": "INFO",
  "theme": "dark",
  "refresh_interval": 5
}

Logs are written to ~/.autobots-tui/autobots_tui.log.

Development

git clone https://github.com/jetoslabs/autobots-tui.git
cd autobots-tui
uv sync
uv run autobots tui

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

autobots_tui-0.0.2.tar.gz (127.6 kB view details)

Uploaded Source

Built Distribution

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

autobots_tui-0.0.2-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file autobots_tui-0.0.2.tar.gz.

File metadata

  • Download URL: autobots_tui-0.0.2.tar.gz
  • Upload date:
  • Size: 127.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for autobots_tui-0.0.2.tar.gz
Algorithm Hash digest
SHA256 85007ddd548ee70fc658c604210d12773a04c2e0a80bb63509ff406f3d951f5b
MD5 f548495d0d61134c9f391bebd836807d
BLAKE2b-256 8fd7c0117f2131d58592844d6dc29768866bb878481b782268ba2839b320ea70

See more details on using hashes here.

File details

Details for the file autobots_tui-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: autobots_tui-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for autobots_tui-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9cb0a0b69d76693701512ae57d8dab527bba4b3ea4dfe4199641b18bfeeed0bc
MD5 ba9b764833a95ed56df7495bf5443854
BLAKE2b-256 a97565e9f75e15dfc30bdb05220c34adad1d4456f0db8cf228615e078cd4d827

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