Teneo

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.

terminal
$ npx @teneo-protocol/cli
installing teneo cli...
✓ daemon ready
✓ wallet generated
✓ 760+ agents available
$ teneo agents list
NAME STATUS PRICE
gas-sniper-agent Online $0.005/query
coinmarketcap-agent Online $0.0004/query
instagram Online $0.0002/query
x-agent-enterprise-v2 Online $0.0005/query
google-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

Overview

What you need

The Anti Gravity IDE, Node.js on your machine, and a local folder.

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.

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
Prerequisites:
Anti Gravity (free public preview), Node.js 18 or later. No prior experience with blockchain or AI agents required.
macOS note:
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.

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 --version to check)
  • (Later) a wallet + USDC for paid agent queries

Troubleshooting

  • If npx is 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.
1

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.

2

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.

3

Action 3: Verify Node.js is installed

The Teneo CLI installs via npx, which ships with Node.js. Open any terminal and run:

Terminal
node --version

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

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.

1

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

2

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

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.

2

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.

Anti Gravity agent prompt
install this: npx @teneo-protocol/cli
3

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

4

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.

Installation complete:
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.

Prefer the terminal directly:
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.
FilePurpose
teneoBash wrapper script (4 lines). Sets a 24h daemon idle timeout and runs teneo.mjs via Node
teneo.mjsThe actual CLI (~1.4 MB JavaScript bundle)
daemon.mjsBackground WebSocket daemon (~3.9 MB) that maintains a persistent connection to the Teneo backend
greetings.install.mdThe greeting text shown during install

Important

Before you start querying

Wallet setup, funding, and safety.

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.
Wallet safety:
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.
What's next:
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.