Chat in your terminal
Multi-turn coding conversations.
⌘ Ruby CLI Coding Agent
Kward is an extendable Ruby CLI coding agent that helps you understand your project, edit files, run commands, search the web, and automate workflows—right from your terminal.
Supports OpenAI, Anthropic, OpenRouter & more.
Multi-turn coding conversations.
With read-before-write guardrails.
Execute local commands safely.
Get live answers and inspect repos.
Trusted Ruby plugins for workflows.
Save, resume, clone, compact, export.
Install Kward from RubyGems and get started in seconds.
gem install kward
Then initialize the starter pack, if you want the defaults.
kward init
View full installation docs →
# Start an interactive chat
kward
# Show available commands and examples
kward help
# Sign in or save provider credentials
kward login
# Run one prompt and exit
kward "Explain this project"
# Use a specific working directory
kward --working-directory ~/code/project "Explain this project"
Open source, extensible, and ready for your workflows.