Emocentric Docs

Emocentric Studio is a Next.js app for designing, testing, versioning, and deploying emotional AI characters. The docs in this repo explain both the product surface and the runtime behavior behind it.

Start Here

Core Ideas

Runtime Shape

The studio writes authored configuration as an AgentBlueprint plus a small Studio runtime sidecar. During a turn, the server loads the active version, forces the engine storage scope to the server-derived character id, runs the Emocentric engine under a Postgres advisory lock for the relationship, persists transcript and trace data, and returns a live snapshot for the UI.

That means the studio is not a mock editor. The chat, compare, pulse, monitor, and deployment views all exercise the same persisted engine state that live surfaces use.

Local Docs Behavior

/docs serves these checked-in Markdown files as styled HTML. If a requested page is not present locally and DOCS_ORIGIN is configured, the route falls back to the external docs proxy.