docs/en/cli/general.mdx
The following commands can be used in chat with the / prefix or in the terminal with the cow prefix (some are chat-only).
Show help information for all available commands.
/help
View current session and service status, including process info, model configuration, message count, and loaded skills.
/status
View or modify runtime configuration. Changes take effect immediately without restarting.
View all configurable items:
/config
View a single item:
/config model
Modify a config item:
/config model deepseek-v4-flash
Configurable items:
| Item | Description | Example |
|---|---|---|
model | AI model name | deepseek-v4-flash |
agent_max_context_tokens | Max context tokens | 40000 |
agent_max_context_turns | Max context memory turns | 30 |
agent_max_steps | Max decision steps per task | 15 |
enable_thinking | Enable deep thinking mode | true / false |
View current session context statistics, including message count and content length.
/context
Clear current session context:
/context clear
View recent service logs. Shows the last 20 lines by default, up to 50.
/logs
Specify line count:
/logs 50
Show the current CowAgent version.
/version