AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Castorini Serve

skill-castorini-castorini-skills-castorini-serve · by castorini

Use when serving Anserini retrieval together with any subset of rank_llm, ragnarok, nuggetizer, or umbrela over HTTP, especially for local port planning, direct request payload compatibility, curl or jq pipelines, or sequencing retrieval, reranking, generation, nugget creation, nugget assignment, and passage judging from an Anserini fatjar RestServer.

No reviews yet
0 installs
11 views
0.0% view→install

Install

$ agentstack add skill-castorini-castorini-skills-castorini-serve

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-castorini-castorini-skills-castorini-serve)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Castorini Serve? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Castorini Serve

Serve the Castorini stack as cooperating local HTTP services.

Treat Anserini retrieval as the entry point, then add only the downstream services the user actually needs. Prefer gpt-4o as the default OpenAI-backed model for rank_llm, ragnarok, nuggetizer, and umbrela unless the user explicitly asks for a different model.

Default Stack

Use this local port layout unless the user asks for different ports:

  • 8081 — Anserini RestServer
  • 8082rank_llm serve http
  • 8083ragnarok serve
  • 8084umbrela serve
  • 8085nuggetizer serve

Service Selection

  • Retrieval only: serve Anserini through io.anserini.api.RestServer.
  • Retrieval + rerank: add rank_llm.
  • Retrieval + answer generation: use Anserini -> ragnarok, or Anserini -> rank_llm -> ragnarok.
  • Retrieval + relevance judgment: use Anserini -> umbrela, or Anserini -> rank_llm -> umbrela.
  • Retrieval + nugget creation: use Anserini -> nuggetizer create, or Anserini -> rank_llm -> nuggetizer create.
  • Full answer-evaluation flow: keep the original retrieval or rerank payload for nuggetizer create, generate answers with ragnarok, then join the two envelopes for nuggetizer assign.

Reference Files

  • references/service-recipes.md — startup commands, port conventions, and per-service defaults
  • references/curl-pipelines.md — direct curl, pipe, jq, and full multi-step examples

Gotchas

  • rank_llm serves HTTP as rank-llm serve http ..., not plain rank-llm serve ....
  • The Anserini fatjar skill documents standalone RestServer on 8080, but the shared Castorini HTTP stack uses 8081 by convention so the other services can stay on 8082 through 8085.
  • ragnarok, nuggetizer create, and umbrela can accept raw Anserini search payloads directly because they normalize {query, candidates} inputs.
  • ragnarok, nuggetizer create, and umbrela can also accept the castorini.cli.v1 envelope returned by rank_llm, so a raw pipe from rank_llm usually works.
  • nuggetizer create must consume the retrieval pool, not ragnarok answer output.
  • nuggetizer assign does not consume a bare ragnarok envelope by itself; wrap answer_envelope plus nugget_envelope, or answers_envelope plus nugget_envelope, with jq.
  • umbrela judges passage relevance, not answer quality. For answer quality, use the ragnarok plus nuggetizer path instead.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.