Complete guide to using the NOMOS CLI for developing and deploying agents
The NOMOS CLI provides powerful commands to bootstrap, develop, and deploy your agents.
Create a new agent project
Run agent in development mode
Interactively refine agent decisions
Deploy agent with Docker
Run agent tests
Export JSON schema for your config
Create a new agent project interactively:
Option | Short | Description | Default |
---|---|---|---|
--directory | -d | Project directory | ./my-nomos-agent |
--name | -n | Agent name | - |
--template | -t | Template to use | basic , conversational , workflow |
--generate | -g | Generate agent configuration using AI | - |
--usecase | -u | Use case description or path to text file | - |
--tools | - | Comma-separated list of available tools | - |
Run your agent in an interactive development mode.
Option | Short | Description | Default |
---|---|---|---|
--config | -c | Path to agent configuration file | config.agent.yaml |
--tools | -t | Python files containing tool definitions (can be used multiple times) | - |
--verbose | -v | Enable verbose logging | False |
Run your agent in an interactive training mode to refine its decisions.
Option | Short | Description | Default |
---|---|---|---|
--config | -c | Path to agent configuration file | config.agent.yaml |
--tools | -t | Python files containing tool definitions (can be used multiple times) | - |
Serve your agent as a production-ready API.
Option | Short | Description | Default |
---|---|---|---|
--config | -c | Path to agent configuration file | config.agent.yaml |
--tools | -t | Python files containing tool definitions (can be used multiple times) | - |
--port | -p | Port to bind the server | 8000 |
--workers | -w | Number of uvicorn workers | 1 |
Run tests for your agent.
Option | Short | Description | Default |
---|---|---|---|
--config | -c | Path to YAML test configuration file | tests.agent.yaml |
--coverage | Generate coverage report | True | |
pytest_args | Arguments to pass to pytest | - |
Export the JSON schema for your agent configuration.
Option | Short | Description | Default |
---|---|---|---|
--output | -o | Write JSON schema to file instead of stdout | - |