PS-LANG™
Privacy-First Scripting Language for Multi-Agent Context Control
Control what AI agents see in your workflows with zone-based syntax.
What is PS-LANG?
PS-LANG is an open source framework with zone-based syntax for controlling what AI agents see in multi-agent workflows. Use it to structure prompts, control context handoffs, and maintain privacy in AI collaborations. Works with any AI model—Claude, GPT, Cursor, Copilot, or custom agents.
Designed to evolve with you:
- Override and extend the syntax for your needs
- Platform/agent/model agnostic approach
- Works with Claude, GPT, Cursor, Copilot, and custom agents
- Community-driven development
Perfect For
Multi-Agent Pipelines
Research → Writing → Review workflows with controlled context handoffs between agents.
Context Engineering
Control exactly what each agent sees in your multi-step workflows.
Benchmarking
Create clean test environments with isolated context for accurate benchmarks.
Privacy-First AI
Keep sensitive notes private while collaborating with AI assistants.
Why Use PS-LANG?
You don't even need to install it. As someone who writes prompts daily (Claude Code, Cursor, ChatGPT, etc.), PS-LANG just adds structure.
// Before: Unstructured prompt
"Hey Claude, build a data pipeline. Don't show the next agent my rough notes about the schema."
// After: Structured with PS-LANG
<@. Build ETL pipeline for user analytics .@>
<. Private: still deciding between Convex or Supabase realtime .>
<#. Next agent: uses daily batch processing, 24hr retention .#>
What this gives you:
Context Control
Decide what each agent sees
Cleaner Handoffs
Next agent gets only what they need
Better Logs
Your work becomes structured, searchable
Future-Proof
Syntax works today, unlocks encryption later
Zone Syntax
PS-LANG zones are patterns, not limits. Start with these 7 recommended zones, then invent your own.
<. text .>Only current agent sees
<#. text .#>Documentation for next agent
<@. text .@>Current agent's work area
<~. text .~>AI-generated metadata
<$. text .$>Business strategy, pricing
<?. text .?>Open questions
<.bm text .bm>Metrics or references
Infinitely extensible: Create any zone that makes sense for your workflow. The pattern is <symbol. content .symbol>
Get Started
Start using PS-LANG in your prompts today, or install the CLI for advanced features.