AgentQL CLI
The AgentQL CLI (Command Line Interface) is a command-line tool designed to assist you in using the AgentQL SDK for both Python and JavaScript. It can help you set up your development environment.
Installation
Prerequisites
Node.js 18 or higherInstall AgentQL CLI
From your terminal, run the following command to install the AgentQL CLI:
Available Commands
agentql
Show a list of available commands along with their description.
agentql init
Set up the AgentQL development environment by installing the required dependencies for AgentQL. When using Python, make sure you have activated your virtual environment for the necessary dependencies to be installed in the correct directory.
It also provides an option to download an example script into the current directory.
agentql new-script
Creates a template script in the current directory. Users can choose between asynchronous and synchronous scripts to download.
Options
Option | Description |
---|---|
-h, --help | Show all available options. |
-t, --type | Specify whether to download synchronous or asynchronous templates. Available options are sync or async |