@qodo/gen v0.1.115
Qodo Gen CLI
The Qodo Gen CLI lets you interact with the Qodo platform from your terminal for automation, advanced AI workflows, or CI/CD integration.
Use tools like Qodo Gen, Qodo Merge and Qodo Aware directly via the command line.
Features
- Run interactive AI agents from your terminal
- Choose specific AI models on the fly
- Integrate with your own tools and schemas
- Serve agents over HTTP with
--mcpmode
Installation
To use Qodo CLI, you’ll need Node.js and npm installed.
Then run:
npm install -g @qodo/genQuick Start
1. Authenticate
qodo loginThis will open a browser for you to authenticate.
After logging in, you'll receive an API key to use locally or in CI. Your API key will be saved in the .qodo folder in your home directory, and also displayed for your reference.
2. Run Qodo Gen Chat - Interactive AI Chat
qodo chatYou can use all Qodo tools in natural language:
Use Qodo Merge to summarize my latest git changes.Exit anytime with Escape.
3. Create your own agent
Create an agent.toml:
qodo initThe agent.toml file is used to configure your own agent. Learn more on how to do this in Qodo’s documentation platform.
For example:
description = "" # a description of what your agent does
instructions = """ """ # a prompt for the AI models explaining the required behavior
arguments = [{}, {}...] # a list of possible arguments that can be given to the agent
mcpServers = """ """ # list of MCP servers used by the agent
available_tools = [] # list of MCP server names
execution_strategy = "act" # plan lets the agent think through a multi-step strategy, act executes actions immediately
output_schema = """ {} """ # valid json of the wanted agent output
exit_expression = "include_tests" # for CI runs, a condition used to determine if the agent run succeeded or failedRun your agent with:
qodo my-commandWhen you run an agent with the --mcp flag, it starts a local HTTP server on port 3000. This turns the agent into a standalone AI tool that can receive and respond to requests over HTTP:
qodo my-command --mcpCommands
qodo --help # See all commands
qodo login # Authenticate
qodo chat # Start interactive agent session (Qodo Gen)
qodo init # Generate a customizable agent template
qodo <command> # Run your configured agent
qodo mcp-list # List all available tools
qodo models # List supported AI modelsConfiguration
mcp.json: lists all the shared tools across agents (override path with--mcpfile)agent.toml: defines an agent, with tools and output schemas (override path with--agentfile)
CI Integration
You can copy the API key shown after login into your CI/CD secrets. The key is tied to your user and subject to the same limits.
For full documentation, visit the Qodo documentation website.
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago