Skip to main content
The NOMOS CLI provides powerful commands to bootstrap, develop, and deploy your agents.

Commands Overview

nomos init

Create a new agent project

nomos run

Run agent in development mode

nomos train

Interactively refine agent decisions

nomos serve

Deploy agent with Docker

nomos test

Run agent tests

nomos schema

Export JSON schema for your config

Quick Help

nomos --version

Initialize a New Agent

Create a new agent project interactively:
nomos init

Options

OptionShortDescriptionDefault
--directory-dProject directory./my-nomos-agent
--name-nAgent name-
--template-tTemplate to usebasic, conversational, workflow
--generate-gGenerate agent configuration using AI-
--usecase-uUse case description or path to text file-
--tools-Comma-separated list of available tools-

Examples

# Basic interactive setup
nomos init

Development Mode

Run your agent in an interactive development mode.
nomos run

Options

OptionShortDescriptionDefault
--config-cPath to agent configuration fileconfig.agent.yaml
--tools-tPython files containing tool definitions (can be used multiple times)-
--verbose-vEnable verbose loggingFalse

Training Mode

Run your agent in an interactive training mode to refine its decisions.
nomos train

Options

OptionShortDescriptionDefault
--config-cPath to agent configuration fileconfig.agent.yaml
--tools-tPython files containing tool definitions (can be used multiple times)-

Production Deployment

Serve your agent as a production-ready API.
nomos serve

Options

OptionShortDescriptionDefault
--config-cPath to agent configuration fileconfig.agent.yaml
--tools-tPython files containing tool definitions (can be used multiple times)-
--port-pPort to bind the server8000
--workers-wNumber of uvicorn workers1

Testing

Run tests for your agent.
nomos test

Options

OptionShortDescriptionDefault
--config-cPath to YAML test configuration filetests.agent.yaml
--coverageGenerate coverage reportTrue
pytest_argsArguments to pass to pytest-

Generate YAML Schema

Export the JSON schema for your agent configuration.
nomos schema

Options

OptionShortDescriptionDefault
--output-oWrite JSON schema to file instead of stdout-