Skip to main content

Overview

The eigi CLI gives you a terminal-first path for prompt management, agent creation, chat testing, outbound calls, and operational inspection. Use it when you want to:
  • Fetch the current system instruction or a specific prompt version
  • Reuse prompts across multiple agents
  • Inspect valid providers, models, voices, and purchased numbers before creating agents
  • Script common tasks with JSON output and jq

Install

npm install -g @cliniq360/eigi-cli
Or run it without installing globally:
npx @cliniq360/eigi-cli workflow list

Configure the CLI

The CLI configuration flow is documented in CLI Configuration. For a quick start:
eigi config set-key <YOUR_API_KEY>
eigi config show
If you want the CLI to tell you the order of operations first, start here:
eigi workflow list
eigi workflow agent-create
The built-in agent-create workflow covers the common sequence:
1

Inspect providers and models

Run eigi providers list to confirm valid STT, LLM, and TTS combinations before filling agent flags.
2

Choose a voice

Run eigi voices list --provider CARTESIA --language en to fetch a real voice_id.
3

Fetch or create the prompt

Run eigi prompts list and eigi prompts get <PROMPT_NAME> to inspect the existing system instruction before reusing it.
4

Check phone numbers for inbound agents

Run eigi mobile-numbers if the agent needs a purchased number.
5

Create and validate the agent

Create the agent, then test with eigi agents get <AGENT_ID>, eigi chat first-message <AGENT_ID>, and eigi chat interactive <AGENT_ID>.

Fetching prompts and system instructions

Use prompt commands when you need to inspect the current instruction set or reuse a prompt across agents.
eigi prompts list
eigi prompts get support_v1
eigi prompts get support_v1 --version 2
eigi prompts versions support_v1
Create or update prompts from a local file so they stay in source control:
eigi prompts create --name support_v1 --file ./prompt.txt
eigi prompts update support_v1 --file ./prompt.txt
You can then reference the prompt during agent creation:
eigi agents create \
  --name "Support Bot" \
  --type INBOUND \
  --stt-provider DEEPGRAM \
  --stt-model nova-2 \
  --stt-language en \
  --llm-provider OPENAI \
  --llm-model gpt-4o \
  --tts-provider CARTESIA \
  --tts-model sonic-2 \
  --tts-language en \
  --tts-voice-id <VOICE_ID> \
  --prompt-name support_v1 \
  --first-message "Hello, how can I help you today?"

Useful command groups

Command groupWhat it is for
eigi workflowBuilt-in CLI guidance for common flows
eigi promptsCreate, fetch, version, update, and delete prompts
eigi agentsCreate, inspect, update, list, and delete agents
eigi chatFetch first messages, send one-off messages, or run interactive chat
eigi providersDiscover valid model combinations
eigi voicesFetch voice IDs for TTS providers
eigi mobile-numbersList purchased phone numbers

JSON mode for automation

Every command supports --json.
eigi workflow list --json | jq '.workflows[].name'
eigi prompts get support_v1 --json | jq '.prompt_content'
eigi agents list --json | jq '.agents[].agent_name'