@viatorisai/cli
v0.1.0
Published
Viatoris CLI — trust infrastructure for AI agents
Maintainers
Readme
@viatorisai/cli
Viatoris CLI — experience the full Agent Trust Protocol trust chain in under 2 minutes.
Quick start
npx @viatorisai/cli initThis walks you through:
- Authenticate — create an account or use an existing API key
- Create agent — generate an Ed25519 key pair and register an agent passport
- Sign receipt — build, sign (EdDSA/JWS), and submit an action receipt
- View results — see your agent and receipt on the dashboard
Commands
| Command | Description |
|---------|-------------|
| viatoris init | Full onboarding: authenticate, create agent, sign and submit a receipt |
| viatoris demo | Sign and submit another receipt using your saved agent |
| viatoris status | Show current configuration and agent info |
| viatoris logout | Clear saved credentials and agent keys |
Authentication
Two modes are supported:
- Create account — provide email, password, and organization name. An API key is returned automatically.
- API key — paste an existing key from the Viatoris Dashboard.
Storage
Credentials and keys are stored locally:
~/.viatoris/config.json— API key, org DID, agent DID (file mode0600)~/.viatoris/keys/— agent Ed25519 private keys (directory mode0700, key files mode0600)
Running viatoris logout clears both config and all saved keys.
What is Viatoris?
Viatoris provides trust infrastructure for AI agents — verifiable identity (passports), signed action receipts, and computed reputation scores. Learn more at viatoris.ai.
