This folder holds material for research on the agentic process: how the Cursor agent reasons, plans, and uses tools. The main deliverable is a dense, technical document (textbook/arxiv style) suitable for multi-page PDFs with small margins and page numbers.
| File | Purpose |
|---|---|
| agentic-reasoning-framework.md | Primary source: Long-form technical document (abstract, 10 sections, appendices). Dense prose, small margins, numbered sections. Use this to generate PDFs. |
| agentic-reasoning-framework.html | Print-ready HTML generated from the .md (run python3 md-to-print-html.py to regenerate). Open in browser → Print → Save as PDF. |
| AGENTIC-THOUGHT-PROCESS.md | Shorter summary; framework, decision points, capture methods. |
| session-reasoning-template.md | Template to fill per session (user request, reasoning trace, tool sequence, outcome). |
| print.css | CSS for dense layout (small margins, serif, tight line-height). Inlined when generating HTML. |
| pdf-header.tex | LaTeX header for Pandoc: geometry (0.6in margins), pagestyle, spacing. |
| build-pdf.sh | Builds PDF via Pandoc + pdflatex (small margins, page numbers). |
| md-to-print-html.py | Converts the .md to a single HTML file with embedded print CSS (no Pandoc/LaTeX required). |
| README.md | This file. |
Requires pandoc and a LaTeX install (e.g. texlive).
cd /home/dennis/projects/openclaw01
./build-pdf.shOutput: agentic-reasoning-framework.pdf with ~0.6in margins and footer page numbers.
- Generate HTML (if you changed the .md):
python3 md-to-print-html.py
- Open
agentic-reasoning-framework.htmlin a browser. - File → Print (or Ctrl+P).
- Set Margins to “Minimum” or “None” for more text per page.
- Enable Headers and footers (or “Background graphics”) so the browser adds page numbers.
- Save as PDF.
Open agentic-reasoning-framework.md in Cursor/VS Code and use Print (Ctrl+P / Cmd+P) → Save as PDF. Margins and page numbers depend on the editor’s print styling; for consistent dense layout use Option A or B.
- Format: Dense technical textbook / arxiv / O’Reilly–HashiCorp style.
- Layout: More words per page; small margins (0.5–0.6 in); page numbers (Pandoc footer or browser print).
- Structure: Abstract, numbered sections 1–10, references, appendices (decision heuristics, session trace template).
The agent does not automatically expose internal reasoning. To get printouts of the thought process:
- After a session: Ask the agent to “summarize your thought process and key decisions for this task” or to “write a short reasoning trace to
openclaw01/session-YYYY-MM-DD.md.” - Use the template: Copy
session-reasoning-template.md, fill it (or have the agent fill the reasoning/tool parts), then print or export to PDF. - Combine: Print/PDF the main doc + one or more session traces for a full “process + instance” research pack.
See Section 9 in agentic-reasoning-framework.md for capture methods and PDF generation details.
When using OpenClaw (free tier) with this repo, see OPENCLAW_FREE_TIER.md for guidance on limiting overtokening and staying within token/rate limits.