markitect-main/examples
tegwick fecc2fd4fa feat(llm): add LLM integration module with OpenRouter and Claude Code adapters
Implements markitect/llm/ package with concrete LLMAdapter implementations:
- OpenRouterAdapter: HTTP via urllib with retry/backoff on 429/5xx
- ClaudeCodeAdapter: subprocess-based Claude CLI with stdin piping
- Factory pattern: create_adapter("openrouter") or create_adapter("claude-code")
- API key resolution chain: constructor > env var > project-root key file
- 42 unit tests, 2 integration tests (gated on API key / CLI availability)

Also adds the infospace-with-history example with Wealth of Nations VSM
analysis pipeline, templates, schemas, source chapters, and processed
output for chapters 1-2. process_chapters.py now supports --provider
and --model flags for automatic LLM-driven processing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 01:17:58 +01:00
..
asset-management refactor: reorganize examples directory with topic-based subdirectories 2025-10-29 22:31:52 +01:00
content-generator feat(examples): add content-generator example demonstrating Prompt Dependency Resolution 2026-02-09 23:50:07 +01:00
design-patterns docs: Add design pattern examples and update submodule 2025-12-16 17:00:31 +01:00
essays refactor: reorganize examples directory with topic-based subdirectories 2025-10-29 22:31:52 +01:00
image-assets feat: implement comprehensive asset shipping for md-render command 2025-10-29 23:12:44 +01:00
infospace-with-history feat(llm): add LLM integration module with OpenRouter and Claude Code adapters 2026-02-11 01:17:58 +01:00
invoicing refactor: reorganize examples directory with topic-based subdirectories 2025-10-29 22:31:52 +01:00
issue-demos refactor: reorganize examples directory with topic-based subdirectories 2025-10-29 22:31:52 +01:00
manpages docs: update manpage and terminology examples to schema-of-schemas standard 2026-01-05 13:13:24 +01:00
plugins refactor: reorganize examples directory with topic-based subdirectories 2025-10-29 22:31:52 +01:00
schemas chore: establish schema-of-schemas workplan and reorganize roadmap 2026-01-04 23:47:02 +01:00
templates feat: complete schema-evolution topic with ADR schema and markdown support 2026-01-06 12:32:38 +01:00
terminology docs: update manpage and terminology examples to schema-of-schemas standard 2026-01-05 13:13:24 +01:00