A conversational AI tool that identifies covert or subtle abuse from powerful people in books, messages, or public statements.
This tool uses advanced language models to analyze text for subtle patterns of abuse, manipulation, and problematic language that might be overlooked in everyday communication, especially from people in positions of power.
Text Analysis: Analyze any text for subtle forms of abuse and manipulation
Pattern Recognition: Identifies 14 different patterns of subtle abuse
Severity Assessment: Rates identified patterns as subtle, moderate, or overt
Confidence Scoring: Provides confidence levels for each identified pattern
Example Extraction: Highlights specific examples from the analyzed text
Response Suggestions: Offers constructive ways to address problematic language
Known Figure Analysis: Pre-configured examples for analyzing statements from known powerful figures (e.g., Steve Jobs, Ray Dalio)
Privacy-First Session Management: Choose how your sessions are stored with privacy as the default
Data Management: Clear saved data with one click
Pattern Examples: Add your own examples to identified patterns
Threaded Conversations: Continue conversations about specific patterns
Export Functionality: Export analysis results for sharing or archiving
├── src/ # Source code
│ ├── analyzer/ # Core text analysis functionality
│ │ └── index.ts # Main analyzer module
│ ├── api/ # HTTP API endpoints
│ │ ├── chat-api.ts # Chat sessions and pattern examples API
│ │ ├── power-abuse-analyzer.ts # Text analysis API
│ │ └── static-file-server.ts # Static file server
│ ├── database/ # Database operations
│ │ └── index.ts # SQLite database operations
│ ├── utils/ # Utility functions
│ │ ├── error-handler.ts # Error handling and response formatting
│ │ └── logger.ts # Logging utility
│ ├── index.ts # Main entry point
│ └── README.md # Source code documentation
├── tests/ # Test files
│ ├── analyzer.test.ts # Tests for text analysis
│ ├── chat-api.test.ts # Tests for chat API
│ ├── database.test.ts # Tests for database operations
│ └── README.md # Test documentation
├── frontend/ # Frontend files
│ └── index.html # Main HTML file
├── AUTOBOT.md # Development conversation history
└── README.md # Main documentation
The application uses SQLite with the following tables:
The database uses recursive common table expressions (CTEs) to handle threaded conversations about specific patterns.
The application requires the following environment variable:
CEREBRAS_API_KEY
: Your Cerebras API key for accessing the Qwen 32B model🔒 Temporary Sessions (Default): No data is saved anywhere. This provides maximum privacy but sessions are lost when the page is refreshed. Analysis capabilities are limited (no AI processing). This is the default for privacy protection.
💾 Local Storage: Sessions are saved only in your browser's local storage. This provides privacy as data never leaves your device, but with limited analysis capabilities (no AI processing). Sessions are only available on the device where they were created.
☁️ Server Storage: Sessions are saved to the SQLite database on the server. This provides full AI-powered analysis using Cerebras Qwen-3 32B model, persistent sessions that can be accessed from any device, and complete pattern recognition capabilities.
The system uses a carefully crafted prompt to guide the AI in identifying subtle forms of abuse:
You are an expert in identifying subtle forms of abuse, manipulation, and problematic language from powerful people.
Your task is to analyze the provided text and identify patterns that may indicate:
[List of 14 abuse patterns]
Focus on SUBTLE and COVERT forms of these patterns that might not be immediately obvious.
For each identified pattern, provide:
- A clear explanation of the pattern
- The severity (subtle, moderate, or overt)
- Your confidence level (0.0-1.0)
- Specific examples from the text
If no problematic patterns are found, state so clearly.
Provide an overall assessment of the text.
If appropriate, suggest constructive responses or ways to address the problematic language.
For handling follow-up questions about specific patterns:
You are an expert in identifying and explaining patterns of subtle abuse, manipulation, and problematic language from powerful people.
A user has previously identified the following pattern in some text:
Pattern: [pattern_type]
Explanation: [explanation]
Severity: [severity]
Confidence: [confidence]
Examples of this pattern:
[examples]
The user is now asking a follow-up question or providing additional information about this pattern.
If they are providing a new example, acknowledge it and explain how it fits the pattern.
If they are asking a question, provide a detailed, educational response about this specific pattern.
Focus on being helpful, informative, and sensitive to the nuances of power dynamics.
To run the tests, use the following command:
deno test tests/
This tool provides analysis based on AI pattern recognition and should be used as one input among many when evaluating communication. It is not a definitive judgment of a person's character or intentions.