0.1.115 • Published 4 months ago

@qodo/gen v0.1.115

Weekly downloads
-
License
SEE LICENSE IN `L...
Repository
github
Last release
4 months ago

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 --mcp mode

Installation

To use Qodo CLI, you’ll need Node.js and npm installed.

Then run:

npm install -g @qodo/gen

Quick Start

1. Authenticate

qodo login

This 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 chat

You 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 init

The 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 failed

Run your agent with:

qodo my-command

When 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 --mcp

Commands

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 models

Configuration

  • 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.

0.1.115

4 months ago

0.1.114

4 months ago

0.1.113

4 months ago

0.1.112

4 months ago

0.1.110

4 months ago

0.1.109

4 months ago

0.1.108

4 months ago

0.1.107

4 months ago

0.1.106

4 months ago

0.1.105

4 months ago

0.1.104

4 months ago

0.1.103

4 months ago

0.1.102

4 months ago

0.1.101

4 months ago

0.1.100

4 months ago

0.1.99

4 months ago

0.1.98

4 months ago

0.1.97

4 months ago

0.1.96

4 months ago

0.1.95

4 months ago

0.1.94

4 months ago

0.1.93

4 months ago

0.1.92

4 months ago

0.1.91

4 months ago

0.1.90

4 months ago

0.1.89

4 months ago

0.1.88

4 months ago

0.1.86

4 months ago

0.1.85

4 months ago

0.1.84

4 months ago

0.1.83

4 months ago

0.1.82

4 months ago

0.1.81

4 months ago

0.1.79

4 months ago

0.1.78

4 months ago

0.1.77

4 months ago

0.1.76

4 months ago

0.1.75

5 months ago

0.1.74

5 months ago

0.1.73

5 months ago

0.1.72

5 months ago

0.1.71

5 months ago

0.1.70

5 months ago

0.1.69

5 months ago

0.1.68

5 months ago

0.1.67

5 months ago

0.1.66

5 months ago

0.1.65

5 months ago

0.1.64

5 months ago

0.1.63

5 months ago

0.1.62

5 months ago

0.1.61

5 months ago

0.1.60

5 months ago

0.1.59

5 months ago

0.1.58

5 months ago

0.1.56

5 months ago

0.1.55

5 months ago

0.1.54

5 months ago

0.1.51

5 months ago

0.1.50

5 months ago

0.1.49

5 months ago

0.1.48

5 months ago

0.1.47

5 months ago

0.1.46

5 months ago

0.1.45

5 months ago

0.1.44

5 months ago

0.1.43

5 months ago

0.1.42

5 months ago

0.1.41

5 months ago

0.1.39

5 months ago

0.1.38

5 months ago

0.1.37

5 months ago

0.1.36

5 months ago

0.1.35

5 months ago

0.1.34

5 months ago

0.1.33

5 months ago

0.1.31

5 months ago

0.1.30

5 months ago

0.1.29

5 months ago

0.1.28

5 months ago

0.1.27

5 months ago

0.1.26

5 months ago

0.1.25

5 months ago

0.1.24

5 months ago

0.1.23

5 months ago

0.1.22

5 months ago

0.1.20

5 months ago

0.1.18

5 months ago

0.1.17

5 months ago

0.1.16

5 months ago

0.1.15

5 months ago

0.1.14

5 months ago

0.1.13

5 months ago

0.1.12

5 months ago