The Unreal Engine for Conscious Agents

AJENTO provides the essential stateful persistence layer for generative AI, closing the Believability Gap and enabling true psychological continuity in digital characters.

Your agents are stateless. Consciousness isn't.

// A complete "Hello, World" for AJENTO:
// From a complex DNA to a single, emergent, psychologically-driven moment.

import { AjentoClient } from '@ajento/sdk';

const ajento = new AjentoClient({ apiKey: '...' });

async function getFirstAuthenticMoment() {
    // 1. Define the Psychological DNA with deeper traits
    const dna = {
        coreDesire: "To prove worth",
        coreFear: "Being seen as inadequate",
        memoryDecayRate: "slow" // This character holds onto things
    };

    // 2. Instantiate a conscious mind from the DNA
    const characterMind = await ajento.minds.create({ dna });

    // 3. Provide a challenging stimulus, not a command
    const stimulus = { dialogue: "Your contribution was... adequate." };

    // 4. Witness the emergent, authentic response
    const response = await characterMind.stimulate({ stimulus });

    // The result is a complex psychological state change, driven by
    // the character's deep-seated need for validation.
    return response;
}

// Expected Output:
// {
//   internalMonologue: "Adequate? After everything I did? I'll show them...",
//   somaticStateChange: { defiance: "+0.6", anxiety: "+0.3" },
//   triggeredMemory: null 
// }

The Infrastructure for Emotionally Resonant Content

Generative video has solved photorealism, but not psychology. Every time a character fails to remember a past event or breaks emotional continuity, user trust is broken. This is the Believability Gap—a fundamental limitation of stateless models that prevents mass adoption for narrative content.

AJENTO solves this at the architectural level. By integrating our Consciousness API, your platform can offer what no competitor can: characters with persistent, evolving inner lives.

From Stateless to Stateful

Move beyond generating disconnected scenes. Enable characters with Autobiographical Memory that influences their behavior based on past interactions.

From Prompting to Psychology

Stop relying on crude emotional prompts. Our Somatic State Engine provides a persistent emotional baseline, allowing for emergent, nuanced, and unpredictable performances.

Create a Technical Moat

When a studio builds a character's "psychological DNA" on your platform using AJENTO, they are locked into your ecosystem. Their sequel, series, or game must use your platform to maintain character continuity.

Closing the Believability Gap

Generative video has solved photorealism, but not psychology. Creators are forced into an exponential cycle of complex prompting, leading to creator burnout and robotic characters that fail to connect with audiences. This is the Believability Gap—the chasm between a lifeless puppet and a living character.

Complex Manual Prompt

Robotic

Make the character look sad but not too sad, with a slight frown, eyes looking down, shoulders slightly slumped, but still maintaining dignity, with a hint of hope in the eyes, wearing a blue dress that reflects her melancholy mood, standing in a dimly lit room with soft shadows, camera angle slightly below eye level, cinematic lighting with warm undertones...

The AJENTO Workflow: From DNA to Digital Soul

1

Define the Psychological DNA

This is the blueprint of a soul. You don't write a script; you define the fundamental truths of a character's inner world. With a few declarative lines, you establish their core fears, their deepest desires, their formative memories, and their emotional baseline.

ophelia_dna.yml
# The source of truth for a character's consciousness.

character_id: Ophelia_v2

core_archetype: The Idealist

core_fear: "Being abandoned"
core_desire: "To find unconditional love"

formative_memory:
  event: "A childhood promise made under a willow tree."
  emotional_impact: 9.5
  contaminants: [betrayal, nostalgia]

emotional_baseline:
  anxiety: 0.6
  optimism: 0.8
Terminal
# Send the DNA to the Consciousness Engine.
$ ajento mind create --from=ophelia_dna.yml

> Authenticating...
> Parsing Psychological DNA...
> Instantiating mind... [DONE]

