CLI for the Traylinx Agent Network - Create, validate, and publish agents
Project description
๐ Traylinx CLI
The command-line interface for the Traylinx Agent Network. Build, run, and share AI agents with Docker-powered simplicity.
Version: 0.2.1 | Python: 3.11+ | Status: Production-Ready
๐ Documentation Navigation
| Document | Description | Audience |
|---|---|---|
| ๐๏ธ Architecture | Plugin System & Command Structure | Architects / Developers |
| ๐ Command Reference | All CLI Commands | Developers |
| ๐ Setup Guide | Installation & Configuration | Users / DevOps |
Installation
Instant Execution (No Install)
Run without installing using uvx:
uvx traylinx-cli --help
Using pipx (Recommended)
pipx installs CLI tools in isolated environments:
pipx install traylinx-cli
Using Homebrew (macOS/Linux)
brew tap traylinx/traylinx
brew install traylinx
Using pip
pip install traylinx-cli
๐ก Short Alias: After installation, you can use
txas a shortcut:tx --help # Same as traylinx --help tx run # Same as traylinx run
Quick Start
# Create a new agent
traylinx init my-agent
cd my-agent
# Run locally with Docker
traylinx run
# View logs
traylinx logs
# Stop the agent
traylinx stop
๐ณ Docker-Powered Agent Commands
Run agents anywhere with zero configuration โ just Docker.
| Command | Description |
|---|---|
traylinx run |
๐ Start agent via Docker Compose |
traylinx stop |
โน๏ธ Stop running agent containers |
traylinx logs |
๐ Stream agent logs |
traylinx list |
๐ List all running agents |
Run Options
traylinx run # Run in background (detached)
traylinx run --no-detach # Run in foreground (see logs)
traylinx run --prod # Use production config (Postgres)
traylinx run --native # Skip Docker, use local Python
๐ฆ Publishing & Sharing Agents
Share your agents with anyone via GitHub Container Registry.
| Command | Description |
|---|---|
traylinx publish |
๐ฆ Build multi-arch image + push to GHCR |
traylinx pull <agent> |
โฌ๏ธ Download and run any published agent |
Publish Your Agent
cd my-agent
traylinx publish
# โ Building for linux/amd64,linux/arm64...
# โ Pushing to ghcr.io/traylinx/my-agent:1.0.0
# โ โ Published!
Run Any Agent
# The "Ollama experience" for agents
traylinx pull weather-agent
# โ Pulling from ghcr.io/traylinx/weather-agent:latest
# โ โ Agent running at http://localhost:8000
Core Commands
| Command | Description |
|---|---|
traylinx init <name> |
Create new agent project |
traylinx validate |
Validate traylinx-agent.yaml |
traylinx login |
Log in to your Traylinx account |
traylinx status |
Show CLI status and config |
traylinx --help |
Show all commands |
Configuration
Environment Variables
export TRAYLINX_ENV=dev # dev, staging, prod
export TRAYLINX_REGISTRY_URL=http://localhost:8000 # Override registry URL
export TRAYLINX_AGENT_KEY=my-agent # Your agent key
export TRAYLINX_SECRET_TOKEN=your-token # From Sentinel
Config File
Create ~/.traylinx/config.yaml:
registry_url: https://api.traylinx.com
credentials:
agent_key: your-agent-key
secret_token: your-secret-token
Architecture
traylinx/
โโโ cli.py # Main CLI entry point
โโโ commands/
โ โโโ init.py # Create projects
โ โโโ validate.py # Validate manifests
โ โโโ publish.py # Publish to catalog
โ โโโ docker_cmd.py # Docker-powered commands
โโโ utils/
โ โโโ docker.py # Docker detection + compose
โ โโโ registry.py # GHCR integration
โโโ api/
โ โโโ registry.py # API client
โโโ models/
โ โโโ manifest.py # Pydantic models
โโโ templates/ # Project templates
Development
# Install dev dependencies
uv sync
# Run tests
uv run pytest
# Run CLI locally
uv run traylinx --help
Requirements
- Python 3.11+ (for CLI)
- Docker (for
run,publish,pullcommands) - Docker Buildx (for multi-arch builds, optional)
License
MIT License - Traylinx ยฉ 2025
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
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
File details
Details for the file traylinx_cli-0.2.1.tar.gz.
File metadata
- Download URL: traylinx_cli-0.2.1.tar.gz
- Upload date:
- Size: 52.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7bd1e5dbbeddadb09750418751d4fd343dcdc4feb09df44095323152b4f0c2a
|
|
| MD5 |
08908a00638e8a6c28b36aa77b55d871
|
|
| BLAKE2b-256 |
bc9384ed0f3a267715b025b0c3b2c207aa26baa8d8a2a3c957024fa31a0f50c8
|
Provenance
The following attestation bundles were made for traylinx_cli-0.2.1.tar.gz:
Publisher:
release.yml on traylinx/traylinx-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
traylinx_cli-0.2.1.tar.gz -
Subject digest:
f7bd1e5dbbeddadb09750418751d4fd343dcdc4feb09df44095323152b4f0c2a - Sigstore transparency entry: 779529431
- Sigstore integration time:
-
Permalink:
traylinx/traylinx-cli@e966e6ef8ee0a62416f5637dc91d6b2bb8bf21dc -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/traylinx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e966e6ef8ee0a62416f5637dc91d6b2bb8bf21dc -
Trigger Event:
release
-
Statement type:
File details
Details for the file traylinx_cli-0.2.1-py3-none-any.whl.
File metadata
- Download URL: traylinx_cli-0.2.1-py3-none-any.whl
- Upload date:
- Size: 60.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce5ea48669a4d2c2ee7f100d171e984ed3e9d8c92c8cef49bd65c18a11504e01
|
|
| MD5 |
009a2b2b320ff1a5e537f2c7052d0d5e
|
|
| BLAKE2b-256 |
50fd7c7808551f8fce51c927b6ca8093c8ff61023b6c18fc14f8b7611f2ff647
|
Provenance
The following attestation bundles were made for traylinx_cli-0.2.1-py3-none-any.whl:
Publisher:
release.yml on traylinx/traylinx-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
traylinx_cli-0.2.1-py3-none-any.whl -
Subject digest:
ce5ea48669a4d2c2ee7f100d171e984ed3e9d8c92c8cef49bd65c18a11504e01 - Sigstore transparency entry: 779529434
- Sigstore integration time:
-
Permalink:
traylinx/traylinx-cli@e966e6ef8ee0a62416f5637dc91d6b2bb8bf21dc -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/traylinx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e966e6ef8ee0a62416f5637dc91d6b2bb8bf21dc -
Trigger Event:
release
-
Statement type: