PIE (Personal Insight Engine)
Analyze your startup journey by distilling strategic patterns from your memory logs.
Setup
1. Configure API Keys: Ensure you have at least one of these in your .env or system environment:
ZHIPU_API_KEY(Default for GLM)GEMINI_API_KEY(Alternative)
2. Dependencies: Requires openai and python-dotenv python packages.
Usage
Run Weekly Review
By default, scans the last 7 days of memory files:
python3 scripts/pie.pyCustom Lookback
Scan a specific number of days (e.g., last 30 days):
python3 scripts/pie.py --days 30How it works
- Discovery: Scans
memory/for recent Markdown files. - Cleaning: Strips JSON metadata and system headers.
- Synthesis: Uses LLM to extract 3 core insights (Decision Patterns, Pain Points, Pivots).
- Output: Prints a formatted Markdown report.
*Developed by Cipher using OpenSpec.*