The character as a program: Architecture of an AI character that lives and acts on the command line

The most widely used coding agents today act from the terminal: they read text, run commands and observe the output and the exit status. This white paper asks what happens if what lives in the terminal is not a programming assistant but a character, with a canon, a voice and a memory. We review the Unix text contract (standard input, output and error, exit statuses and pipes), the line of research that runs from ReAct and Toolformer to InterCode, CodeAct and the agent-computer interface of SWE-agent, the official documentation of Claude Code, Codex CLI, Gemini CLI and Aider, and current CLI design guidelines. We propose a three-plane architecture: a read-only canon, a memory that only grows through the character's own commands, and a plane of acts made of composable verbs with a fixed input and output contract: JSON Lines on standard output, diagnostics on standard error and a meaningful exit status. On top of it we define sandbox and approval rules based on least privilege, a headless mode for cron, pipelines and continuous integration, and six testable properties. It is a design proposal with no system built and no data of our own; its companion papers, DM-2026-21 and DM-2026-22, deal with the character's memory and with its creative direction.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-01
DOI
https://doi.org/10.5281/zenodo.24722519
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

The character as a program: Architecture of an AI character that lives and acts on the command line

Cris Olmedo
Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
article

The character as a program: Architecture of an AI character that lives and acts on the command line

Cris Olmedo
article en

Abstract

The most widely used coding agents today act from the terminal: they read text, run commands and observe the output and the exit status. This white paper asks what happens if what lives in the terminal is not a programming assistant but a character, with a canon, a voice and a memory. We review the Unix text contract (standard input, output and error, exit statuses and pipes), the line of research that runs from ReAct and Toolformer to InterCode, CodeAct and the agent-computer interface of SWE-agent, the official documentation of Claude Code, Codex CLI, Gemini CLI and Aider, and current CLI design guidelines. We propose a three-plane architecture: a read-only canon, a memory that only grows through the character's own commands, and a plane of acts made of composable verbs with a fixed input and output contract: JSON Lines on standard output, diagnostics on standard error and a meaningful exit status. On top of it we define sandbox and approval rules based on least privilege, a headless mode for cron, pipelines and continuous integration, and six testable properties. It is a design proposal with no system built and no data of our own; its companion papers, DM-2026-21 and DM-2026-22, deal with the character's memory and with its creative direction.

Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon