agentsclimarketplace

Algobot cli

Skill algolia/skills/skills/algobot-cli

Use for anything AI/agent/conversational built on Algolia: algobot CLI, Agent Studio, RAG systems, conversational product discovery, genAI content generation from search results (carousels, descriptions, headers), chatbots or recommendation agents using Algolia as retrieval, config-as-code workflows, multi-environment deploy (dev/staging/prod), memory and personalization, MCP tool integrations, conversation history / GDPR retention, or adding a chat widget alongside InstantSearch. Trigger on: "algobot", "Agent Studio", "RAG with Algolia", "conversational experience", "AI agent" + Algolia, "genAI carousel", "chat widget", or building AI features on top of Algolia search. Do NOT use for raw index ops (records, synonyms, settings) — use algolia-cli. Do NOT use for pure frontend search UI (InstantSearch, autocomplete) with no AI/agent layer.From its SKILL.md

Install
npx -y skills add algolia/skills --skill algobot-cli

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 10 stars10 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

7.7 KB, as published. Nobody here has run it

Algobot CLI

Algolia Agent Studio is Algolia's platform for building AI agents — RAG systems, conversational experiences, genAI content generation — with Algolia search and recommendations as the retrieval backbone. algobot (npm install -g algobot-ai) is its CLI for creating, testing, and deploying agents.

When to Use Algobot vs Other Tools

NeedUse
Build/manage AI agents on Algolia (RAG, chatbot, genAI UI)algobot-cli (this skill)
Algolia search index ops (records, settings, synonyms)algolia-cli
Search queries, analytics, recommendationsalgolia-mcp

Setup

npm install -g algobot-ai
algobot init                    # Interactive wizard (creates first agent + profile)

Or add a profile manually (CI-safe, non-interactive):

algobot profiles add --name prod --env prod

Non-Interactive Mode (Critical for Agents)

The TUI won't render in non-TTY environments (CI, scripts, agent subprocesses). Use these instead:

algobot ask "What is your return policy?"                    # One-shot
algobot interactive --text "hello ||| list my orders ||| /context"  # Multi-turn
algobot agents list --jq '.[] | .name'                       # JSON filtering

--jq is built-in — no need to install jq separately.

Core Commands

Agent Management

algobot agents list
algobot agents get <agent-id>
algobot agents create --name "Support Bot" --model gpt-4o
algobot agents update <agent-id> --name "New Name"
algobot agents publish <agent-id>
algobot agents unpublish <agent-id>
algobot agents delete <agent-id>
algobot agents copy <id> --from-env dev --to-env prod

Chatting with an Agent

algobot ask "Find wireless headphones under $100"
algobot --profile staging ask "hello"        # Target specific environment
algobot --verbose ask "debug this"           # Show full HTTP traces

Profile / Environment Management

algobot profiles list
algobot profiles add --name dev --env dev
algobot profiles setdefault prod
algobot --profile prod agents list
algobot --env dev agents list

Config-as-Code Workflow

Version-control agent definitions with mustache templates — ideal for repeatable deployments across events, teams, or environments.

# 1. Scaffold from an existing agent
algobot agents scaffold <agent-id>           # → agent-config.json + PROMPT.md

# 2. Preview (API-level kill switch — mutations blocked by construction)
algobot --dry-run agents create --config agent-config.json --var event="Spring 2026"

# 3. Deploy
algobot agents create --config agent-config.json --var event_name="Spring 2026"

# 4. Update + publish in one step
algobot agents update <id> --config agent-config.json --var event_name="Summer 2026" --publish

{{key}} in JSON fields: JSON-safe escaping. In .md instructions: raw substitution.

Agent Studio Capabilities (via agent config)

Beyond basic chat, Agent Studio agents support:

  • Tools: Algolia Search, Algolia Browse, Algolia Recommend, client-side tools, and MCP tools (connect CRMs, inventory systems, external APIs alongside Algolia). Manage with algobot tools list/add/remove
  • Memory: Semantic (facts/preferences) and episodic (past interactions) memory across sessions, using algolia_memorize, algolia_ponder, and algolia_memory_search tools. Configure retrieval mode (preload vs preflight) in agent config.
  • Conversation storage: Persistent history with configurable retention — see algobot conversations for export/delete
  • Experimental: Citation markers [1][2] on responses, date injection, response caching — enable in agent config

Use algobot agents scaffold to inspect/edit these settings, algobot --dry-run to preview before applying.

Live Development

algobot agents watch patch.json             # Auto-apply patches on file change

Global Flags

FlagEffect
--env dev|staging|prod|localTarget environment
--profile <name>Use named profile
--dry-runPreview without mutating (API-enforced)
--verboseFull HTTP logs
--jq '<expr>'Filter JSON output
--confirmSkip exec tool confirmations

Gotchas

  • TUI requires TTY. algobot with no args launches the TUI — hangs in scripts. Always use ask or --text in non-interactive contexts.
  • Exit codes are 0/1 only in v2.0. Can't distinguish "not found" from "auth error" — parse stderr if needed.
  • --output json missing on most commands in v2.0. Use --jq or JSON-structured stdout.
  • algobot init is interactive. Don't use in CI — use profiles add with flags instead.
  • prod resolves to the EU host. v2.0.0 hardcodes three API hosts — agent-studio.eu.algolia.com (prod), agent-studio-staging.eu.algolia.com (staging), conversational-ai-dev.algolia.com (dev). There is no region flag, and the only environment variables read are ALGOLIA_APP_ID, ALGOLIA_APPLICATION_ID, ALGOLIA_API_KEY, and ALGOLIA_AGENT_ID — none of which override the host. If an app's agents are not in EU, agents list returns [] and agents get <id> returns 404 for an agent that is live and serving completions. An admin API key does not change this. Confirm the host with algobot --verbose agents list before assuming a credential problem.
  • Credentials are stored in ~/.algobot-profiles (encrypted), not ~/.algobot-cookie. algobot auth show was removed in v2.0 — use algobot profiles list, or algobot profiles show <name> for full detail. Note that profiles show prints the API key in plaintext, so avoid it in shared terminals, screenshares, and logs.
  • --config auto-discovers agent-config.json in cwd. Explicit: --config path/to/config.json.
  • algobot = dev/deploy tool; REST API = production invocation. Use algobot to build and publish agents; call the Agent Studio completions API directly from your app. Don't guess the endpoint URL — run algobot agents get <id> to retrieve it, or check the Agent Studio dashboard.
  • Completions URL has no /agent-studio prefix. Use agent-studio.<region>.algolia.com/1/agents/<id>/completions?stream=false&compatibilityMode=ai-sdk-4. compatibilityMode is required (omitting → 422). Response: { id, role, content } with content as a flat string.
  • agents create --provider <name> does not link the provider. Agent stays draft, publish 409s. After create, run algobot agents patch <id> --json patch.json with {"providerId": "<uuid>"}, then publish.

Reference Docs

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.