loading…
Search for a command to run...
loading…
Product entry point and evidence-discipline layer for strategic intelligence agents.
Product entry point and evidence-discipline layer for strategic intelligence agents.
MCP product shell and evidence-discipline layer for strategic intelligence agents. Structured request/memo contract, geography-routed reasoning, schema validation, evidence audit, scoring. No live retrieval, no factual verification.
PyPI version CI Agenstry A2A Agenstry uptime License: MIT
pip install agenda-intelligence-md
agenda-intelligence doctor
agenda-intelligence validate-brief examples/agenda-brief.json
agenda-intelligence score examples/agenda-brief.json --evidence examples/source/evidence-pack.json
doctor reports package and MCP-server status; validate-brief confirms a brief matches agenda-brief.schema.json; score returns a heuristic 0–100 number with a structure / evidence / decision-readiness breakdown. Full end-to-end analyze trace (request → routing → memo → validation → audit → score) with reproducibility script: examples/product-shell/full-analyze-trace/.
Optional, only if you want analyze to call the Anthropic API itself rather than letting your host model complete from the returned system prompt:
pip install "agenda-intelligence-md[llm]"
export ANTHROPIC_API_KEY=...
Longer guided tutorial: docs/quickstart.md. MCP client setup: docs/integrations/mcp.md.
A free Cloudflare Workers wrapper is live for discovery, uptime checks, lightweight strategic-risk triage, and A2A/JSON-RPC routing:
The hosted wrapper is intentionally limited: no payments, no wallets, no autonomous live retrieval, no factual-truth verification, and no legal/financial/compliance advice. Full product behavior remains in the installable stdio MCP server.
Try the live wrapper:
curl -X POST https://agenda-intelligence-a2a.vassiliy-lakhonin.workers.dev/message/send \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "demo-1",
"method": "message/send",
"params": {
"message": {
"parts": [
{
"kind": "text",
"text": "Screen sanctions and policy risk for Red Sea shipping disruption and Kazakhstan transit exposure."
}
]
}
}
}'
Expected: JSON-RPC 2.0 with status.state: "completed", metadata.signal_screen.risk_signal, affected regions, required source categories, evidence gaps, watch-next indicators, suggested modules, and next actions.
Private usage stats for the wrapper are available from the Cloudflare Worker project:
cd deploy/cloudflare-worker
npm run stats
npm run stats -- 2026-05-22
The stats helper reads STATS_TOKEN from the local ignored .env file. Deployment and analytics notes: deploy/cloudflare-worker/README.md.
| Layer | Repo | Role |
|---|---|---|
| Product shell (this repo) | agenda-intelligence-md | MCP server, request/memo schemas, geography routing, evidence audit, scoring |
| Reasoning method | global-think-tank-analyst | Strategic-risk reasoning contract; loaded by analyze as the default method |
| Vertical specialist | central-asia-caspian-hybrid-intelligence-skill | Central Asia / Caspian / Middle Corridor domain depth; routed by geography |
| Vertical specialist | gulf-middle-east-hybrid-intelligence-skill | Iran / GCC / maritime chokepoint domain depth; routed by geography |
The product shell is the integration point: agents call analyze, geography routes to the relevant specialist, and the GTTA method frames the reasoning. Each repo is also usable standalone (paste/attach into any agent).
analyze accepts a structured request (agenda-request.schema.json), routes geography to the relevant regional specialist, assembles a system prompt, and returns a memo validated against agenda-memo.schema.jsonAgenda-Intelligence.md)validate-brief, validate-evidence, source-categories, source-coverage, audit-claims, score, bench, doctor (30+ commands)agenda-intelligence bench examples/source-backed --strict --min-score 80
agenda-intelligence audit-claims examples/source-backed/eu-ai-act.audit.json --strict
agenda-intelligence mcp-config --client cursor
Pinned-wheel install (instead of PyPI):
pip install https://github.com/vassiliylakhonin/agenda-intelligence-md/releases/download/v1.0.1/agenda_intelligence_md-1.0.1-py3-none-any.whl
20 source-backed cases, reproduced with agenda-intelligence bench examples/source-backed/:
| Metric | Value |
|---|---|
| Cases | 20 |
| Mean score | 87.6 / 100 |
| Min / max | 84 / 91 |
| Schema-valid | 100% |
| With evidence pack | 100% |
| With claim-level audit | 100% |
| With source category | 100% |
| Mean source coverage | 14.8% |
| Source coverage gap cases | 20 |
| Orphan evidence refs | 0 |
Heuristic scores are uncalibrated and not validated against expert judgment. They evaluate structure, evidence labeling, source-coverage diagnostics, and decision-readiness — not factual truth.
Flagship example: examples/source-backed/eu-ai-act.md — brief + evidence pack + claim-level audit using illustrative sources. Before / after pairs: examples/before-after/.
verify-quotes checks whether a cited quote or excerpt appears in supplied local text, or in text fetched from an already-specified URL when --fetch is used. It does not discover sources, score source reputation, gather live news, or decide whether a claim is true in the world.
| Schema | Purpose |
|---|---|
| agenda-brief.schema.json | Brief structure |
| evidence-pack.schema.json | Evidence pack |
| evidence-audit.schema.json | Claim-level audit |
| signal-tracker.schema.json | Signal lifecycle |
| memory-card.schema.json | AnalysisBank cards |
| lens-manifest.schema.json | Lens manifest |
| signal-classification.schema.json | Signal taxonomy |
Stdio MCP server with 16 tools. Full docs and wire-protocol verification: MCP.md. Client setup: docs/integrations/mcp.md.
| Tool | What it does |
|---|---|
validate_brief |
Validate a brief dict against agenda-brief.schema.json |
validate_evidence |
Validate an evidence-pack dict against evidence-pack.schema.json |
audit_claims |
Check claim-level audit: support distribution, orphan refs, unsupported claims |
score_output |
Heuristic score for structure, evidence labeling, decision-readiness |
get_protocol |
Return the full Agenda-Intelligence.md reasoning protocol |
list_source_categories |
List source requirement categories before calling source_plan |
source_plan |
Generate a source plan for a given topic |
source_coverage |
Diagnose evidence-pack coverage against category source requirements |
verify_quotes |
Check cited quote fragments in caller-provided text |
list_lenses |
List available lens packs |
get_lens |
Return a specific lens pack by name |
analyze |
Product-shell pipeline: validate request, route modules, assemble prompt, optionally call LLM, validate memo |
validate_memo |
Validate an Agenda memo against agenda-memo.schema.json |
list_signals |
List vendored signal archive entries |
get_signal |
Return a vendored signal markdown file by id |
deep_dive |
Planned v2 placeholder directing callers to analyze depth modes |
| Component | Status |
|---|---|
| Markdown protocol, JSON schemas | Stable |
| CLI (validate, score, bench, audit, doctor) | Stable |
| MCP stdio server | Stable |
| Evidence-audit schema (claim-level) | Stable |
| Signal-tracker schema (lifecycle) | Stable |
| Heuristic scoring | Stable (uncalibrated) |
| Live source retrieval | Not implemented |
| Factual-truth verification | Not in scope |
verify-quotes --fetch) is opt-in and bounded (1 MB cap, 10 s timeout, stdlib HTTP only).Full threat model: docs/threat-model.md. Retrieved-content trust rule: AGENTS.md.
| Resource | Link |
|---|---|
| Quickstart | docs/quickstart.md |
| Tutorial | docs/tutorial.md |
| Evaluation layers | docs/evaluation.md |
| Agent-eval methodology | docs/agent-eval-methodology.md |
| Factual verification boundary | docs/factual-verification.md |
| Source plan coverage boundary | docs/source-plan-coverage.md |
| Evidence audit | docs/evidence-audit.md |
| Threat model | docs/threat-model.md |
| Integrations | docs/integrations/ |
| Agenstry discovery | docs/integrations/agenstry.md |
| Use-cases | docs/use-cases/ |
| Agent contract | AGENTS.md |
| Adoption guide | ADOPTION.md |
| Changelog | CHANGELOG.md |
| Roadmap | ROADMAP.md |
| Portfolio glossary (shared across 4 repos) | docs/glossary.md |
| Contributing guide | CONTRIBUTING.md |
agenda-intelligence-md/
├─ src/agenda_intelligence/ # Python package (CLI + MCP server)
├─ schemas/ # JSON schemas
├─ examples/ # briefs, evidence packs, before/after
├─ skills/ # OpenClaw skill wrappers
├─ evals/ # rubric, judge prompt, benchmark
├─ analysis-bank/ # agent persistent memory (memory-card schema, see schemas/v1/memory-card.schema.json)
├─ docs/ # guides, integrations, use-cases
├─ scripts/ # dev and CI helpers
└─ tests/ # pytest suite
New contributors: CONTRIBUTING.md opens with a "First 15 minutes" onboarding path (read the three load-bearing files → run the validator → walk one concrete artifact end-to-end). The portfolio glossary at docs/glossary.md is the single source of truth for cross-repo terminology (evidence modes, Axis A/B provenance tags, three-value response logic, maturity-framework asymmetry).
Before editing any of the dual-copy files — Agenda-Intelligence.md, SOURCE_POLICY.md, llms.txt, agent-manifest.json, schemas/, skills/, source-requirements/ — read the "Critical invariant: dual-copy sync" section in CONTRIBUTING.md. Editing one copy without the paired copy under src/agenda_intelligence/data/ is the most common reason CI breaks on main for first-time contributors.
Vassiliy Lakhonin — Almaty, Kazakhstan (UTC+5)
Portfolio · For analysts · Email · LinkedIn · GitHub
Issues, PRs, and eval-case contributions are welcome.
MIT.
Disclaimer. This toolkit is for informational and educational purposes only. It does not constitute investment, financial, legal, compliance, or trading advice. It does not verify factual truth, predict outcomes, or replace professional judgment. Use at your own risk.
mcp-name: io.github.vassiliylakhonin/agenda-intelligence-md
Run in your terminal:
claude mcp add agenda-intelligence -- npx