Data & Analysis ai-searchsearch-cliconversational-retrievalrecommendation-systemsretrieval-tuningvolcengine-ai-search

SearchCLI

A CLI for connecting Volcengine AI Search, recommendations, and conversational retrieval to production systems and agent workflows.

FollowAgents review · FARS-2.0
Not yet reviewed
See the full review method →

What does this agent do, and when should you use it?

SearchCLI is an open command-line integration surface for Volcengine AI Search. Its `vs item`, `vs dataset`, `vs app`, and `vs data` commands support dataset and application setup from structured business data. Runtime behavior can be checked through `vs search run`, `vs recommend run`, and `vs chat run`, while `vs search tune` supplies an initial text-similarity evaluation and tuning flow. The execution model includes dry runs, confirmation gates, and read-after-write verification, with item plans stored under `.viking/item-plans`. Installable Viking skills let external agents use the same onboarding and retrieval workflows.

SearchCLI reads JSON or JSONL item files, profiles them with vs item profile --file, and creates onboarding plans through vs item plan --file --goal. vs item apply --plan-dir can preview a plan with --dry-run, then execute it with --confirm-review --wait-ready --run-trials; dataset-only provisioning uses --skip-app, vs dataset create --data @dataset-create.json, and vs dataset ingest --dataset-id <dataset-id> --fields @<normalized-items-artifact>. vs dataset, vs app, and vs data manage the associated resources, while vs search run, vs recommend run, and vs chat run verify runtime flows. Search tuning runs through vs search tune query-generate | plan | run | report; optional query generation and LLM relevance judging are configured with vs llm login or vs llm import-env for an OpenAI-compatible LLM API.

  1. A commerce search team needs to onboard a structured product catalog to Volcengine AI Search and review the generated plan before application creation.
  2. A recommendation team needs to connect application scenes and user behavior to recommendation flows, then validate results with `vs recommend run`.
  3. A conversational-search team needs to test retrieval grounded in application search with `vs chat run`.
  4. An agent-system team wants to install public skills such as `vs-shared`, `vs-item-onboarding`, and `vs-search` so external agents can follow the reviewed onboarding workflow.
  5. A video-content team needs to provision a video dataset and explicitly pass `--type video` during profiling, planning, and application.

What are this agent's strengths and limitations?

Pros
  • Combines profiling, planning, dry-run review, confirmed execution, and runtime verification in one CLI workflow.
  • Covers structured-item search, recommendations, and conversational retrieval with dedicated `run` verification commands.
  • Provides `vs search tune` stages for query generation, planning, execution, and reporting in an initial text-similarity tuning flow.
  • Public Viking skills allow external agents to install and reuse the repository’s onboarding and retrieval workflows.
Limitations
  • Core operation depends on Volcengine AI Search and AK/SK authorized for that service, limiting provider portability.
  • Adoption requires Node.js 20+, `git`, a usable shell, network access, and local credential storage.
  • LLM query generation and relevance judging need separate configuration of an OpenAI-compatible API, and the API key must not be stored in plain configuration.
  • Video datasets require an explicit `--type video`; schema-only creation using `--schema @schema.json` can fail with `MissingParameter.DefaultFieldStrategy`.

How do you install or deploy this agent?

Requirements are Node.js 20 or newer, git, and Volcengine AK/SK with access to AI Search. Install the CLI and import credentials already present in the shell:
git clone [email protected]:volcengine/SearchCLI.git vs
cd vs
bash ./scripts/install.sh
vs auth import-env
vs auth status --json
vs doctor --json
If VIKING_AK and VIKING_SK are not present, run vs auth login in a real terminal. External agents can install the public skill bundle with npx skills add "[email protected]:volcengine/SearchCLI.git" -y -g.

How do you use this agent?

For a new item-search application, run vs item profile --file ./items.json --pretty, then vs item plan --file ./items.json --goal "Build item search". Review the proposed execution with vs item apply --plan-dir ./.viking/item-plans/<plan> --dry-run, then apply and verify it with vs item apply --plan-dir ./.viking/item-plans/<plan> --confirm-review --wait-ready --run-trials. For dataset-only work, add --skip-app to the plan command, create from the emitted dataset-create.json with vs dataset create --data @dataset-create.json, and ingest fields with vs dataset ingest.

FAQ

Can it run a standalone search service without Volcengine?
That is not documented. The CLI is explicitly an integration surface for Volcengine AI Search and requires AK/SK with access to that service.
What credentials and permissions are required?
You need Volcengine AK/SK with AI Search access. Import environment credentials with `vs auth import-env`, or use `vs auth login` in a real terminal.
Is LLM configuration required for every workflow?
No. It is documented for search-tuning query generation and LLM relevance judging, using an OpenAI-compatible LLM API.
How can a team review changes before they execute?
Run `vs item apply --plan-dir <plan-dir> --dry-run` first. Actual execution requires `--confirm-review`, and can include `--wait-ready --run-trials` for readiness and runtime checks.

Related agents