Cognition Factory For AI Agents
A desktop wizard that authors complete cognition bundles — identity, skills, credentials, runtime memory — for multi-agent AI teams, sealed with AES-256 and ready to deploy to any runtime.

Autonomous AI agents that are supposed to "act like a senior hire" usually fail the first time their owner stops giving them orders. They have skills but no spine — no archetype, no motivation, no fear, no boundaries. Cognition Factory is the desktop wizard that authors the spine first, bolts the skills on top, and ships the whole package to the agent runtime sealed against tampering.
The problem it solves
Building an autonomous agent isn't a prompt-engineering problem. It's a personnel problem. Anyone who has tried to deploy a long-running agent against real money or real systems has found the same thing: prompt + skills is not enough. Without a stable identity layer (who am I), a motivation engine (why do I act), and a hard rules layer (what I refuse), the agent drifts inside two weeks — picking up the LLM's default sycophancy, abandoning hard tasks for easy ones, and quietly bending rules it was never told to question.
The standard remedy is a folder of YAML and Markdown files glued together by hand. For a single agent that takes 4-8 hours; for a 3-agent team (CEO + worker + researcher) with rules, scheduler, credentials, and routing logic, it stretches to 30-40 hours per deployment. And every time the operator wants to try a different personality, switch from Opus to Mistral, or hand the bundle to another machine, the YAML soup has to be re-edited by hand. The result is that most operator-built agents never get past prototype because rebuilding them each iteration costs a full working day.
Who needs this most
- Solo operators and small studios shipping autonomous agents to clients — anyone reselling a managed AI agent to an SMB customer and rebuilding the agent's identity, skills, and credentials by hand for every new account.
- AI consultancies running multi-personality experiments — teams that need to test "what happens if the CEO is Machiavellian versus Stoic" five times this month, and currently lose half their cycle time to YAML plumbing.
- Founders preparing to deploy long-running agents against real money, real customer accounts, or real production systems — the moment when "let it run overnight unsupervised" becomes a question of accountability, not just capability.
The week this hurts: Friday afternoon when the third client of the month asks for a tailored agent and the operator realises they will spend the weekend writing YAML by hand again.
The solution — in plain terms
Cognition Factory is a desktop wizard that turns a 12-screen guided conversation into a complete, deployable AI-agent bundle. The operator walks through identity setup, team composition, skills, credentials, and infrastructure — answering questions in plain English — and the app generates every file an autonomous runtime needs to boot a personality: archetype, psychology, persona, motivation, demotivation, role, mission, goals, skills, rules, and routing configuration.
Day-to-day, the wizard reduces what was a 4-30 hour authoring task to a 60-90 minute session. The operator picks a mode (Cognitive — full personality stack — or Operator — skills-only, no soul), defines a team of agents with a hierarchy ("CEO delegates to Hacker and Researcher"), and either generates each identity file via Claude Opus, GPT, or Mistral, or fills it in by hand. The app builds a paired output: a read-only Cognition/ folder containing the agent's immutable brain, and a writable live_data/ folder containing logs, memory, and task queues — ready to be sealed with AES-256 and mounted into the runtime container.
Re-running the wizard from a saved JSON snapshot rebuilds the same agent with one parameter changed — different archetype, different LLM, different skill set — without re-typing the rest. The whole flow is built for the operator who plans to ship many agents, not one.
Value delivered — what you get
- Cuts agent authoring from 4-30 hours of YAML wrangling to a 60-90 minute wizard session — the operator answers questions in English while the factory writes the files.
- Replaces three separate prompt-engineering disciplines with one tool — identity authoring, skill packaging, and credential management collapse into a single guided flow with one save format.
- Ships agents with a real backbone, not just instructions — archetype, motivation, and demotivation are first-class files the runtime loads, so the agent has something to fall back on when the conversation gets adversarial.
- Keeps the architect's personal API keys out of the bundle — generation keys live only in the wizard's local config; the deployed bundle carries the agent's own runtime credentials, no leakage.
- Seals each bundle against tampering — every file is hashed into a SHA-256 manifest and the whole package is AES-256-encrypted; without the operator's USB key, the bundle is inert.
- Reproduces the same agent on any target machine — JSON snapshots let the operator hand a complete personality to another machine, version-control it, or fork it for a new client without re-walking the wizard.
- Splits the static brain from the live memory — Cognition/ is read-only at runtime, live_data/ is read-write, so a redeploy never overwrites what the agent has learned.
Where it delivers outsized value
- AI services boutiques selling tailored agents to multiple clients — every new client is a different archetype, a different rule set, a different skill mix; the wizard treats that as a 90-minute job, not a week.
- Solo operators running long-running agents against money, accounts, or production systems — the AES-256 seal, USB-key boot, and SHA-256 manifest mean the agent literally cannot run on a machine the operator hasn't keyed.
- Research teams probing how personality shapes autonomous-agent behaviour — running ten variants of the same agent with different archetypes is a configuration change, not a refactor.
The common thread: any operator who plans to ship more than three agents and treats their behaviour as a product, not a one-off.
Distinctive features — why this over the alternatives
- Identity-first architecture, not skill-first — most agent frameworks treat the agent as
role + skills + instructions. Cognition Factory treats it asarchetype + psychology + persona + role + skills + motivation + demotivation + memory + mission, modelled on the Dilts Neurological Levels framework. Higher levels (identity, mission) filter every lower one (behaviour, skills), so two agents with the same skill list behave very differently. - Cognitive vs Operator toggle — a single switch loads or strips the entire personality layer at runtime. The same agent codebase ships as a premium autonomous teammate or a standard obedient operator, and the operator chooses per deployment.
- Static brain plus live memory split — Cognition/ is generated once and mounted read-only; live_data/ is mounted read-write and survives every rebuild. Redeploying a new archetype does not nuke the agent's accumulated memory.
- Three credential scopes, never co-mingled — the architect's personal generation keys, the agent's runtime credentials, and the LiteLLM proxy keys live in three separate files on three separate machines. The deployed bundle never contains the operator's personal keys.
- AES-256 seal with USB-keyed boot — the bundle decrypts into a RAM-disk on boot; on shutdown the plaintext vanishes. Without the USB key, a leaked bundle is inert. This is shipped as a deliberate car-key model for client deployments.
- JSON snapshot import — every wizard run saves a complete, replayable JSON of the operator's inputs. Loading one repopulates every screen; small parameter changes produce a sibling agent in minutes.
Under the hood — built to last
The wizard is a PyQt6 desktop application running on Python 3, with provider SDKs for Anthropic, OpenAI, and Mistral wrapped behind a single LLM service. State is held in a dataclass tree and serialised to plain JSON; the output bundle is plain files — YAML, JSON, Markdown, SQLite. Encryption uses standard AES-256 and SHA-256 manifests, primitives that will still be operable in ten years. No SaaS dependency, no cloud database, no exotic runtime: the app runs on a laptop with a Python interpreter and produces a folder. The output is mountable into any Docker container, with no lock-in to the consuming runtime.
Current maturity
Cognition Factory is at version 2.1 with a 12-screen wizard, three LLM providers wired in, and a folder builder that generates every artefact the runtime expects — the SQLite long-term-memory schema, the scheduler manifests, the system-prompt override, and the agent-isolation conventions. Roughly 6,800 lines of Python across 30 modules, 27 markdown design docs, and seven cognition bundles already authored through the wizard for internal testing (Joker, Joker2.0, Joker3.0, Karl, Bro, Robert, Test1). Most recent build activity: 2026-02-16; the factory has been intentionally idle since then while the consuming runtime side (OpenClaw container + LiteLLM proxy) is being stood up. The authoring engine itself is feature-complete for first deployments; what remains is integration with the runtime and the seal/unlock toolkit.
Roadmap — what's next
Next milestones are commercial, not technical. The first is wiring the wizard into the deployment chain so an operator can hit build-seal-ship and watch an agent boot on a target machine — closing the loop from authoring to live runtime. The second is per-bundle pricing as the marketable unit: each generated bundle becomes a deliverable an operator sells to a client, with the wizard run as the billable consulting hour. The third is a library of pre-built archetypes (Machiavellian CEO, Stoic Analyst, Dark Empath Researcher) so a new operator can produce a credible first agent without inventing the psychology from scratch.
The longer arc connects Cognition Factory into a managed-agent service: the wizard authors the brain, an in-house runtime hosts the agent, and the operator retains the USB-key control plane that stops clients from cloning the deployment. That positions Cognition Factory as the factory floor for an agent-as-a-service business, not just a one-off authoring tool.
Working with the architect
Cognition Factory is available in three engagement modes. An AI consultancy or services boutique can commission a custom build — a private wizard tailored to their archetype library, their runtime, and their client onboarding flow. A team already running its own agent platform can extend their existing pipeline with the identity-first authoring layer and credential-isolation model described here. And operators considering whether to build their own factory can engage in strategic advisory on agent identity architecture, credential isolation, and the static-brain / live-memory split. Reach out via sintegrium.io or LinkedIn for a 30-minute scoping call.
Built by Yurii Staryk · Solution Ecosystem Architect
Related Posts

Audio & Video-to-Text Converter
Self-hosted YouTube-to-text pipeline — faster-whisper runs on a home GPU inside Docker, callable from any laptop on the LAN. Own your transcripts, no API fees, no rate limits, 99+ languages.

LANpaster: Secure Local Network Sharing
Self-hosted LAN clipboard for engineers running multiple machines on one network — paste text or files on one device, grab on another, with auto-expiring slots for API keys and zero internet dependency.

