Idiomark v1.0
The Open Standard for AI-Human Context
Status: Stable | Version: 1.1.0 | Date: February 2026
This is the stable specification for Idiomark — what's implemented and working today.
Abstract
The Personal Context Protocol (Idiomark) is the open standard for capturing, storing, and transmitting human personality to AI systems.
Idiomark enables durable, portable personality profiles that can be extracted from any digital footprint and injected into any AI system. With 60+ platform adapters, multi-language documentation, and a growing ecosystem, Idiomark is the foundation for AI interactions that feel authentically human.
Table of Contents
- Introduction
- The Idiomark Standard
- Technical Specification
- Personality Model
- System Architecture
- Implementation Patterns
- Security and Privacy
- Use Cases
- Quick Start
1. Introduction
1.1 What Idiomark Is
Idiomark is the open standard for personality representation in AI systems.
Just as OAuth standardized authentication, and JSON standardized data exchange, Idiomark standardizes how human personality and communication style are captured, stored, and transmitted to AI.
1.2 Why Personality Matters
AI systems are everywhere:
- Customer service — Brand consistency across automated support
- Content creation — Authentic voice in generated materials
- Personal assistants — Familiar, trusted interactions
- Social platforms — Engaging, personalized experiences
- Gaming and virtual worlds — NPCs with distinct personalities
- Agent teams — Coordinated AI workers with consistent communication
In all these contexts, the ability to represent and inject personality is a fundamental requirement, not a feature.
1.3 Idiomark Vision
"OAuth for personality" — a universal standard that enables any AI system to communicate with an authentic, personalized voice.
Idiomark is the de facto standard for personality injection across:
- AI model providers (OpenAI, Anthropic, Google, Meta)
- Application platforms (customer service, content tools, social apps)
- Developer frameworks (SDKs, APIs, middleware)
2. The Idiomark Standard
2.1 Design Principles
| Principle | Description |
|---|---|
| Model Agnostic | Works with any AI provider |
| Platform Universal | Extract from any platform with public content |
| Privacy First | Files are user-controlled; raw data never stored |
| Extensible | New dimensions add without breaking compatibility |
| Human Readable | JSON format; debuggable and inspectable |
| Open Source | MIT licensed; free for any use |
2.2 High-Level Architecture
┌─────────────────────────────────────────────────────────┐
│ SOURCES │
│ Twitter │ GitHub │ Reddit │ LinkedIn │ Blogs │ ... │
└─────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────┐
│ Idiomark EXTRACTOR │
│ • OAuth authentication │
│ • Content fetching │
│ • Normalization to intermediate format │
└─────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────┐
│ Idiomark ANALYZER │
│ • NLP processing (sentiment, tone) │
│ • Statistical analysis (frequencies, patterns) │
│ • Domain extraction (topics, expertise) │
└─────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────┐
│ .Idiomark FILE │
│ { │
│ "idiomark": "1.0.0", │
│ "personality": { ... } │
│ } │
└─────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────┐
│ INFERENCE INJECTION │
│ Idiomark + User Query → Enhanced System Prompt → AI │
└─────────────────────────────────────────────────────┘
2.3 Personality Portability
Extract once, use everywhere:
// Extract once
const idiomark = await IdiomarkExtractor.extract({
sources: ['twitter', 'github'],
user: '@developer'
})
// Consume anywhere
await openai.generate('Write a blog post', { personality: idiomark })
await anthropic.generate('Review this PR', { personality: idiomark })
await llama.generate('Explain this concept', { personality: idiomark })
3. Technical Specification
3.1 File Format
A .idiomark file is a JSON document:
{
"idiomark": "1.0.0",
"id": "idiomark_abc123def456",
"created": "2025-01-15T00:00:00Z",
"updated": "2025-01-15T00:00:00Z",
"metadata": {
"entity": {
"name": "Optional Name",
"type": "human|brand|bot",
"sources": ["twitter", "github"]
},
"extraction": {
"date": "2025-01-15T00:00:00Z",
"sample_size": 2500,
"timeframe": {
"from": "2024-10-15T00:00:00Z",
"to": "2025-01-15T00:00:00Z"
}
}
},
"personality": {
"voice": { ... },
"patterns": { ... },
"domains": [ ... ],
"values": [ ... ],
"knowledge": { ... }
}
}
3.2 Personality Dimensions
Voice
How an entity communicates:
{
"voice": {
"tone": {
"primary": "casual",
"secondary": "humorous",
"confidence": 0.87
},
"formality": 0.3,
"humor": 0.8,
"sarcasm": 0.6,
"enthusiasm": 0.7,
"directness": 0.5
}
}
Patterns
Statistical communication patterns:
{
"patterns": {
"sentence_length": {
"mean": 12.4,
"stddev": 5.2
},
"emoji_usage": {
"frequency": "high",
"top_emojis": ["🚀", "💻", "🔥"],
"position": "end"
},
"punctuation": {
"exclamation_frequency": 0.12,
"question_frequency": 0.08
}
}
}
Domains
Areas of expertise:
{
"domains": [
{
"name": "javascript",
"confidence": 0.92,
"evidence": ["technical_terms", "code_blocks"]
}
]
}
Values
Inferred beliefs and positions:
{
"values": [
{
"name": "open_source",
"sentiment": "positive",
"confidence": 0.89
}
]
}
Knowledge
Specific entities and concepts:
{
"knowledge": {
"frequent_terms": ["react", "typescript", "web3"],
"mentions": {
"people": ["@dan_abramov"],
"projects": ["react", "nextjs"],
"organizations": ["vercel"]
},
"topics": {
"primary": ["frontend", "web_development"],
"secondary": ["ai", "crypto"]
}
}
}
3.3 Versioning
| Version | Status | Features |
|---|---|---|
1.x.x | Stable | Core personality dimensions |
2.x.x-beta | Beta | Extended dimensions (Big Five, linguistic markers) |
Principle: Never break compatibility. New features are optional extensions.
4. Personality Model
4.1 Theoretical Foundations
Idiomark's personality model draws from established psychological frameworks:
| Framework | Integration |
|---|---|
| Big Five (OCEAN) | Optional v2 dimension |
| LIWC Categories | Linguistic marker analysis |
| Communication Theory | Tone, formality, directness |
| Domain Expertise | TF-IDF + topic modeling |
4.2 Dimension Ranges
All numeric dimensions use 0.0 to 1.0:
| Dimension | 0.0 | 0.5 | 1.0 |
|---|---|---|---|
| Formality | Very casual | Mixed | Very formal |
| Humor | Serious | Occasional jokes | Constant humor |
| Sarcasm | Literal | Some sarcasm | Heavy sarcasm |
| Enthusiasm | Flat | Normal energy | High energy |
| Directness | Euphemistic | Balanced | Blunt |
5. System Architecture
5.1 Component Overview
Idiomark (Monorepo)
├── @idiomark/core # Extraction, validation, generation
├── @idiomark/adapters # Platform integrations
├── @idiomark/cli # Command-line interface
├── @idiomark/web # Web application
├── @idiomark/mobile-sdk-* # Native mobile SDKs
5.2 Supported Platforms
60+ adapters across 10 categories:
| Category | Count | Examples |
|---|---|---|
| Social Media | 12+ | Twitter, Reddit, Mastodon, Bluesky |
| Development | 7+ | GitHub, GitLab, DEV.to, LeetCode |
| Forums | 6+ | Stack Exchange, Hacker News, Quora |
| Chat | 5+ | Discord, Slack, Telegram |
| Content | 12+ | YouTube, Medium, Twitch, Spotify |
| Professional | 3+ | LinkedIn, Behance |
| Gaming | 7+ | Steam, Xbox, PlayStation |
| Health | 4+ | Strava, Oura, Fitbit |
| 2+ | Gmail, Outlook | |
| Productivity | 1+ | Notion |
6. Implementation Patterns
6.1 Personality Injection
Convert Idiomark data into enhanced system prompts:
function generateIdiomarkPrompt(userQuery: string, idiomarkData: IdiomarkFile): string {
const { voice, patterns, domains, values } = idiomarkData.personality
return `You are an AI assistant with the following personality characteristics:
VOICE:
- Tone: ${voice.tone.primary} (confidence: ${voice.tone.confidence})
- Formality: ${voice.formality}
- Humor: ${voice.humor}
- Sarcasm: ${voice.sarcasm}
- Enthusiasm: ${voice.enthusiasm}
- Directness: ${voice.directness}
DOMAINS: ${domains.map(d => d.name).join(', ')}
VALUES: ${values.map(v => v.name).join(', ')}
Respond following these personality characteristics. Stay in character.`
}
6.2 Model Compatibility
| Model | Integration | Status |
|---|---|---|
| GPT-4/GPT-4o | System prompt | ✅ |
| Claude 3/3.5/3.6 | System prompt | ✅ |
| Llama 2/3 | Prompt prefix | ✅ |
| Mistral | Prompt prefix | ✅ |
| Gemini | System instructions | ✅ |
7. Security and Privacy
7.1 Privacy by Design
| Requirement | Implementation |
|---|---|
| User Consent | Explicit consent required for extraction |
| Data Minimization | Only collect necessary data |
| Right to Deletion | Users can delete Idiomark files anytime |
| No Raw Storage | Raw platform data not stored permanently |
| User Control | Files are portable and user-owned |
7.2 OAuth Scopes
| Platform | Required Scopes |
|---|---|
tweet.read, users.read | |
| GitHub | read:org, read:user, repo |
history, read |
8. Use Cases
8.1 Customer Service
Extract brand personality from existing content; inject into AI support agents. Result: consistent brand voice across all automated interactions.
8.2 Content Creation
Authors extract their personality; use to generate first drafts in their voice. Result: reduced editing time; consistent personal brand.
8.3 Social Media Management
Single Idiomark file injected into content generation for all platforms. Result: coherent presence everywhere.
8.4 Digital Legacy
Idiomark files preserve communication style for future generations. Result: authentic representation of voices for descendants.
8.5 Gaming and Virtual Worlds
Idiomark files define distinct personalities for each character. Result: rich, varied NPC interactions.
8.6 Agent Teams
Multiple AI workers with coordinated, consistent communication. Result: seamless team experiences.
9. Quick Start
Installation
npm install -g @idiomark/cli
Extract Personality
# Extract from Twitter and GitHub
idiomark extract --twitter --github -o my-personality.idiomark.json
# Validate
idiomark validate my-personality.idiomark.json
Chat with Personality
idiomark chat my-personality.idiomark.json
Programmatic Usage
import { IdiomarkReader, loadIdiomarkFile } from '@idiomark/core'
const reader = await IdiomarkReader.fromFile('./profile.idiomark.json', {
provider: 'anthropic',
apiKey: process.env.ANTHROPIC_API_KEY
})
const response = await reader.respond("What's your opinion on React?")
console.log(response.content)
Conclusion
Idiomark is the open standard for AI-human context:
- Open specification — MIT licensed, free for any use
- Model agnostic — Works with any AI system
- Privacy first — Files are user-controlled
- Extensible — New dimensions add without breaking compatibility
- Production ready — 60+ adapters, stable API, growing ecosystem
Join the ecosystem:
| Role | Contribution |
|---|---|
| Developers | Build adapters, SDKs, integrations |
| Researchers | Validate personality models, publish findings |
| Organizations | Adopt Idiomark for customer-facing AI |
| Individuals | Create and share your Idiomark files |
Copyright © 2026 Idiomark Contributors
License: MIT