@almyty/agents
v0.1.2
Published
List, run, and manage almyty agents from the command line
Readme
@almyty/agents
List, run, and manage almyty agents from the command line.
Quick start
$ npx @almyty/auth login
$ npx @almyty/agents list
$ npx @almyty/agents run my-agent --input '{"text": "hello"}' --watchCommands
| Command | Description |
|---------|-------------|
| list [--json] | List all agents in your organization |
| get <name\|id> | Show details for one agent |
| run <name\|id> [options] | Invoke a workflow or start an autonomous run |
| runs <name\|id> | List recent runs for an agent |
| cancel <name\|id> <runId> | Cancel an in-flight run |
<name|id> accepts an agent name (case-insensitive) or UUID.
Run options
| Flag | Description |
|------|-------------|
| --input '<json>' | Input payload (object for workflow, string or object for autonomous) |
| --watch | Stream steps as they arrive |
| --json | Print raw JSON output |
Environment variables
| Variable | Description |
|----------|-------------|
| ALMYTY_TOKEN | Auth token override |
| ALMYTY_URL | API URL override |
Authentication
Requires npx @almyty/auth login first. Reads credentials from ~/.almyty/credentials.json.
Docs
https://almyty.com/docs
License
BSL-1.1
