@ogment-ai/cli
v0.11.0
Published
Ogment CLI
Downloads
529
Readme
Ogment CLI
Agent-first CLI for discovering servers and running Codemode search/execute flows against Ogment-backed tools.
- Package:
@ogment-ai/cli - Binary:
ogment - Homepage: https://ogment.ai/cli
Install
npm install -g @ogment-ai/cliQuick Start
# 1) Authenticate this CLI installation
ogment login
# 2) Discover servers
ogment catalog
# 3) Inspect tool definitions on one server
ogment search <server-id> --code 'return input'
# 4) Execute Codemode JavaScript
ogment execute <server-id> --code 'return input' --input '{}'Common Commands
ogment login
ogment logout
ogment logout --reset
ogment catalog
ogment search <server-id> --code 'return input'
ogment execute <server-id> --code 'return input' --input '{}'
ogment statusGlobal Options
--api-key <key>API key override--debugInclude debug metadata and diagnostics in JSON output--quietEmit minimal JSON output (ok+data/error)
Environment Variables
NO_UPDATE_NOTIFIER(optional: bypass the enforced CLI update gate for compatibility with common Node CLI tooling)OGMENT_API_KEY(optional API key fallback)OGMENT_NO_UPDATE_CHECK(optional: set to1to bypass the enforced CLI update gate)
License
MIT
