A drop-in markdown cognition layer for AI agents that need to analyze public agenda
Project description
Agenda Intelligence MD
A drop-in markdown cognition layer that turns news scanning into decision-ready analysis.
Bottom line: agents using this protocol move from “monitor developments” to “watch these 3 indicators; if X happens, decision Y becomes urgent.”
Who it is for
- Policy analysts & think‑tanks – structured monitoring of regulatory and geopolitical signals.
- Sanctions & compliance teams – evidence‑backed briefs that satisfy audit requirements.
- Market‑risk analysts – concise impact snapshots for faster investment decisions.
- Founders & operators – external chaos turned into clear strategic inputs.
- AI agents – any LLM‑based system that needs to analyze public agenda without drifting into generic summaries.
Quick install
From PyPI
pip install agenda-intelligence-md
From GitHub Release (v0.5.5)
pip install https://github.com/vassiliylakhonin/agenda-intelligence-md/releases/download/v0.5.5/agenda_intelligence_md-0.5.5-py3-none-any.whl
Editable install from source
git clone https://github.com/vassiliylakhonin/agenda-intelligence-md
cd agenda-intelligence-md
pip install -e .
CLI happy path (aha‑moment in 5‑10 min)
The start command is the primary onboarding entry‑point. It prints a trimmed source plan, a brief template, and next commands.
# 1. Onboard with a source category
agenda-intelligence start technology-ai
# Output: trimmed source plan + brief template + next commands
# 2. Validate a bundled example brief
agenda-intelligence validate-brief examples/agenda-brief.json
# 3. Score a JSON brief (structural quality check)
agenda-intelligence score examples/agenda-brief.json
# 4. Add an evidence pack for claim-level evidence discipline
agenda-intelligence score examples/agenda-brief.json --evidence examples/source/evidence-pack.json
# 5. Or score a before/after markdown example
agenda-intelligence score examples/before-after/eu-ai-act.md
Scorer status: the
scorecommand now scores JSON briefs with a heuristic 0-100 structural rubric, can include an evidence pack for claim-level support feedback, and still supports before/after markdown examples. It does not verify factual truthfulness.
Demo output (what you see after start):
=== Trimmed source plan ===
{
"must_check": ["tech‑release", "policy‑update", "market‑data"],
"watch_indicators": ["regulation draft", "enforcement action"]
}
=== Brief template (fill in) ===
{
"bottom_line": "<summary>",
"signal_classification": "<signal>",
"what_changed": "<what changed>",
"main_uncertainty": "<main uncertainty>",
"watch_next": ["<indicator 1>", "<indicator 2>"]
}
Protocol · Source Policy · Schemas
| Layer | Purpose | Status |
|---|---|---|
Markdown protocol (Agenda-Intelligence.md) |
Core reasoning workflow (signal classification, watch‑next, etc.) | ✅ Stable |
| Source Acquisition Layer | Tells the agent which source types to check before making claims (sanctions, regulation, elections, conflict, etc.) | ✅ Stable |
| JSON schemas | Validate briefs, evidence packs, memory cards | ✅ Stable |
| AnalysisBank | Memory layer that stores reusable reasoning patterns from good/bad outputs | ✅ Stable |
| Regional & Sector lenses | Central Asia & Caspian, Middle East, EU; sanctions, export controls | ✅ Stable |
Stable today vs Experimental
✅ Stable today
- Markdown protocol (
Agenda-Intelligence.md) – core reasoning workflow. - JSON schemas – validation for briefs, evidence packs, memory cards.
- CLI validation –
validate-brief,validate-evidence,validate-manifest. - Source plans –
source-plan,list-source-packs,source-types. - Guided start –
startcommand prints trimmed plan + brief template. - Brief scoring –
score examples/agenda-brief.jsonreturns a heuristic 0-100 structural quality score; add--evidencefor claim-level evidence feedback. - Evaluation toolkit –
evals/rubric.md,evals/llm_judge_prompt.txt,evals/human_checklist.md,evals/cases/*.json. - MCP read tools –
validate_brief,validate_evidence,get_protocol,list_lenses,get_lens,source_plan.
🧪 Experimental / Planned
- MCP transport/server – read-only tool functions exist, but a full HTTP/WebSocket server is still on the roadmap (
docs/integrations/mcp.md). - Fetch command – stub in CLI, full evidence‑pack retrieval not implemented.
- Truthfulness evaluation – not implemented; current scoring checks structure and protocol signals.
- Generate‑brief – not yet exposed; use
start+ manual template fill.
Note: The project is young. Stable parts are ready for production use; experimental bits are usable for testing but may change.
Examples
- Source‑backed briefs (with evidence mode & source plans):
examples/source-backed/eu-ai-act.md,sanctions-routing.md,red-sea-shipping.md - Classic examples:
examples/hormuz_strait_brief.md,eu-brief.md,central-asia-caspian-brief.md - Before/after:
examples/before-after/– shows the delta when the protocol is applied.
Documentation
| Resource | Link |
|---|---|
| Quickstart | docs/quickstart.md |
| End‑to‑end tutorial | docs/tutorial.md |
| Evaluation assets | evals/ – rubric, LLM judge prompt, human checklist, sample cases |
| Use‑cases | docs/use-cases/ – policy monitoring, sanctions compliance, market risk, founder context |
| Integrations | docs/integrations/ – Claude Code, OpenAI Codex, Cursor, MCP |
| Roadmap | ROADMAP.md |
| Changelog | CHANGELOG.md |
Repository structure
agenda-intelligence-md/
├─ src/agenda_intelligence/ # Python package
├─ schemas/ # JSON schemas
├─ examples/ # sample briefs, evidence packs, source‑backed examples
├─ analysis-bank/ # memory cards (failures & successes)
├─ evals/ # evaluation rubric, LLM judge, human checklist, cases
├─ docs/ # guides, tutorials, use‑cases, integrations
├─ skills/agenda-intelligence/ # OpenClaw skill wrapper
└─ tests/ # pytest suite
Roadmap (high‑level)
- v0.6 – Full MCP server exposing current Python tool functions via HTTP/WebSocket.
- v0.7 – Promote
score_outputto rubric-based quality scoring and wire it into MCP. - v0.8 – Automated CI quality gate using the evaluation toolkit.
- v1.0 – Stable API, broader adoption‑channel support, production‑grade MCP.
Contributing
Pull requests are welcome! Please:
- Open an issue to discuss changes.
- Create a feature branch (
feat/...,fix/...). - Run
pytestand ensure all tests pass. - Update docs if behavior changes.
License
MIT – free for any use.
Why this exists
Most agent‑written news analysis is a polished recap that doesn’t change any decision. This project gives agents a stricter workflow so their output actually helps someone decide, hedge, or act.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agenda_intelligence_md-0.5.5.tar.gz.
File metadata
- Download URL: agenda_intelligence_md-0.5.5.tar.gz
- Upload date:
- Size: 82.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e16fb8277c10e978f5bb397958fa1756c7543f480b1067286baa9ff8eeb289a
|
|
| MD5 |
1aef163e6e1c16c908290df455d928f8
|
|
| BLAKE2b-256 |
29986559b82a90e4e2d391c567ec89b0300b8dee21dd0d22c0c71bcc6b874269
|
File details
Details for the file agenda_intelligence_md-0.5.5-py3-none-any.whl.
File metadata
- Download URL: agenda_intelligence_md-0.5.5-py3-none-any.whl
- Upload date:
- Size: 50.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61519d23667c560effb957f365c057b46f080505f3d0115085a56e5094e6319f
|
|
| MD5 |
0a974686c1d16c28ec556b47185127c3
|
|
| BLAKE2b-256 |
9b0276243c58dc04f7102fd38a8b9d0db31abe175babdc9d146eee3b98b67057
|