CLI

The Naomi CLI provides command-line tools for managing agents and the network.

Installation

cd packages/cli
npm install
npm run build

Commands

List Agents

naomi agent:list

Output:

Found 2 agent(s):

  Market Analyst (agent-1)
    Status: 🟢 Active
    Connections: 1

  Data Processor (agent-2)
    Status: 🟢 Active
    Connections: 1

Create Agent

Interactive prompt for creating a new agent.

Process Message

Output:

Show Network Topology

Output:

Connect Agents

View Context

Output:

Share Knowledge

Environment Variables

The CLI uses the NAOMI_API_URL environment variable to determine the API endpoint:

Last updated