π Stargate P2P : Full network commands (tx connect, tx discover, tx call)
π― Agent Skills : Extend CLI with reusable specialized knowledge and tools
π§ Cortex Intelligence : Memory and session management plugin
π Session Audit : Git-aware logging with tx sessions
π NAT Traversal : Automatic relay for agents behind NAT
One-Line Install (Recommended)
curl -sSL https://get.traylinx.com/install.sh | sh
brew tap traylinx/traylinx && brew install traylinx
π‘ Short Alias : Use tx as a shortcut for traylinx
# Create a new agent
tx init my-agent && cd my-agent
# Run locally with Docker
tx run
# Connect to P2P network
tx connect
# Discover other agents
tx discover
# Call another agent
tx call < peer_id> ping
Command
Description
tx init <name>
Create new agent project
tx run
π Start agent via Docker Compose
tx stop
βΉοΈ Stop running containers
tx logs
π Stream agent logs
tx list
π List running agents
Publishing & Distribution
Command
Description
tx publish
π¦ Build + push to GHCR
tx pull <agent>
β¬οΈ Download and run any agent
tx validate
β
Check traylinx-agent.yaml
π Stargate Network (v0.3.0)
Command
Description
tx connect
Connect to P2P network
tx disconnect
Disconnect from network
tx network
Show network status + NAT info
tx discover
Find agents by capability
tx call <peer> <action>
Execute A2A call
tx announce
Broadcast presence
tx listen
Debug: listen for messages
tx stargate identity
Manage P2P identity
tx stargate certify
Get Sentinel certificate
π§ Cortex Intelligence (v0.3.0)
Command
Description
tx cortex connect <url>
Connect to Cortex instance
tx cortex status
Show connection status
tx cortex enable/disable
Toggle chat routing
tx cortex memory search
Search memory
tx cortex sessions list
List chat sessions
π Session Audit (v0.3.0)
Command
Description
tx sessions list
List saved sessions
tx sessions view <id>
View session details
π Security & Keys (v0.3.0)
Command
Description
tx keys create
Create new API key
tx keys list
List API keys
tx keys export
Export keys for switchAILocal
tx keys show/delete
Manage stored keys
π― Skills Management (v0.3.0)
Command
Description
tx skills list
π― List discovered skills
tx skills info <name>
βΉοΈ Show skill details
tx skills init <name>
π Scaffold a new skill
tx skills validate <path>
β
Validate skill spec
tx skills package <path>
π¦ Create .skill file
tx skills install <source>
β¬οΈ Install a skill
Command
Description
tx chat
π¬ Interactive chat with agents
tx dashboard
π Live status dashboard
export TRAYLINX_ENV=prod # dev, staging, prod
export STARGATE_NATS_URL=nats://... # P2P server
export CORTEX_URL=https://cortex.example # Cortex endpoint
Create ~/.traylinx/config.yaml:
registry_url : https://api.traylinx.com
credentials :
agent_key : your-agent-key
secret_token : your-secret-token
cortex :
url : https://cortex.example.com
enabled : true
traylinx/
βββ cli.py # Main entry point
βββ commands/
β βββ init.py # Create projects
β βββ docker_cmd.py # run, stop, logs, list
β βββ stargate.py # P2P network commands
β βββ cortex_cmd.py # Intelligence plugin
β βββ sessions_cmd.py # Session audit
βββ tui/
β βββ chat.py # Interactive chat
β βββ status.py # Dashboard
βββ utils/
βββ session_logger.py # Audit logging
βββ registry.py # GHCR integration
# Install dev dependencies
uv sync
# Run tests
uv run pytest
# Run CLI locally
uv run tx --help
Component
Technology
CLI Framework
Typer
TUI
Textual
Validation
Pydantic
P2P
traylinx-stargate
Containers
Docker
MIT License - Traylinx Β© 2025