@createsomething/pi-three-tier-framework

extensionmaintained

The Three-Tier Framework (Database, Automation, Judgment) for agent systems — as a Pi coding agent package. Classify components, debug systems, and design MCP servers using the structural model behind CREATE SOMETHING.

by — · v1.0.5 · published 4w ago

$ pi install npm:@createsomething/pi-three-tier-framework
downloads/mo
0
stars
1
last push
21h ago
open issues
210

Signals

license: MITtestspi manifest: missinginstall size: —deps: 0peer deps: 0

Download trend

No downloads in the last 12 weeks.

README

@createsomething/pi-three-tier-framework

The Three-Tier Framework (Database, Automation, Judgment) for agent systems — delivered as a Pi coding agent package.

Install

pi install npm:@createsomething/pi-three-tier-framework

Source price: $0 under the MIT License. Managed CREATE SOMETHING Control is a separate service, available from $900/month.

What You Get

Skills

  • /skill:three-tier-framework — Load the full framework reference, tier definitions, debugging heuristic, and MCP mapping
  • /skill:deep-module-design — Design modules for leverage, locality, testability, and clear tier ownership

Prompt Templates

  • /classify — Classify any system component into framework tiers
  • /debug-tier — Apply the three-tier causality heuristic to debug a failure
  • /mcp-design — Design an MCP server using the framework

The Framework

Every agent system has three tiers, mapped to MCP's three primitives:

TierWhatMCP PrimitiveControl Model
DatabaseWhat exists (state, records)ResourcesApplication-controlled
AutomationWhat happens (tools, skills)ToolsModel-controlled
JudgmentWhat should happen (policy)PromptsUser-controlled

Debug order: Always check tiers in sequence — Database → Automation → Judgment. Lower-tier failures cascade upward.

The recursive property: MCP's sampling mechanism allows Automation to request Judgment, creating a feedback loop that mirrors embodied cognition.

Policy as artifact: Constraints flow through all tiers as data — stored in Database, transformed by Automation, evaluated by Judgment.

Learn More