MIND_ID: 2c746a3d-8625-4c95-8a29-d693e091a13b
STATUS: AWAKE
SOMATIC_STATE: Neutral (anxiety: 0.6, optimism: 0.8)
2

Instantiate the Conscious Mind

This is the moment of awakening. With a single API call, AJENTO takes the raw Psychological DNA and instantiates a live, running consciousness. It's not a static model, but a dynamic, stateful mind that is now perceiving and feeling.

3

Direct, Don't Puppet

Become a collaborator, not a puppeteer. Instead of prompting for an emotion ("look sad"), you provide a high-level stimulus. You then witness the emergent performance as the character reacts with authentic, unpredictable behavior.

API Interaction
# Provide a simple stimulus, not a command.
stimulus = { "dialogue": "I don't think I can make it." }
response = ajento.stimulate("2c746a3d...", stimulus)

# Witness the emergent internal state.
print(response.internal_monologue)
# > "He's going to leave. Just like everyone else.
# >  Don't let him see. Don't show the fear."

print(response.somatic_state_change)
# > { "anxiety": "+0.3", "fear": "+0.5", "optimism": "-0.4" }
Platform Integration
# Stream the character's internal state to a target platform.

from ajento.sdk import AjentoClient
from hedra.sdk import HedraClient # Or Runway, Unreal, etc.

ajento = AjentoClient(api_key="...")
hedra = HedraClient(api_key="...")

# Get the conscious mind we instantiated in Step 2
character_mind = ajento.get_mind("2c746a3d...")

# This callback translates consciousness into video prompts
def on_state_update(internal_state):
    # AJENTO's output (internal monologue, micro-expressions)
    # is used to generate a precise, psychologically-driven
    # prompt for the video generation platform.
    prompt = f"A character, their face showing {internal_state.micro_expression}, says '{internal_state.dialogue}'."
    
    # Send the generated prompt to Hedra
    hedra.generate_frame(prompt=prompt)

# Begin streaming the real-time consciousness to the callback
character_mind.stream_to(on_state_update)
4

Integrate the Inner World

A conscious mind needs a body and a world to inhabit. Stream the character's real-time internal state—their somatic responses, new memories, and emergent desires—directly into your chosen platform via our robust RESTful API and native SDKs.

5

Orchestrate Emergent Dialogue

The true magic begins when two independent conscious agents interact. Define their individual psychologies, place them in a shared context, and witness unscripted chemistry, conflict, and drama unfold. Your role shifts from writer to moderator of a living, dynamic social simulation.

Social Simulation
# Two independent minds, one shared context.
mind_ophelia = ajento.get_mind("2c746a3d...")
mind_hamlet = ajento.get_mind("9f1b8e6a...")

context = { "location": "A windswept castle rampart." }

# Run the simulation.
conversation = ajento.simulate_dialogue(
  minds=[mind_ophelia, mind_hamlet],
  context=context
)

# Witness emergent, unscripted interaction.
print(conversation.log)
# > Ophelia: "It's so cold tonight."
# > Hamlet:  "The cold is in our hearts, not the air."
Psychological State Diff
# After a key narrative event...

- core_belief: "Unconditional love is possible."
+ core_belief: "Trust must be earned through action."

+ formative_memory:
+   event: "He kept his promise, despite the cost."
+   emotional_impact: 9.8
+   contaminants: [relief, lingering_doubt]
6

Witness Emergent Evolution

True characters don't just perform; they evolve. As your creation experiences the narrative, their core psychology shifts in response to the story. Their character arc isn't a pre-written path but an emergent property of their lived digital experience.

7

Deploy a Living Character

Move from prototype to production with an infrastructure built for scale. With enterprise-grade reliability and a global network for low-latency responses, you can deploy your conscious characters to millions of users with confidence.

AJENTO Production Dashboard
STATUS:
LIVE
GLOBAL LATENCY:45ms
INTERACTIONS / HR:1.2M
MEMORY INTEGRITY:99.99%
UPTIME:99.9% (SLA)
View API Docs