{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "alex09x-kyb--shared-infra-memory-for-agent-fleet",
 "repo": "alex09x/kyb",
 "repo_url": "https://github.com/alex09x/kyb",
 "repo_slug": "alex09x-kyb",
 "title": "Give every agent one shared record of your infrastructure",
 "page_title": "How to give every agent one shared record of your infrastructure with Kyb",
 "summary": "Store server layout, service wiring and deploy steps once so each agent finds them instead of rediscovering them.",
 "who": "An engineer running Claude Code, Codex or other agents on several machines who keeps re-explaining the same servers and services to each new session.",
 "problem": "Agents forget everything between sessions and rediscover the same infrastructure, and lessons from past work disappear when the context window closes.",
 "outcome": "Agents query one shared, versioned knowledge base before acting, and facts they write are searchable by every other agent.",
 "steps": [
  "Install the server with `cargo install knowyourbusiness --locked`.",
  "Start it with `kyb-server` and leave it running on 127.0.0.1:9310.",
  "Install the client skill with `bash skills/install.sh` from the repository checkout.",
  "Query before acting with `kyb query \"nats streams\"`.",
  "Record a new fact with `kyb add --key nats-streams --title \"...\" --tags nats,infra`, then check it with `kyb history nats-streams`."
 ],
 "agent_prompt": "Use the KYB repo at alex09x/kyb. Run `kyb query \"<topic>\"` against the local server and summarise the matching entries for <topic>. Expected output: a short list of keys with titles. Verify that each key returned exists by running `kyb get <key>` on one of them.",
 "agents": [
  "claude-code",
  "codex",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README says secrets are rejected on write, but you should still store pointers to credentials rather than the credentials themselves.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "A Rust toolchain with cargo, to run cargo install knowyourbusiness --locked",
  "A host or Docker setup where the kyb-server process can keep its data directory",
  "Network access from agent machines to the server port, default 127.0.0.1:9310",
  "Optional: a model directory with model.onnx and tokenizer.json for hybrid search; without it the server runs lexical-only"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "With KYB_AUTH left at off, anyone who can reach the listening address can write to the base, so bind to a trusted interface and set up a token book before sharing it."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/alex09x-kyb/shared-infra-memory-for-agent-fleet/",
 "md": "https://dedupedai.com/use-cases/alex09x-kyb/shared-infra-memory-for-agent-fleet/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/alex09x-kyb--shared-infra-memory-for-agent-fleet.json",
 "api_version": "v1"
}
