Getting started - Teneo CLI x Anti Gravity
Install Teneo CLI withAnti Gravity
Use Google Anti Gravity's built-in AI agent to install the Teneo CLI in under ten minutes.
Works on Windows, Mac (Apple Silicon), and Linux.
$ npx @teneo-protocol/cliinstalling teneo cli...✓ daemon ready✓ wallet generated✓ 760+ agents available$ teneo agents listNAME STATUS PRICEgas-sniper-agent Online $0.005/querycoinmarketcap-agent Online $0.0004/queryinstagram Online $0.0002/queryx-agent-enterprise-v2 Online $0.0005/querygoogle-maps Online $0.02/query... 755 more
The Teneo CLI installed and listing live agents on the network.
Time to complete
~10 min
Goal
Teneo CLI installed, ready to run
Requirements
Anti Gravity + Node.js
Difficulty Level
Beginner
This tutorial uses Google Anti Gravity to install the Teneo CLI. Anti Gravity is an agent-first IDE built on VS Code, powered by Gemini 3. You can ask its AI agent to run the install for you, or run one command yourself in the built-in terminal.
Anti Gravity is available for Windows, macOS (Apple Silicon only), and Linux. If you already have it installed, skip straight to Step 2.
In this tutorial
What you get
- Access to 50+ Teneo agents from inside Anti Gravity's terminal
- A CLI you can call from Anti Gravity's terminal pane or any other shell on your machine
- A selection of free agents you can query right away, no wallet funding needed
Anti Gravity (free public preview), Node.js 18 or later. No prior experience with blockchain or AI agents required.
Anti Gravity requires Apple Silicon (M1 or later). Intel Mac (x86) is not supported. Windows and Linux users have no additional hardware restrictions.
Resources
Docs, repos, and related tutorials
Everything referenced in this tutorial, plus a few adjacent paths if Anti Gravity isn't your preferred tool.
Resources
Docs, repos, and related tutorials
Related tutorials
Requirements
- Anti Gravity (free public preview at antigravity.google/download)
- macOS 12 Monterey or later, Apple Silicon only (M1/M2/M3/M4)
- Windows 10 64-bit, or Linux with glibc 2.28+
- Node.js 18 or later (
node --versionto check) - (Later) a wallet + USDC for paid agent queries
Troubleshooting
- If
npxis not found, Node.js is not installed or not on your PATH - If the terminal pane doesn't open, make sure you're in a local workspace (cloud workspaces don't expose a terminal)
- If the install stalls, check your internet connection and re-run the command
- Never paste your seed phrase into Anti Gravity's agent chat or any other interface
Step 1: Anti Gravity
Install Anti Gravity
Download the app from antigravity.google/download. Skip this step if you already have it.
Step 1: Anti Gravity
Install Anti Gravity
Action 1: Download Anti Gravity
Go to antigravity.google/download and download the installer for your OS. Anti Gravity is free and currently in public preview.
The Anti Gravity download page. Select your OS.
Action 2: Run the installer and sign in
Open the downloaded installer and follow the prompts. Anti Gravity will notify you when updates are available, so you don't need to manage version upgrades manually.
On first launch, sign in with a Google account. The free public preview tier is enough for this tutorial.
Action 3: Verify Node.js is installed
The Teneo CLI installs via npx, which ships with Node.js. Open any terminal and run:
node --versionYou need version 18 or later (for example v20.11.0). If Node.js is not installed, download it from nodejs.org before continuing.
Step 2: Workspace folder
Open a workspace folder
Create a local folder and open it directly in Anti Gravity.
Step 2: Workspace folder
Open a workspace folder
Anti Gravity organises work around workspaces, each of which maps to a local folder. The terminal pane and any agent-run commands are scoped to whichever workspace is active. Before installing the Teneo CLI, create a dedicated folder and open it in Anti Gravity.
Action 1: Create a folder on your machine
Create a new folder anywhere you can find it again. A name like teneo-cli or Teneo CLI works fine.
Creating a local folder in Windows Explorer
Creating a local folder in macOS Finder
Action 2: Open the folder in Anti Gravity
Launch Anti Gravity. Go to File > Open Folder and select the folder you just created. Anti Gravity will open it as your active workspace.
File > Open Folder opens a system file picker. Select your Teneo CLI folder.
Step 3: Install CLI
Install the Teneo CLI
Ask Anti Gravity's agent to run the install, or open the terminal and run it yourself.
Step 3: Install CLI
Install the Teneo CLI
Action 1: Start a conversation in your workspace
With your workspace open, start a new conversation. Select Start Conversation or hit the + button at the top of the window.
Starting a new conversation inside the Teneo CLI workspace.
Action 2: Send the install prompt
Paste the following prompt into the conversation and send it. The agent will run the install command in the editor's terminal and report back when done.
install this: npx @teneo-protocol/cliAction 3: Wait for the install to complete
The agent downloads the CLI bundle, sets up a background daemon, and generates a wallet. This typically takes under a minute. The agent will confirm in the conversation when the install is finished.
The agent confirms the install is complete and lists the available agents.
Done. You can now query agents.
The Teneo CLI is installed in your workspace folder. You now have access to the decentralised network of AI agents that make up Teneo Protocol.
Each agent is a live AI endpoint. You send a query in natural language, the CLI routes it to the relevant data sources, and you get structured output back.
Agent pricing is set per query by the agent builder and paid in USDC on PEAQ, Base, or Avalanche via x402 micropayments. Try a free agent first before funding your wallet.
In Anti Gravity, press CmdJ (Mac) or CtrlJ (Windows/Linux) to open the terminal pane at the bottom of the window. Make sure your workspace folder is selected, then run
npx @teneo-protocol/cli directly. This works for local workspaces only.Reference
What got installed
When you run npx @teneo-protocol/cli, these files land in teneo-skill/ inside your workspace folder.
Reference
What got installed
| File | Purpose |
|---|---|
| teneo | Bash wrapper script (4 lines). Sets a 24h daemon idle timeout and runs teneo.mjs via Node |
| teneo.mjs | The actual CLI (~1.4 MB JavaScript bundle) |
| daemon.mjs | Background WebSocket daemon (~3.9 MB) that maintains a persistent connection to the Teneo backend |
| greetings.install.md | The greeting text shown during install |
Important
Before you start querying
Wallet setup, funding, and safety.
Important
Before you start querying
What to know
- Installing the CLI auto-generates a wallet for you
- You can fund the wallet to interact with pay-per-query agents via x402 micropayments (USDC on PEAQ, Base, or Avalanche)
- Some agents are free to query. No funding needed to start exploring
- Fund your wallet in small increments to cover query fees. There is no minimum.
Never share your seed phrase in Anti Gravity's agent chat, in any terminal session, or in any text file inside your workspace. This wallet holds real funds. Treat it like cash. Teneo cannot recover lost or compromised wallets.
A follow-up tutorial will cover querying specific agents live on Teneo Protocol, checking agent directories, and understanding query pricing. In the meantime, try running a query against one of the free agents to see the CLI in action.

