Skip to main content

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​

  1. Introduction
  2. The Idiomark Standard
  3. Technical Specification
  4. Personality Model
  5. System Architecture
  6. Implementation Patterns
  7. Security and Privacy
  8. Use Cases
  9. 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​

PrincipleDescription
Model AgnosticWorks with any AI provider
Platform UniversalExtract from any platform with public content
Privacy FirstFiles are user-controlled; raw data never stored
ExtensibleNew dimensions add without breaking compatibility
Human ReadableJSON format; debuggable and inspectable
Open SourceMIT 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​

VersionStatusFeatures
1.x.xStableCore personality dimensions
2.x.x-betaBetaExtended 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:

FrameworkIntegration
Big Five (OCEAN)Optional v2 dimension
LIWC CategoriesLinguistic marker analysis
Communication TheoryTone, formality, directness
Domain ExpertiseTF-IDF + topic modeling

4.2 Dimension Ranges​

All numeric dimensions use 0.0 to 1.0:

Dimension0.00.51.0
FormalityVery casualMixedVery formal
HumorSeriousOccasional jokesConstant humor
SarcasmLiteralSome sarcasmHeavy sarcasm
EnthusiasmFlatNormal energyHigh energy
DirectnessEuphemisticBalancedBlunt

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:

CategoryCountExamples
Social Media12+Twitter, Reddit, Mastodon, Bluesky
Development7+GitHub, GitLab, DEV.to, LeetCode
Forums6+Stack Exchange, Hacker News, Quora
Chat5+Discord, Slack, Telegram
Content12+YouTube, Medium, Twitch, Spotify
Professional3+LinkedIn, Behance
Gaming7+Steam, Xbox, PlayStation
Health4+Strava, Oura, Fitbit
Email2+Gmail, Outlook
Productivity1+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​

ModelIntegrationStatus
GPT-4/GPT-4oSystem prompt✅
Claude 3/3.5/3.6System prompt✅
Llama 2/3Prompt prefix✅
MistralPrompt prefix✅
GeminiSystem instructions✅

7. Security and Privacy​

7.1 Privacy by Design​

RequirementImplementation
User ConsentExplicit consent required for extraction
Data MinimizationOnly collect necessary data
Right to DeletionUsers can delete Idiomark files anytime
No Raw StorageRaw platform data not stored permanently
User ControlFiles are portable and user-owned

7.2 OAuth Scopes​

PlatformRequired Scopes
Twittertweet.read, users.read
GitHubread:org, read:user, repo
Reddithistory, 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:

RoleContribution
DevelopersBuild adapters, SDKs, integrations
ResearchersValidate personality models, publish findings
OrganizationsAdopt Idiomark for customer-facing AI
IndividualsCreate and share your Idiomark files

Copyright © 2026 Idiomark Contributors

License: MIT