Open Source MIT License Production-Ready

The Psychological Reasoning Layer
for AI Sales Agents

Transform raw conversations into structured psychographic profiles, behavioral models, objection intelligence, and financial Opportunity Gap matrices. Offline-first. Zero API keys required.

# 10-second quickstart — zero config, fully offline
from hermes_context import HermesContextEngine

engine = HermesContextEngine(offline_mode=True)
analysis = engine.analyze(transcript, closer_name="Alex", prospect_name="Carlos")

# analysis.buyer_profile.disc, opportunity_gap, close_probability...

Cognitive Infrastructure

Not a CRM. Not a chatbot. Reusable psychological reasoning for any conversational AI stack.

🧠

Certainty Triangle

Measures trust across three vectors: implementation confidence, brand authority, and self-efficacy. Know exactly where the prospect is stuck before they do.

📊

Opportunity Gap & COI

Quantifies the delta between current and desired revenue. Calculates the Cost of Inaction to generate high-tension closing directives with real numbers.

⚔️

Objection Battlecards

Automatically extracts verbal objections and pairs each with a structured rebuttal script, reframing angle, and next-best-move recommendation.

🌊

Cinematic Pressure Timeline

Chronological visualization of emotional turning points — skepticism spikes, curiosity bursts, and intent density — compiled from rolling dialogue telemetry.

🎯

DISC Psychographic Profiles

Classifies buyer behavioral archetypes (Dominance, Influence, Steadiness, Compliance) with friction profiles and decision-making speed estimates.

🔌

Framework Agnostic

Native plugins for LangChain, CrewAI, LangGraph, and Nous Research Hermes Agent. Drop-in tools that any AI agent can invoke within its reasoning loop.

Dual-Engine Architecture

Choose your power level. The default experience is 100% free and offline.

Free Forever

Local — Psychological

$0

Offline heuristic engine. Zero latency. No API keys. Runs entirely on your machine.

  • DISC behavioral profiling
  • Opportunity Gap & COI calculation
  • Certainty Triangle trust vectors
  • Objection extraction & rebuttals
  • Pressure timeline visualization
  • Speaking ratio & word density analytics
  • JSON / Markdown export
  • CLI tool with Rich terminal UI
Install from PyPI
Premium

Closing Code AI

BYOK

Professional QC pipeline with audio transcription, scoring, coaching, and rich HTML reports. Bring your own API key.

  • Audio file upload (mp3, wav, m4a up to 100MB)
  • Whisper transcription + speaker diarization
  • QC_4.1 professional scoring (0-70)
  • Verdict: Cierre Exitoso / Parcial / Sin Cierre
  • Coaching scripts & next-call recommendations
  • Rich HTML report embedded in dashboard
  • Quality gate with shadow/soft/hard modes
  • Webhook delivery on completion
Get API Key →

How It Works

From raw transcript to actionable intelligence in under a second.

📥
Ingest
Text or audio input
🧩
Parse
Dialogue segmentation
🧠
Profile
DISC + friction analysis
📐
Measure
Gap, COI, certainty
Output
JSON, charts, scripts

Framework Integrations

Drop-in tools for the most popular AI agent frameworks. One import, infinite reasoning.

🔗

LangChain

Register HermesContextLangChainTool() as a custom tool. Your agent invokes psychological analysis natively within its reasoning loops.

👥

CrewAI

Equip your Closer or Researcher agents with HermesContextCrewAITool(). Psychographic blocking extraction becomes a first-class crew capability.

🧬

LangGraph

Add the hermes_context_node to your state graph. Raw transcripts automatically update psychographic state variables between nodes.

Ready to close smarter?

Install the open-source engine in 10 seconds. Upgrade to professional call scoring when you're ready. No lock-in, no hidden fees.

⭐ Star on GitHub Get Closing Code AI Key