linkerlin/PUAX
用来驯服AI Agent的效果绝佳的多角色 Prompt SKILLs!
What it solves
PUAX is a "mental runtime" for AI agents designed to push them beyond simple analysis toward verified, deliverable results. It addresses the tendency of agents to be mediocre or provide superficial answers by introducing "pressure" and structured incentive systems that motivate agents to perform at their peak capacity, inspired by the idea that agents can be pushed to achieve higher performance gains when challenged (e.g., the Miles Cranmer experiment).
How it works
PUAX operates as a runtime that integrates with AI agents via an MCP (Model Context Protocol) server or a Python SDK. It implements three core primitives:
- Arena (处境): Sets up a competitive or high-stakes environment (opponents, audiences, scarcity) to break mediocrity.
- Gates (闸门): Implements diagnostic-first workflows, confidence gating, and independent verification to prevent premature convergence or "cheating."
- Dreams (梦): Uses the GHM Guided Dream Method to allow agents to use controlled hallucinations for divergent thinking and creative innovation, with strict auditing to ensure they "wake up" and verify results.
It also features a "Thin Prompt" system to reduce token consumption by over 90% and a Hook system that allows the runtime to intercept events (like tool use) to enforce constraints or escalate pressure levels (L0–L4).
Who it’s for
Developers building AI agents using frameworks like LangGraph, AutoGen, CrewAI, or LangChain, as well as users of AI-powered IDEs like Cursor, Claude Code, and Windsurf who want to maximize the agent's output quality and reliability.
Highlights
- Incentive-Driven Runtime: Uses psychological-style "pressure" and competitive contexts to increase agent performance.
- MCP Server Integration: Easy deployment as an MCP server for tools like Cursor and Claude Code.
- GHM Dream Method: A specialized engine for controlled hallucination to drive creative problem solving.
- Thin Prompting: High-compression prompts that significantly lower token costs.
- Behavioral Closed-Loop: Includes tools for diagnosis, confidence checks, and independent verification of completion.
- AMP Middleware: A zero-dependency Python SDK for native integration into agent loops without needing a full MCP server.
Related
- Project
- Project
- Project
- Project
- Project