agenda-intelligence-md 0.4.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. agenda_intelligence_md-0.4.8/LICENSE +21 -0
  2. agenda_intelligence_md-0.4.8/MANIFEST.in +8 -0
  3. agenda_intelligence_md-0.4.8/PKG-INFO +648 -0
  4. agenda_intelligence_md-0.4.8/README.md +625 -0
  5. agenda_intelligence_md-0.4.8/pyproject.toml +47 -0
  6. agenda_intelligence_md-0.4.8/schemas/agenda-brief.schema.json +51 -0
  7. agenda_intelligence_md-0.4.8/schemas/evidence-pack.schema.json +51 -0
  8. agenda_intelligence_md-0.4.8/schemas/lens-manifest.schema.json +15 -0
  9. agenda_intelligence_md-0.4.8/schemas/memory-card.schema.json +26 -0
  10. agenda_intelligence_md-0.4.8/schemas/signal-classification.schema.json +16 -0
  11. agenda_intelligence_md-0.4.8/setup.cfg +4 -0
  12. agenda_intelligence_md-0.4.8/source-requirements/conflict-security.json +9 -0
  13. agenda_intelligence_md-0.4.8/source-requirements/elections.json +9 -0
  14. agenda_intelligence_md-0.4.8/source-requirements/energy.json +9 -0
  15. agenda_intelligence_md-0.4.8/source-requirements/financial-market.json +9 -0
  16. agenda_intelligence_md-0.4.8/source-requirements/regional-risk.json +9 -0
  17. agenda_intelligence_md-0.4.8/source-requirements/regulation.json +9 -0
  18. agenda_intelligence_md-0.4.8/source-requirements/sanctions.json +9 -0
  19. agenda_intelligence_md-0.4.8/source-requirements/technology-ai.json +9 -0
  20. agenda_intelligence_md-0.4.8/source-requirements/trade.json +9 -0
  21. agenda_intelligence_md-0.4.8/src/agenda_intelligence/__init__.py +3 -0
  22. agenda_intelligence_md-0.4.8/src/agenda_intelligence/cli.py +197 -0
  23. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/Agenda-Intelligence.md +106 -0
  24. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/SOURCE_POLICY.md +68 -0
  25. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/agent-manifest.json +62 -0
  26. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/llms.txt +58 -0
  27. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/schemas/agenda-brief.schema.json +51 -0
  28. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/schemas/agent-manifest.schema.json +20 -0
  29. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/schemas/evidence-pack.schema.json +51 -0
  30. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/schemas/lens-manifest.schema.json +15 -0
  31. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/schemas/memory-card.schema.json +26 -0
  32. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/schemas/signal-classification.schema.json +16 -0
  33. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/skills/agenda-intelligence/SKILL.md +71 -0
  34. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/skills/agenda-intelligence/references/agenda-triage.md +50 -0
  35. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/skills/agenda-intelligence/references/analysis-protocol.md +71 -0
  36. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/skills/agenda-intelligence/references/evidence-discipline.md +42 -0
  37. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/skills/agenda-intelligence/references/output-patterns.md +67 -0
  38. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/skills/agenda-intelligence/references/regional/central-asia-caspian.md +160 -0
  39. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/skills/agenda-intelligence/references/regional/eu.md +147 -0
  40. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/skills/agenda-intelligence/references/regional/middle-east.md +159 -0
  41. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/skills/agenda-intelligence/references/sector/sanctions.md +130 -0
  42. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/source-requirements/conflict-security.json +9 -0
  43. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/source-requirements/elections.json +9 -0
  44. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/source-requirements/energy.json +9 -0
  45. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/source-requirements/financial-market.json +9 -0
  46. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/source-requirements/regional-risk.json +9 -0
  47. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/source-requirements/regulation.json +9 -0
  48. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/source-requirements/sanctions.json +9 -0
  49. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/source-requirements/technology-ai.json +9 -0
  50. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/source-requirements/trade.json +9 -0
  51. agenda_intelligence_md-0.4.8/src/agenda_intelligence/data/source-taxonomy.json +9 -0
  52. agenda_intelligence_md-0.4.8/src/agenda_intelligence/mcp_server.py +111 -0
  53. agenda_intelligence_md-0.4.8/src/agenda_intelligence_md.egg-info/PKG-INFO +648 -0
  54. agenda_intelligence_md-0.4.8/src/agenda_intelligence_md.egg-info/SOURCES.txt +58 -0
  55. agenda_intelligence_md-0.4.8/src/agenda_intelligence_md.egg-info/dependency_links.txt +1 -0
  56. agenda_intelligence_md-0.4.8/src/agenda_intelligence_md.egg-info/entry_points.txt +2 -0
  57. agenda_intelligence_md-0.4.8/src/agenda_intelligence_md.egg-info/requires.txt +8 -0
  58. agenda_intelligence_md-0.4.8/src/agenda_intelligence_md.egg-info/top_level.txt +1 -0
  59. agenda_intelligence_md-0.4.8/tests/test_legacy_wrapper.py +32 -0
  60. agenda_intelligence_md-0.4.8/tests/test_validation.py +41 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Vassiliy Lakhonin
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,8 @@
1
+ include README.md
2
+ include LICENSE
3
+ recursive-include src/agenda_intelligence *
4
+ recursive-include src/agenda_intelligence/data *
5
+ recursive-include */*.md
6
+ recursive-include schemas *.json
7
+ recursive-include source-* *.json
8
+ recursive-include source-requirements *.json
@@ -0,0 +1,648 @@
1
+ Metadata-Version: 2.4
2
+ Name: agenda-intelligence-md
3
+ Version: 0.4.8
4
+ Summary: A drop-in markdown cognition layer for AI agents that need to analyze public agenda
5
+ Author: Vassiliy Lakhonin
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/vassiliylakhonin/agenda-intelligence-md
8
+ Project-URL: Repository, https://github.com/vassiliylakhonin/agenda-intelligence-md.git
9
+ Project-URL: Documentation, https://github.com/vassiliylakhonin/agenda-intelligence-md/tree/main/docs
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
13
+ Requires-Python: >=3.9
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE
16
+ Provides-Extra: dev
17
+ Requires-Dist: pytest>=7.0; extra == "dev"
18
+ Requires-Dist: pytest-cov; extra == "dev"
19
+ Provides-Extra: dependencies
20
+ Requires-Dist: jsonschema>=4.20; extra == "dependencies"
21
+ Requires-Dist: referencing>=0.30; extra == "dependencies"
22
+ Dynamic: license-file
23
+
24
+ # Agenda Intelligence MD
25
+
26
+ > A drop-in markdown cognition layer for AI agents that need to analyze public agenda instead of summarizing it badly.
27
+
28
+ [![PyPI version](https://img.shields.io/pypi/v/agenda-intelligence-md?style=flat-square)](https://pypi.org/project/agenda-intelligence-md/)
29
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
30
+ [![CI Status](https://github.com/vassiliylakhonin/agenda-intelligence-md/actions/workflows/ci.yml/badge.svg)](https://github.com/vassiliylakhonin/agenda-intelligence-md/actions)
31
+ [![Last Commit](https://img.shields.io/github/last-commit/vassiliylakhonin/agenda-intelligence-md?style=flat-square)](https://github.com/vassiliylakhonin/agenda-intelligence-md/commits/main)
32
+ [![Stars](https://img.shields.io/github/stars/vassiliylakhonin/agenda-intelligence-md?style=flat-square)](https://github.com/vassiliylakhonin/agenda-intelligence-md/stargazers)
33
+
34
+ ## Table of Contents
35
+ - [Quick install](#quick-install)
36
+ - [CLI usage](#cli-usage)
37
+ - [Documentation](#documentation)
38
+ - [Project structure](#project-structure)
39
+ - [What's new](#whats-new)
40
+ - [What this does](#what-this-does)
41
+ - [How to use it](#how-to-use-it)
42
+ - [Built for agents](#built-for-agents)
43
+ - [10-second demo](#10-second-demo)
44
+ - [Before / after examples](#before--after-examples)
45
+ - [Source Acquisition Layer](#source-acquisition-layer)
46
+ - [AnalysisBank](#analysisbank)
47
+ - [Regional lens packs](#regional-lens-packs)
48
+ - [Sector lens packs](#sector-lens-packs)
49
+ - [Relationship to global-think-tank-analyst](#relationship-to-global-think-tank-analyst)
50
+ - [Repository structure](#repository-structure)
51
+ - [Contributing](#contributing)
52
+
53
+ ## Quick install
54
+ ```bash
55
+ # Clone the repository
56
+ git clone https://github.com/vassiliylakhonin/agenda-intelligence-md
57
+ cd agenda-intelligence-md
58
+ # Install editable with dev dependencies
59
+ pip install -e ".[dev]"
60
+ ```
61
+ > **Note:** PyPI publication is planned; until then use editable install from the repository.
62
+
63
+
64
+ ---
65
+
66
+ ## CLI usage (new console script)
67
+ ```bash
68
+ agenda-intelligence --help
69
+ # Validate a brief
70
+ agenda-intelligence validate-brief examples/agenda-brief.json
71
+ # Validate an evidence pack
72
+ agenda-intelligence validate-evidence examples/source/evidence-pack.json
73
+ # List source categories
74
+ agenda-intelligence source-types
75
+ # Show a source plan for a category
76
+ agenda-intelligence source-plan technology-ai
77
+ ```
78
+
79
+ The CLI now uses **jsonschema** for deep validation and supports additional commands:
80
+ - `validate-manifest`
81
+ - `list-lenses` (optional `--type`)
82
+ - `get-lens <type> <id>`
83
+ - `get-protocol <name>`
84
+ - `score [example.md]`
85
+
86
+
87
+
88
+ ---
89
+
90
+ ## Documentation
91
+ Detailed docs live in the `docs/` folder:
92
+ - `docs/quickstart.md` – getting started guide.
93
+ - `docs/integrations/` – adapters for Claude Code, OpenAI Codex, Cursor, and MCP.
94
+ - `docs/evaluation.md` – how the heuristic scoring works.
95
+ - `ROADMAP.md` – future plans.
96
+
97
+
98
+
99
+ ---
100
+
101
+ ## Project structure (high‑level)
102
+ ```
103
+ agenda-intelligence-md/
104
+ ├─ src/agenda_intelligence/ # Python package
105
+ │ ├─ __init__.py
106
+ │ ├─ cli.py # console entry point
107
+ │ └─ mcp_server.py # MCP skeleton (Phase 6)
108
+ ├─ schemas/ # JSON schemas
109
+ ├─ examples/ # sample JSON files
110
+ ├─ docs/ # documentation
111
+ ├─ tests/ # pytest suite
112
+ ├─ pyproject.toml # packaging
113
+ └─ ...
114
+ ```
115
+
116
+
117
+
118
+ ---
119
+
120
+ ## Backwards compatibility
121
+ The original `scripts/agenda_intelligence.py` is retained for legacy use, but the recommended entry point is the installed `agenda-intelligence` command.
122
+
123
+ ---
124
+
125
+ *The repository still contains the original markdown protocol files (e.g., `Agenda-Intelligence.md`, `SOURCE_POLICY.md`, lens packs). They remain the source of truth for agents.*
126
+
127
+
128
+ ---
129
+
130
+ <p align="left">
131
+ <a href="https://github.com/vassiliylakhonin/agenda-intelligence-md/stargazers"><img src="https://img.shields.io/github/stars/vassiliylakhonin/Agenda-Intelligence-md?style=for-the-badge" alt="Stars"></a>
132
+ <a href="https://github.com/vassiliylakhonin/agenda-intelligence-md/network/members"><img src="https://img.shields.io/github/forks/vassiliylakhonin/Agenda-Intelligence-md?style=for-the-badge" alt="Forks"></a>
133
+ <a href="https://github.com/vassiliylakhonin/agenda-intelligence-md/issues"><img src="https://img.shields.io/github/issues/vassiliylakhonin/Agenda-Intelligence-md?style=for-the-badge" alt="Issues"></a>
134
+ <a href="https://github.com/vassiliylakhonin/agenda-intelligence-md/commits/main"><img src="https://img.shields.io/github/last-commit/vassiliylakhonin/Agenda-Intelligence-md?style=for-the-badge" alt="Last Commit"></a>
135
+ <a href="https://github.com/vassiliylakhonin/agenda-intelligence-md/releases/tag/v0.4.1"><img src="https://img.shields.io/badge/release-v0.4.1-blue?style=for-the-badge" alt="Release v0.4.0"></a>
136
+ <a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-green?style=for-the-badge" alt="License"></a>
137
+ </p>
138
+
139
+ **A drop-in markdown cognition layer for AI agents that need to analyze public agenda instead of summarizing it badly.**
140
+
141
+ Most agent-written news analysis has the same problem: it tells you what happened, adds polished implications, and stops before the output changes any decision.
142
+
143
+ Agenda-Intelligence.md gives agents a stricter workflow and an optional reasoning-memory layer called **AnalysisBank**:
144
+
145
+ ```text
146
+ Fact → Assessment → Assumption → Unknown → Scenario → Indicator to watch
147
+ ```
148
+
149
+ Use it when an agent needs to reason about policy, geopolitics, regulation, sanctions, trade, energy, elections, conflicts, or market-moving public agenda.
150
+
151
+
152
+
153
+ ---
154
+
155
+ ## What's new in v0.4.0
156
+
157
+ v0.4.0 adds a general **Source Acquisition Layer**.
158
+
159
+ Reasoning is not enough. Agents need to know which source types are required before making claims about sanctions, regulation, elections, conflict, energy, trade, financial markets, AI/technology, or regional risk.
160
+
161
+ Added:
162
+
163
+ - `SOURCE_POLICY.md` — source discipline rules;
164
+ - `source-taxonomy.json` — machine-readable source types;
165
+ - `source-requirements/*.json` — source plans by agenda category;
166
+ - `schemas/evidence-pack.schema.json` — evidence pack contract;
167
+ - `examples/source/evidence-pack.json` — valid example;
168
+ - CLI commands: `source-types`, `list-source-packs`, `source-plan`, `validate-evidence`.
169
+
170
+ ---
171
+
172
+ ## What's new in v0.3.0
173
+
174
+ v0.3.0 turns Agenda-Intelligence.md into a more agent-first package.
175
+
176
+ Added:
177
+
178
+ - `agent-manifest.json` for machine-readable discovery;
179
+ - JSON schemas for agenda briefs, memory cards, lens manifests, and signal classifications;
180
+ - `scripts/agenda_intelligence.py` CLI for agents and humans;
181
+ - `MCP.md` sketch for future MCP tools;
182
+ - `examples/agenda-brief.json` for schema validation.
183
+
184
+ ---
185
+
186
+ ## What's new in v0.2.0
187
+
188
+ v0.2.0 adds **AnalysisBank**, a ReasoningBank-inspired memory layer for agenda-analysis agents.
189
+
190
+ Instead of only giving an agent a protocol, AnalysisBank lets the project store short reusable reasoning memories from successful and failed outputs:
191
+
192
+ ```text
193
+ weak output → identify failure pattern → write memory card → retrieve next time
194
+ strong output → extract reusable reasoning pattern → write memory card → retrieve next time
195
+ ```
196
+
197
+ It also adds a lightweight eval harness:
198
+
199
+ ```bash
200
+ python3 scripts/eval_before_after.py
201
+ ```
202
+
203
+ Current test results:
204
+
205
+ ```text
206
+ eu-ai-act.md: before 3/16 → after 14/16
207
+ red-sea-shipping.md: before 1/16 → after 13/16
208
+ sanctions-routing.md: before 2/16 → after 14/16
209
+ ```
210
+
211
+ ---
212
+
213
+ ## What this does
214
+
215
+ It pushes an agent to answer better questions:
216
+
217
+ - Is this noise, weak signal, signal, structural shift, or trigger event?
218
+ - What actually changed?
219
+ - Who gains or loses leverage?
220
+ - Which incentives shifted?
221
+ - What is still unknown?
222
+ - What would confirm or falsify this view?
223
+ - What should be watched next?
224
+
225
+ The goal is not longer analysis. The goal is less filler and more decision value.
226
+
227
+ ---
228
+
229
+ ## How to use it
230
+
231
+ Copy or reference the markdown files in your agent setup:
232
+
233
+ ```text
234
+ skills/agenda-intelligence/references/analysis-protocol.md
235
+ skills/agenda-intelligence/references/agenda-triage.md
236
+ skills/agenda-intelligence/references/evidence-discipline.md
237
+ skills/agenda-intelligence/references/output-patterns.md
238
+ analysis-bank/README.md
239
+ ```
240
+
241
+ For repo-level agent instructions, link the base protocol from your `AGENTS.md`, system prompt, retrieval layer, or tool-specific skill wrapper.
242
+
243
+ Example instruction:
244
+
245
+ ```text
246
+ Before analyzing public agenda, use Agenda-Intelligence.md.
247
+ Do not summarize by default. Classify the signal, identify what changed, separate fact from assessment, name the main uncertainty, and end with watch-next indicators.
248
+ ```
249
+
250
+ The repository also includes an OpenClaw-compatible skill wrapper, but the useful part is plain markdown and portable.
251
+
252
+
253
+
254
+
255
+ ---
256
+
257
+ ## Built for agents
258
+
259
+ Agenda-Intelligence.md is designed to be consumed by agents, not just read by humans.
260
+
261
+ Agents can:
262
+
263
+ - discover the package through [`agent-manifest.json`](agent-manifest.json);
264
+ - load the entrypoint file with a stable path;
265
+ - select regional and sector lenses programmatically;
266
+ - validate structured outputs against JSON schemas;
267
+ - run a lightweight CLI;
268
+ - score before/after examples with the eval harness;
269
+ - store reusable reasoning memories in AnalysisBank.
270
+
271
+ Agent-first files:
272
+
273
+ ```text
274
+ agent-manifest.json
275
+ schemas/agenda-brief.schema.json
276
+ schemas/memory-card.schema.json
277
+ schemas/lens-manifest.schema.json
278
+ schemas/signal-classification.schema.json
279
+ scripts/agenda_intelligence.py
280
+ SOURCE_POLICY.md
281
+ source-taxonomy.json
282
+ source-requirements/*.json
283
+ MCP.md
284
+ ```
285
+
286
+ CLI examples:
287
+
288
+ ```bash
289
+ python3 scripts/agenda_intelligence.py manifest
290
+ python3 scripts/agenda_intelligence.py list-lenses
291
+ python3 scripts/agenda_intelligence.py get-lens regional eu
292
+ python3 scripts/agenda_intelligence.py get-protocol entrypoint
293
+ python3 scripts/agenda_intelligence.py validate-brief examples/agenda-brief.json
294
+ python3 scripts/agenda_intelligence.py source-plan technology-ai
295
+ python3 scripts/agenda_intelligence.py validate-evidence examples/source/evidence-pack.json
296
+ python3 scripts/agenda_intelligence.py score
297
+ ```
298
+
299
+ ---
300
+
301
+ ## 10-second demo
302
+
303
+ Without Agenda-Intelligence.md:
304
+
305
+ ```text
306
+ Companies should monitor developments and prepare for possible regulatory changes.
307
+ ```
308
+
309
+ With Agenda-Intelligence.md:
310
+
311
+ ```text
312
+ Watch for regulator guidance, first enforcement action, compliance deadline, and company product redesigns. Treat this as a signal until those indicators appear.
313
+ ```
314
+
315
+ The difference is not style. It is decision value.
316
+
317
+ ---
318
+
319
+ ## Copy-paste setup
320
+
321
+ Fastest path: copy [`Agenda-Intelligence.md`](Agenda-Intelligence.md) into your repo next to `AGENTS.md`.
322
+
323
+ Then add this to your agent instructions:
324
+
325
+ ```md
326
+ ## Agenda analysis
327
+
328
+ When analyzing public agenda, news, policy, regulation, sanctions, geopolitics, trade, elections, conflicts, markets, or strategic risk, follow `Agenda-Intelligence.md`.
329
+
330
+ Do not summarize by default. Classify the signal, identify what changed, separate fact from assessment, name uncertainty, and end with watch-next indicators.
331
+
332
+ Load it conditionally. Do not add it to every task.
333
+ ```
334
+
335
+ For deeper setups, also copy the relevant reference files from `skills/agenda-intelligence/references/`.
336
+
337
+ ---
338
+
339
+ ## Default output shape
340
+
341
+ ```markdown
342
+ **Bottom line:** ...
343
+ **Signal classification:** noise / weak signal / signal / structural shift / trigger event
344
+ **What changed:** ...
345
+ **Why it matters:** ...
346
+ **Who is affected:** ...
347
+ **Main uncertainty:** ...
348
+ **Scenarios:** ...
349
+ **Watch next:** ...
350
+ ```
351
+
352
+
353
+ ---
354
+
355
+ ## Before / after examples
356
+
357
+ The repo includes concrete examples showing the failure mode this file is meant to fix.
358
+
359
+ Without the protocol:
360
+
361
+ ```text
362
+ recap → generic implications → “monitor developments”
363
+ ```
364
+
365
+ With Agenda-Intelligence.md:
366
+
367
+ ```text
368
+ signal classification → what changed → affected actors → uncertainty → scenarios → watch-next indicators
369
+ ```
370
+
371
+ Examples:
372
+
373
+ - [EU AI Act implementation signal](examples/before-after/eu-ai-act.md)
374
+ - [Red Sea shipping disruption](examples/before-after/red-sea-shipping.md)
375
+ - [Sanctions routing through Central Asia](examples/before-after/sanctions-routing.md)
376
+ - [Evaluation rubric](examples/before-after/evaluation-rubric.md)
377
+
378
+ ---
379
+
380
+ ## What it is good for
381
+
382
+ - research and news agents;
383
+ - policy and geopolitical agenda tracking;
384
+ - sanctions and compliance monitoring;
385
+ - trade and regulatory risk briefs;
386
+ - founder/investor operating-context notes;
387
+ - NGO/donor context monitoring;
388
+ - election and diplomatic signal analysis;
389
+ - red-team checks on confident narratives.
390
+
391
+ ---
392
+
393
+ ## What it is not
394
+
395
+ - not legal advice;
396
+ - not investment advice;
397
+ - not an intelligence-certainty machine;
398
+ - not a news summarizer;
399
+ - not a replacement for source verification.
400
+
401
+ If live verification was not performed, the agent should say so.
402
+
403
+
404
+ ---
405
+
406
+ ## How it relates to AGENTS.md
407
+
408
+ `AGENTS.md` tells an agent how to operate.
409
+ `Agenda-Intelligence.md` tells an agent how to reason about public agenda.
410
+
411
+ Use `AGENTS.md` globally. Use `Agenda-Intelligence.md` conditionally when the task involves news, policy, regulation, sanctions, geopolitics, trade, elections, conflicts, markets, or strategic risk.
412
+
413
+ In practice, it can sit next to the usual agent files:
414
+
415
+ ```text
416
+ AGENTS.md = operating rules
417
+ SOUL.md = voice and stance
418
+ TOOLS.md = tool discipline
419
+ IDENTITY.md = agent identity
420
+ USER.md = user preferences
421
+ HEARTBEAT.md = proactive behavior
422
+ MEMORY.md = durable context
423
+ Agenda-Intelligence.md = public-agenda reasoning protocol
424
+ ```
425
+
426
+ Minimal `AGENTS.md` hook:
427
+
428
+ ```md
429
+ ## Agenda analysis
430
+
431
+ When analyzing public agenda, policy, regulation, sanctions, geopolitics, trade, elections, conflicts, markets, or strategic risk, follow `Agenda-Intelligence.md`.
432
+
433
+ Do not summarize by default. Classify the signal, identify what changed, separate fact from assessment, name uncertainty, and end with watch-next indicators.
434
+ ```
435
+
436
+ The important part is conditional loading. Do not spend context on agenda analysis rules when the task is ordinary coding, writing, or personal assistance.
437
+
438
+
439
+
440
+ ---
441
+
442
+ ## Source Acquisition Layer
443
+
444
+ Agenda-Intelligence.md separates reasoning from evidence.
445
+
446
+ Before writing a high-stakes or current brief, an agent should generate a source plan:
447
+
448
+ ```text
449
+ Task → source requirement category → required evidence → unsupported claims → brief
450
+ ```
451
+
452
+ Available source requirement categories:
453
+
454
+ - sanctions
455
+ - regulation
456
+ - elections
457
+ - conflict-security
458
+ - energy
459
+ - trade
460
+ - financial-market
461
+ - technology-ai
462
+ - regional-risk
463
+
464
+ CLI examples:
465
+
466
+ ```bash
467
+ python3 scripts/agenda_intelligence.py source-types
468
+ python3 scripts/agenda_intelligence.py list-source-packs
469
+ python3 scripts/agenda_intelligence.py source-plan technology-ai
470
+ python3 scripts/agenda_intelligence.py validate-evidence examples/source/evidence-pack.json
471
+ ```
472
+
473
+ If live retrieval fails, the agent should say so and downgrade evidence mode instead of pretending the brief is source-backed.
474
+
475
+ ---
476
+
477
+ ## AnalysisBank
478
+
479
+ [AnalysisBank](analysis-bank/README.md) is the ReasoningBank-inspired layer for Agenda-Intelligence.md.
480
+
481
+ The base protocol tells an agent how to analyze public agenda. AnalysisBank helps it improve across tasks by storing compact reasoning memories from both good and bad outputs.
482
+
483
+ Current memory cards include:
484
+
485
+ - vague monitoring → concrete indicators;
486
+ - overconfident sanctions upgrades → evidence thresholds;
487
+ - EU rhetoric treated as law → institutional-path check;
488
+ - sanctions routing → mechanism-first signal classification.
489
+
490
+ Memory format:
491
+
492
+ ```text
493
+ Trigger → Pattern → Better reasoning → Apply when → Do not apply when → Watch indicators → Example rewrite
494
+ ```
495
+
496
+ Eval harness:
497
+
498
+ ```bash
499
+ python3 scripts/eval_before_after.py
500
+ ```
501
+
502
+ The eval checks that after examples score higher than generic before examples on signal classification, actor specificity, uncertainty, falsifiability, watch-next indicators, and decision value.
503
+
504
+ ---
505
+
506
+ ## Regional lens packs
507
+
508
+ Agenda-Intelligence.md can be extended with lightweight regional thinking layers. These are not full specialist skills; they are portable checklists that help any agent reason better about a specific region.
509
+
510
+ Available lens packs:
511
+
512
+ - [Central Asia + Caspian](skills/agenda-intelligence/references/regional/central-asia-caspian.md) — sanctions routing, corridor politics, Caspian chokepoints, banking/payment exposure, state leverage, energy, minerals, and regional political economy.
513
+ - [Middle East](skills/agenda-intelligence/references/regional/middle-east.md) — escalation risk, energy flows, maritime chokepoints, sovereign capital, sanctions exposure, normalization, and regional power competition.
514
+ - [European Union](skills/agenda-intelligence/references/regional/eu.md) — regulation, sanctions, trade defense, digital rules, climate policy, market access, coalition politics, and enforcement risk.
515
+
516
+ Use the base protocol first, then add the regional lens when the agenda item has a clear regional connection.
517
+
518
+
519
+ ---
520
+
521
+ ## Sector lens packs
522
+
523
+ Sector lenses add domain-specific checks for high-risk agenda areas. They are not legal, financial, or technical advice; they are reasoning checklists for agents.
524
+
525
+ Available sector packs:
526
+
527
+ - [Sanctions](skills/agenda-intelligence/references/sector/sanctions.md) — designations, enforcement, export controls, routing, ownership/control, financial channels, licenses, and compliance exposure.
528
+
529
+ Use the base protocol first, then add the sector lens when the agenda item has a clear domain connection.
530
+
531
+ ---
532
+
533
+ ## Relationship to global-think-tank-analyst
534
+
535
+ Agenda-Intelligence.md is the lightweight, portable agenda-analysis protocol.
536
+ It is for any AI agent that needs to stop summarizing news and start identifying signal, uncertainty, scenarios, and watch-next indicators.
537
+
538
+ For full policy-risk memos, use [global-think-tank-analyst](https://github.com/vassiliylakhonin/global-think-tank-analyst).
539
+ That repository is the deeper OpenClaw/Codex analyst for geopolitical, sanctions, trade, regulatory, and strategic-risk memos.
540
+
541
+ Use them together like this:
542
+
543
+ ```text
544
+ Agenda-Intelligence.md = small universal protocol for agenda triage
545
+ global-think-tank-analyst = full memo skill for decision-ready policy risk analysis
546
+ ```
547
+
548
+ ---
549
+
550
+ ## Repository structure
551
+
552
+ ```text
553
+ Agenda-Intelligence.md
554
+ ADOPTION.md
555
+ agent-manifest.json
556
+ MCP.md
557
+ SOURCE_POLICY.md
558
+ source-taxonomy.json
559
+ source-requirements/
560
+ sanctions.json
561
+ regulation.json
562
+ elections.json
563
+ conflict-security.json
564
+ energy.json
565
+ trade.json
566
+ financial-market.json
567
+ technology-ai.json
568
+ regional-risk.json
569
+ analysis-bank/
570
+ README.md
571
+ MEMORY_FORMAT.md
572
+ failures/
573
+ successes/
574
+ prompts/
575
+ skills/agenda-intelligence/
576
+ SKILL.md
577
+ references/
578
+ analysis-protocol.md
579
+ agenda-triage.md
580
+ evidence-discipline.md
581
+ output-patterns.md
582
+ regional/
583
+ central-asia-caspian.md
584
+ middle-east.md
585
+ eu.md
586
+ sector/
587
+ sanctions.md
588
+ examples/
589
+ compact-brief.md
590
+ red-team-brief.md
591
+ central-asia-caspian-brief.md
592
+ middle-east-brief.md
593
+ eu-brief.md
594
+ sector/
595
+ sanctions-brief.md
596
+ before-after/
597
+ eu-ai-act.md
598
+ red-sea-shipping.md
599
+ sanctions-routing.md
600
+ schemas/
601
+ agenda-brief.schema.json
602
+ memory-card.schema.json
603
+ lens-manifest.schema.json
604
+ signal-classification.schema.json
605
+ evidence-pack.schema.json
606
+ scripts/
607
+ agenda_intelligence.py
608
+ validate.py
609
+ eval_before_after.py
610
+ llms.txt
611
+ ```
612
+
613
+ ---
614
+
615
+ ## Design principle
616
+
617
+ Keep the loaded context small.
618
+
619
+ `SKILL.md` is only a wrapper. The deeper markdown files are pulled or copied only when needed:
620
+
621
+ - `analysis-protocol.md` — how the agent should think;
622
+ - `agenda-triage.md` — how to classify developments;
623
+ - `evidence-discipline.md` — how to handle uncertainty and sources;
624
+ - `output-patterns.md` — ready-to-use brief formats;
625
+ - `regional/central-asia-caspian.md` — regional lens for Central Asia + Caspian agenda analysis;
626
+ - `regional/middle-east.md` — regional lens for Middle East agenda analysis;
627
+ - `regional/eu.md` — regional lens for European Union agenda analysis;
628
+ - `sector/sanctions.md` — sector lens for sanctions and export-control agenda analysis.
629
+
630
+ ---
631
+
632
+ ## Contributing
633
+
634
+ Contributions are welcome! Please follow these guidelines:
635
+
636
+ 1. **Issues**: Open an issue to discuss changes before submitting a PR.
637
+ 2. **Branches**: Create a feature branch (`feat/...`, `fix/...`) from `main`.
638
+ 3. **Code style**: Follow PEP8, run `pytest` and ensure all tests pass.
639
+ 4. **Documentation**: Update relevant `docs/` and `README.md` if behavior changes.
640
+ 5. **Release process**: Maintainers bump version in `pyproject.toml`, update `CHANGELOG.md`, and publish to PyPI via CI.
641
+
642
+ See `docs/quickstart.md` for development setup.
643
+
644
+ ---
645
+
646
+ ## License
647
+
648
+ MIT