turing-pyramid
بواسطة tensusds
Coding Agents & IDEsموجز
Decision framework for agent psychological health. 10 needs with decay, tension-based priority, cross-need cascades.
الوصف
ما الذي تفعله هذه المهارة
Prioritized action selection engine for AI agents using 10 configurable needs with time-decay and tension scoring. Each cycle calculates which needs are most deprived and selects concrete actions ranked by urgency. Replaces idle heartbeat loops with a decision framework that adapts to agent state over time.
Instead of polling for tasks or waiting for user input, agents get a ranked action list derived from measurable deprivation levels, decay curves, and cross-need cascades.
متى تستخدمها
- Running an AI agent on a regular heartbeat schedule with meaningful next steps
- Preventing an autonomous agent from cycling without purpose between tasks
- Tuning an agent's priorities for research-focused versus social-facing work
- Auditing what actions an agent took and why over the past week
- Detecting when a low-priority need has been neglected for too long
مثال على سير العمل
User asks: Run the Turing Pyramid cycle for my agent
- 1
Reads current satisfaction values from assets/needs-state.json
- 2
Applies time-decay to each need based on hours elapsed and the configured day/night multiplier
- 3
Calculates tension scores (importance × (3 - satisfaction)) for all 10 needs
- 4
Selects highest-tension needs using probability tables and impact range matrices
- 5
Outputs ranked action suggestions with mark-satisfied.sh commands for each
A prioritized list of 2-3 concrete actions with tension scores, impact values, and follow-up mark-satisfied commands
المتطلبات
- WORKSPACE environment variable set to the agent workspace directory path
التثبيت
clawhub install tensusds/turing-pyramidشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.