Skip to main content

AI-agent-friendly tmux wrapper: unified local + remote sessions, single-pane sessions, safe primitives.

Project description

aimux

AI-agent-friendly tmux wrapper. See design.md for the full specification.

Install

pip install -e .

Quick start

# create a local session
aimux new --name=dev

# send a command, wait, then read the last 200 lines
aimux send-keys local/dev -- "make test" Enter
aimux wait-last-command-complete local/dev --timeout=5m --print-lines=200

# list everything
aimux ls

# upload files or directories to an SSH host via sftp
aimux send_files worker /tmp/upload ./dist ./README.md --gitignore
aimux get_files worker ./downloads /tmp/upload/README.md /tmp/upload/dist

# done
aimux kill local/dev

Remote sessions are local tmux sessions whose first pane runs ssh <host>:

aimux remote add --host=10.0.1.5 --port=22 --user=deploy --name=worker
aimux new --remote=worker --name=task-1

Tests

python3 -m pytest

For the issue server root@localhost:8824, see the human-readable manual test in tests/manual_localhost_8824_remote.md. To verify a remote session by listing files on the target host, see tests/remote_test.md.

Command surface: session commands, file transfer commands, and remote host commands. See design.md.

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

aimux-0.1.1.tar.gz (41.1 kB view details)

Uploaded Source

Built Distribution

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

aimux-0.1.1-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file aimux-0.1.1.tar.gz.

File metadata

  • Download URL: aimux-0.1.1.tar.gz
  • Upload date:
  • Size: 41.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for aimux-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f6f10565691f3dca29013d19ef4512417c94b08d9c7a5f206c8f201f4b6f9e6d
MD5 b5d718ddda0a9e9a43b3e79b2b1e8889
BLAKE2b-256 0c18c77bde38f6e4fbee3042ac329dc8316e4dc33bcf0ce9ae3dac537167eb94

See more details on using hashes here.

File details

Details for the file aimux-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: aimux-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for aimux-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0089cbcdaa069792336642a5808d9dc202d51e020dea806194cc00d618493b5c
MD5 5941a8b0afda6229ac9e7394a3f54360
BLAKE2b-256 5732ae22fda93ade623a25d30d10ab1ca4c13791f9486a3f63a919ac1a7582e8

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