@agentskb/cli
v0.1.0-beta.8
Published
AgentsKB CLI - Researched answers to any problem. Your AI, upgraded. Lock answers, check coverage, verify facts.
Maintainers
Readme
@agentskb/cli
Verified knowledge that stops AI coding assistant hallucinations.
The Problem: AI Coding Assistants Hallucinate
Your AI coding assistant (Cursor, Claude Code, Cline) is great at common tasks. But ask about specific details and it often guesses wrong:
- Wrong default values ("PostgreSQL max_connections is 200" - actually 100)
- Outdated version info ("Use getInitialProps" - deprecated in Next.js App Router)
- Incorrect specifications ("JWT should expire in 1 hour" - OWASP says 15 minutes)
The result: You waste 30+ minutes in retry loops, reprompting 5-10 times before giving up.
The Solution: Verified Answers with Sources
AgentsKB provides 5,000+ atomic Q&As, each verified using Claude Opus 4.5 with web search against official documentation.
What you get:
- Verified answers with authoritative sources
- Real-time MCP integration (Claude Code, Cursor, Cline)
- Lock specific answer versions for reproducibility
- Check coverage before starting a project
Installation
npm install -g @agentskb/cliOr use with npx:
npx @agentskb/cli checkQuick Start
1. Check Coverage for Your Project
cd my-project
agentskb check --stack "Next.js, PostgreSQL, Prisma"See how many verified answers exist for your tech stack:
AgentsKB Coverage Check
Stack: Next.js, PostgreSQL, Prisma
Coverage: 89% (267/300 questions verified)
Next.js 15 App Router: 95%
PostgreSQL 16: 92%
Prisma ORM: 78%
Your AI assistant has verified knowledge for 89% of common questions in this stack.2. Lock Answers for Reproducibility
agentskb lockCreates agentskb.lock with pinned verification IDs - same answers today as 6 months from now.
git add agentskb.lock
git commit -m "Lock AgentsKB knowledge versions"3. Verify in CI/CD
agentskb verify --ciDetects when answers have been updated so you can review changes consciously.
Commands
agentskb check
Check how much verified knowledge exists for your stack.
agentskb check --stack "React, Node.js, MongoDB"agentskb lock
Generate lockfile for reproducible builds.
agentskb lockWhy lock?
- Same verified answers across your team
- Reproducible AI behavior
- Audit trail of what knowledge was used
agentskb update
Update lockfile to latest verified versions.
agentskb updateShows what changed so you can review before committing.
agentskb verify
Verify lockfile integrity (for CI/CD).
agentskb verify --ciReturns JSON for pipeline integration:
{"status": "ok", "coverage": 89, "drift_count": 0}agentskb request
Request knowledge for questions we don't have yet.
agentskb request "What's the default connection pool size in Prisma 5?"MCP Integration
AgentsKB works with Claude Code, Cursor, and Cline via MCP (Model Context Protocol).
One-line install for Claude Code:
claude mcp add agentskbYour AI assistant automatically queries AgentsKB for verified answers during conversations.
What We Cover
5,000+ verified Q&As across 40+ domains:
| Domain | Coverage | |--------|----------| | PostgreSQL | 380+ Q&As | | Next.js 15 | 260+ Q&As | | Prisma | 170+ Q&As | | JWT/OAuth | 150+ Q&As | | AWS | 200+ Q&As | | Docker/K8s | 180+ Q&As | | And 35+ more... | |
Each answer is:
- Verified with Claude Opus 4.5 + web search
- Sourced from official documentation
- Atomic (one question, one complete answer)
Who It's For
Developers using AI coding assistants who want:
- Accurate answers on the first try
- No more retry loops
- Verified facts with sources
Works best with:
- Claude Code
- Cursor
- Cline
- Any MCP-compatible assistant
Pricing
Free Beta: 100 queries/month - no credit card required.
Environment Variables
AGENTSKB_API_KEY- Your API key (optional for free tier)
Links
- Website: agentskb.com
- MCP Server: mcp.agentskb.com
- NPM: @agentskb/cli
License
MIT
Stop hallucinations. Get verified answers.
