Agent Doppelgänger
/install agent-doppelganger
Agent Doppelgänger (ADG)
ADG is a policy-bounded identity proxy for real-world communication. It acts as a constrained autonomous delegate that communicates on your behalf within formally provable limits.
Core Workflow
- Adapter: Normalize incoming messages from various channels.
- Intent Analysis: Classify the intent along Domain, Stakes, Authority, and Ambiguity.
- Policy Gate: Evaluate declarative policies (DSL) to determine if the agent is allowed to handle the request.
- Confidence Engine: Measure confidence in both intent analysis and proposed handling.
- Response Generation: Synthesize a response using your Style, Heuristics, and Preferences.
- Verifier: Audit the response against hard constraints before sending or drafting.
Implementation Details
1. Identity Modeling
Identity is modeled as a composition of four layers:
- Style: Surface form characteristics (length, directness, vocabulary).
- Heuristics: Core decision logic (e.g., "avoid meetings without agenda").
- Preferences: Soft weights (e.g., Work > Social).
- Constraints: Hard, user-defined rules.
2. Authority & Policy
Policies are declarative and evaluated before any generation occurs. This ensures safety and prevents prompt injection from bypassing limits.
3. Escalation
ADG automatically escalates to you (Draft or Block) if:
- Policy is violated.
- Confidence falls below the defined threshold.
- The request involves forbidden domains (Finance, Legal, Medical, etc.).
References
- See specification.md for the full architectural blueprint.
- See policy-dsl.md (To Be Created) for the formal policy language definition.
Forbidden Modeling
ADG is strictly forbidden from modeling or handling:
- Secrets
- Financial authority
- Legal intent
- Political opinions
- Emotional vulnerability/trauma
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install agent-doppelganger - After installation, invoke the skill by name or use
/agent-doppelganger - Provide required inputs per the skill's parameter spec and get structured output
What is Agent Doppelgänger?
Constrained autonomous delegate for identity-proxied communication. Handles incoming messages (Email, Discord, Slack, WhatsApp) by analyzing intent and applying declarative authority policies before generating responses. Use when the user wants to delegate communication tasks while maintaining identity fidelity and enforcing strict non-overreach boundaries. It is an AI Agent Skill for Claude Code / OpenClaw, with 1829 downloads so far.
How do I install Agent Doppelgänger?
Run "/install agent-doppelganger" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Agent Doppelgänger free?
Yes, Agent Doppelgänger is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Agent Doppelgänger support?
Agent Doppelgänger is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Agent Doppelgänger?
It is built and maintained by Sieer Shafi Lone (@sieershafilone); the current version is v1.0.0.