Skip to content

CLI Command Reference

Agento provides a fast, instant-boot CLI entrypoint with focused subcommands for launching sessions, managing codebase guardrails, scaffolding plugins, and handling updates.

Terminal window
agento [command] [options]

Launches the OpenTUI terminal interface in the current directory.

Terminal window
agento

If run inside a Git repository, Agento automatically binds to the project root and loads project-specific LINTO rules and configuration.


Scaffolds a .linto/ directory containing starter rule definitions and creates linto.d.ts for authoring type-safe programmatic rules.

Terminal window
# Scaffold .linto/ in the current repository root
agento linto init
# Scaffold .linto/ in a specific target directory
agento linto init ./packages/core

Scaffolds a new Agento plugin with TypeScript configuration, starter AI SDK tools, pre-flight checks, human approval gates, developer documentation (README.md), and AI coding assistant rules (AGENTS.md).

Terminal window
# Scaffold in ./agento-plugin-postgres/
agento plugin init postgres
# Scaffold with scoped npm name in a custom directory
agento plugin init @myorg/agento-plugin-db ./plugins/db

Output:

Creating Agento plugin: @myorg/agento-plugin-db in ./plugins/db...
Created:
+ package.json
+ tsconfig.json
+ .gitignore
+ README.md
+ AGENTS.md
+ src/index.ts
+ src/tools/example.ts
+ src/subsystems/example.ts

Checks the official release endpoint for binary updates.

Terminal window
# Check if an update is available
agento update
# Download and apply the update immediately
agento update --apply

Prints the current version of the installed Agento binary.

Terminal window
agento version

Displays the command-line help menu and available options.

Terminal window
agento --help