@wityai/agents-cli
v2.3.0
Published
Command-line interface for using Wity Agents with context from terminal
Maintainers
Readme
Wity Agents CLI
Use Wity AI agents directly from your terminal. Chat interactively, get help with code or files, and create content using context from your computer.
Install
npm install -g @wityai/agents-cliOr use without installing:
npx @wityai/agents-cli loginQuick Start
# 1. Login once (global authentication)
wity login
# 2. Start using immediately
wity # Interactive chat (default profile)
wity --profile coder # Interactive chat (coder profile)
wity run "<your query>" # Quick run command
wity run "<your query>" --profile coder # Quick run command with profileUsage
Interactive Mode
wity # Use default profile
wity --profile coder # Use coder profileStarts an agentic chat session where you can ask questions about your code and files & have the agent assist you with any tasks. Each profile can have different settings and configurations.
Quick Run Mode
wity run "write a poem about the ocean featuring dolphins"
wity run "are there any unhandled errors in this folder?" --profile coder
wity run "write documentation fort this folder" --profile coderProfile Management
# Configure profiles with custom settings
wity config set --profile coder
# View profile settings
wity config get --profile coder
wity config get # View default profile
# Clear profile
wity config clear --profile old-profileOther Commands
wity --help # See all options
wity version # Show version infoProfiles
Profiles let you maintain different configurations for different use cases:
- Default: General purpose (used when no
--profilespecified) - Custom profiles: Any name you want (e.g.,
coder,writer,debug,work)
Each profile can have its own:
- Agent type and behavior
- API endpoint
- Output format (text, json, table)
- Verbosity settings
- Other custom configurations
Requirements
- Node.js >= 14.0.0
- Internet connection
License
MIT
