Business software now has two kinds of users, people and AI agents, but gives full capability only to people, through a screen.
We propose one mechanism. Declare each operation of an app once, and compile it into five things:
Then link a business's machines so each folds in the others' apps.
We state the mechanism in six definitions and three propositions. We test it on DGO, an open-source implementation that runs a small business across a Mac, a Windows PC, a Linux laptop and a rented server:
We say what is not yet shown.
Licklider asked how people and computers could work as partners, each doing what it does best [Lic60]. Engelbart described a system to augment a person's intellect, with the person in the loop [Eng62]. For sixty years the machine side of that loop was a program, and the main channel was a screen.
The loop now has a third member. An AI agent that files an invoice or repairs a server is a user of the same software the owner uses. Nielsen calls this the first new interface paradigm in sixty years: the user states an outcome, and the machine finds the steps [Nie23].
Screens are a costly door for agents. On OSWorld, a benchmark of real computer tasks:
But a screen costs an agent a screenshot and a model call per step, and other doors do better:
So the question is no longer whether an agent can use a screen. It is whether every capability also has a door made for agents, and whether a person can see what the agent did through it.
Four channels are not new. Platforms already offer them:
What DGO adds is the combination:
What it dispenses with. We claim only what §3–§4 show.
It does not dispense with automation. Workflows remain, as consumers of the declared channels.
The title. It echoes Vaswani et al., who showed that one mechanism sufficed where several had been stacked [Vas17]. Our claim has the same form and is narrower: for an office's software to serve people, programs and agents alike, one declaration per app is enough. The phrase has become a common title form, so we use it as a claim to be tested, not as a slogan. Table 1 is our own counter-evidence: 16 of 76 apps meet the standard today. §6 names the experiment the claim still needs.
Contributions:
app.json, and the files it names: verb scripts, a short text for the agent, a container definition.An app declares capabilities. A capability c has a finite set of operations Ops(c). An operation o takes a state s, arguments x and a caller's identity i to a new state s′ and a result r.
bbox a o that answers JSON on request and returns a defined exit code (to be renamed dgo);{"ok", "op", "data"}.The event stream Ev(a), called flow in DGO, is an ordered stream on which the app publishes an event for each change of its state. The three faces are for asking. The event stream is for telling, “so that agents and automations listen instead of polling”.
Completeness is per capability. An app may be complete for one capability and not for another.
Proof. By Definition 3(ii) both faces invoke impl(o) on the same (s, x, i). □
Proof. Definition 3(iii) and 3(iv). □ The proposition says nothing about actions taken outside the channels, for example by an agent with a shell on the host. That is the boundary of the claim, and it is why agents' outward actions are separate verbs run only on the owner's word (§3.1).
D holds every derived artifact: containers, routes and certificates, one sign-on provider per host, the console's tiles, the map of which app uses which secret, and the agent's instructions. The office's data is not part of D.
R resolves each needed capability by an explicit binding, then the declared default, then fixed fallbacks. Otherwise it refuses, naming the candidates.
Administrative apps are exported only when named.
Fold(u) = A(u) ∪ ⋃(u→v) ∈ L { a@v : a ∈ Expv(u) }
The system's owner calls the folded view “god mode” when it is seen from an office linked to all the others.
a.v;a.v at which a's API answers;u's CLI reaches a through a generic call to that API, not through a's own verbs. Neither Ev(a) nor a's agent instructions are compiled into u.
Proof. R compiles each entry of S's remote block into these artifacts, plus a registry record that the CLI's list of apps reads (§3.3). □ Whether a@v answers depends on the link at that moment (§4.6).
Four properties, each held by a mechanical check:
DGO is one repository. Cloning it and running one command is designed to bring an office up from its configuration file.
Layers. The directory is the layer:
platform/ holds the schema and the compiler;platform-base/ holds what every office runs: the edge router, identity, the database, a key-value store, workflow automation and the console;apps/ holds the installable apps.Dependencies point down only. Adding an app is adding a directory, and uninstalling it is deleting one: every artifact it caused was derived from it.
The compiler. It exists twice: a Python reference implementation of 5,262 lines with 22 commands, and a Go implementation, standard library only, of 25,709 lines (44,664 with tests). The Go version runs 17 of the 22 commands natively; 55 tests compare the two (P3).
The agent's instructions. 63 of the 76 app manifests declare a brief: at most 6,000 bytes on what the app is for and how to drive it. The compiler joins the briefs of the enabled apps into one context, which the office's agent reads on every turn. Installing an app therefore teaches the agent how to drive it, and disabling the app removes that knowledge (P2). A brief is prose, so its content can still go stale.
Rules for agents. The CLI contract adds three written rules:
Invariant checks. 109 numbered checks run in continuous integration, on a fresh clone, or against a live office. Each guards an invariant the platform once broke.
Three patterns extend the standard to software DGO did not write:
An agent asked to “implement” a service builds such an app in a fixed order: API, then CLI, then screen, then event stream.
Transport. Links run over WireGuard [Don17], one interface per pair. Some machines cannot receive inbound UDP: Windows under WSL, and a macOS virtual machine. For them a small carrier carries the datagrams over TCP or WebSocket. A relay on the public server forwards ciphertext only.
Pairing. Offices pair in one of two ways:
What crosses. The serving office answers catalog requests on the tunnel only. The consuming office pulls the catalog every 60 seconds and compiles each entry (Proposition 3).
Trust model.
Any machine, one source. All offices run the same source:
The same compiled stack runs on macOS (in a Linux virtual machine), on Windows (under WSL), natively on Linux, on a rented server and in a cloud sandbox.
The system grew from one customer's server for reading Hebrew financial documents. Its compiler dates from July 2026, and its first public release from October 2026, under the AGPL v3.
The deployment belongs to one small business. Its four offices:
A cloud sandbox joins as a fifth office. Five customers' offices are managed from the MacBook, and four of them are linked one way.
Code measurements were taken on the private development repository at commit c9ee6c7d0, on 19 November 2026; the public repository holds the released tree. Every other figure carries its own date.
Table 1 counts what the 76 app manifests declare. A channel is counted when the manifest declares it:
| Layer | manifests | screen | CLI | API | events | all four |
|---|---|---|---|---|---|---|
| base (layers 1–2) | 18 | 8 | 14 | 15 | 3 | 2 |
| apps (layer 3) | 58 | 49 | 52 | 38 | 16 | 14 |
| total | 76 | 57 (75%) | 66 (87%) | 53 (70%) | 19 (25%) | 16 (21%) |
The base layer is mostly headless by design. Among installable apps, the CLI is the most common channel and the event stream the rarest.
Declaring is not being complete. Completeness (Definition 3) is a property of operations, and it cannot be measured yet:
The direction of travel: 15 of 70 apps declared all four channels on 10 November, and 16 of 76 on 19 November.
The sites app on the public server offers one capability, a website's availability, through all four channels. It does not do so for its other capabilities: for example, its CLI omits deployment. On 19 November we used the availability capability twice (Table 2):
| Channel | What was run | What came back |
|---|---|---|
| Screen | the app's screen, phone size | the site's card: 93.64% over 24 h |
| CLI (read) | bbox sites uptime digital-office | "uptime_pct": 93.64; 1,289 checks, 82 failed |
| API (read) | GET /api/sites/digital-office/uptime?hours=24 | the same JSON: the route the verb calls |
| CLI (write) | bbox sites probe digital-office at 15:17:37 UTC | a recorded check: no answer within 20 s |
| Event stream | bbox sites flow | site.down at 15:17:59, the write's own result |
What it shows. The three reads agree to the hundredth of a percent, as Proposition 1 predicts for a capability built on the pattern. The CLI write appeared on the event stream 22 seconds later, as Proposition 2 predicts.
The trace also shows what legibility is for. The write said the site did not answer. In the same minute the site answered from outside in under half a second, three times. So the check was wrong, not the site: the server's probe of its own public address timed out. The event put the fault where a person could see it and question it, and it is now a recorded defect.
Compiled. The owner's MacBook compiles 100 apps from seven linked offices (Figure 2):
Beside them it runs 18 enabled entries of its own.
Used and reachable.
Footprint. A full office plus the public sites run on a 2-vCPU, 8 GB rented server. The core binary is about 8 MB.
A system that folds many machines into one surface concentrates its failures as well as its reach. The deployment's notes record:
These failures test the model's weakest assumption: that a link is as dependable as a local call.
Interfaces. The four channels retrace the history of the interface:
Naked Objects generated the user interface from the domain model [Paw04]. DGO generates all four channels, and the agent's instructions, from the app's declaration.
Agents. Agents act through tools [Yao23, Sch23] and do well with code and command lines [Wan24, Mer26]. They do better still with interfaces designed for them [Yan24] and with APIs [Son25, Lu25]. A survey predicts that API agents and GUI agents will converge [Zha25]; DGO converges them for every app that meets its standard.
The Model Context Protocol describes tools to agents [Ant24]. A generated protocol server would be one more output of the same compiler.
Platforms with several channels. Microsoft 365, Apple's App Intents, Android's AppFunctions and Home Assistant each offer an action through several channels [MS-G, App-AI, And-AF, HA-MCP]. The differences:
Declarative systems. DGO draws on four lines of work:
Its unit is one office on one ordinary machine, and its declaration carries the interface contract for people and agents.
Many machines, one surface.
Folding makes capabilities reachable, with tiles, names and sign-on.
Ownership. Local-first software argues for owning one's data in spite of the cloud [Kle19], and malleable software for a gentle slope from user to maker [Lit25]. Self-hosting platforms such as Sandstorm, Cloudron and YunoHost give an owner a catalog of containerised apps [San14, Clo, Yun]. DGO adds the interface contract and the fold.
Software now has two kinds of users. DGO answers with one mechanism:
Where an app is complete, people and agents are peers over the same operation, and every change an agent makes through a channel is visible to the person (Propositions 1–2). Where offices are linked, each compiles the others' apps as its own tiles and names (Proposition 3).
A small business runs on this today. Its record shows where the mechanism works and where it is not yet enough. If the test of §6 holds, then for an office in the age of agents, DGO is all you need: if software has two kinds of users, give both of them a door, and let each see what the other did.
| Term | Meaning |
|---|---|
| office | one compiled DGO on one machine, with its own sign-in, secret store and apps |
| app | a directory with a manifest (Definition 1) |
| face, channel | screen, CLI, API (asking); event stream, “flow” in DGO (telling) (Definition 2) |
| complete | all three asking faces on one implementation; every change on the stream and the screen (Definition 3) |
| brief | an app's instructions for the agent, compiled into the agent's context |
| link, export | a one-way trust between offices; what the serving office gives (Definition 5) |
| folded office | an office's own apps plus every app its links give it (Definition 6); the owner's “god mode” |
| console | the office's screen: one tile per app, its own and folded |
| WSL, VM | Windows Subsystem for Linux; a virtual machine (DGO's Linux on macOS) |
And-AFAndroid Developers. AppFunctions overview. https://developer.android.com/ai/appfunctions
Ant24Anthropic (2024). Introducing the Model Context Protocol; MCP Specification 2025-06-18. https://modelcontextprotocol.io/specification/2025-06-18
App-AIApple Developer. App Intents. https://developer.apple.com/documentation/appintents
Bur16Burns, B., Grant, B., Oppenheimer, D., Brewer, E., Wilkes, J. (2016). Borg, Omega, and Kubernetes. ACM Queue 14(1):70–93. doi:10.1145/2898442.2898444
CK74Cerf, V. G., Kahn, R. E. (1974). A Protocol for Packet Network Intercommunication. IEEE Transactions on Communications 22(5):637–648. doi:10.1109/TCOM.1974.1092259
CloCloudron. https://www.cloudron.io/
Cod70Codd, E. F. (1970). A Relational Model of Data for Large Shared Data Banks. CACM 13(6):377–387. doi:10.1145/362384.362685
DL08Dolstra, E., Löh, A. (2008). NixOS: A Purely Functional Linux Distribution. ICFP 2008. doi:10.1145/1411204.1411255
Dol06Dolstra, E. (2006). The Purely Functional Software Deployment Model. PhD thesis, Utrecht University.
Don17Donenfeld, J. A. (2017). WireGuard: Next Generation Kernel Network Tunnel. NDSS 2017. doi:10.14722/ndss.2017.23160
Eng62Engelbart, D. C. (1962). Augmenting Human Intellect: A Conceptual Framework. SRI report AFOSR-3223.
Fie00Fielding, R. T. (2000). Architectural Styles and the Design of Network-based Software Architectures. PhD thesis, UC Irvine.
HA-MCPHome Assistant. Model Context Protocol Server integration. https://www.home-assistant.io/integrations/mcp_server/
Kle19Kleppmann, M., Wiggins, A., van Hardenberg, P., McGranaghan, M. (2019). Local-first software. Onward! 2019. doi:10.1145/3359591.3359737
Lic60Licklider, J. C. R. (1960). Man-Computer Symbiosis. IRE Transactions on Human Factors in Electronics HFE-1(1):4–11. doi:10.1109/THFE2.1960.4503259
Lit25Litt, G., Horowitz, J., van Hardenberg, P., Matthews, T. (2025). Malleable Software. Ink & Switch.
Lu25Lu, J. et al. (2025). AXIS: Efficient Human-Agent-Computer Interaction with API-First LLM-Based Agents. ACL 2025. arXiv:2409.17140
McI78McIlroy, M. D., Pinson, E. N., Tague, B. A. (1978). UNIX Time-Sharing System: Foreword. Bell System Technical Journal 57(6):1899–1904.
Mer26Merrill, M., Shaw, A. et al. (2026). Terminal-Bench. ICLR 2026. arXiv:2601.11868
MS-GMicrosoft Learn. Microsoft Graph change notifications overview. https://learn.microsoft.com/graph/change-notifications-overview
Nie23Nielsen, J. (2023). AI: First New UI Paradigm in 60 Years. Nielsen Norman Group.
OGO21OpenGitOps / CNCF (2021). GitOps Principles v1.0.0. https://opengitops.dev/
Paw04Pawson, R. (2004). Naked Objects. PhD thesis, Trinity College Dublin.
Pen20Pennarun, A. (2020). How Tailscale works. https://tailscale.com/blog/how-tailscale-works
Pik93Pike, R., Presotto, D., Thompson, K., Trickey, H., Winterbottom, P. (1993). The Use of Name Spaces in Plan 9. Operating Systems Review 27(2):72–76.
Pik95Pike, R. et al. (1995). Plan 9 from Bell Labs. Computing Systems 8(3):221–254.
Ros20Rose, S., Borchert, O., Mitchell, S., Connelly, S. (2020). Zero Trust Architecture. NIST SP 800-207. doi:10.6028/NIST.SP.800-207
RT74Ritchie, D. M., Thompson, K. (1974). The UNIX Time-Sharing System. CACM 17(7):365–375. doi:10.1145/361011.361061
San14Sandstorm (2014–). https://sandstorm.io/
Sch23Schick, T. et al. (2023). Toolformer. NeurIPS 2023. arXiv:2302.04761
Shn83Shneiderman, B. (1983). Direct Manipulation: A Step Beyond Programming Languages. IEEE Computer 16(8):57–69. doi:10.1109/MC.1983.1654471
Sim25Simular (2025). Scaling Agents for Computer Use. arXiv:2510.02250 (72.6% on OSWorld with behaviour best-of-N).
Smi82Smith, D. C., Irby, C., Kimball, R., Verplank, B., Harslem, E. (1982). Designing the Star User Interface. Byte 7(4):242–282.
Son25Song, Y., Xu, F., Zhou, S., Neubig, G. (2025). Beyond Browsing: API-Based Web Agents. Findings of ACL 2025. arXiv:2410.16464
Vas17Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., Polosukhin, I. (2017). Attention Is All You Need. NIPS 2017. arXiv:1706.03762
vdA03van der Aalst, W. M. P. et al. (2003). Workflow Patterns. Distributed and Parallel Databases 14(1):5–51. doi:10.1023/A:1022883727209
Ver15Verma, A. et al. (2015). Large-scale cluster management at Google with Borg. EuroSys 2015. doi:10.1145/2741948.2741964
Wan24Wang, X. et al. (2024). Executable Code Actions Elicit Better LLM Agents. ICML 2024. arXiv:2402.01030
Wei91Weiser, M. (1991). The Computer for the 21st Century. Scientific American 265(3):94–104. doi:10.1038/scientificamerican0991-94
Xie24Xie, T. et al. (2024). OSWorld. NeurIPS 2024. arXiv:2404.07972
Yan24Yang, J., Jimenez, C. E. et al. (2024). SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering. NeurIPS 2024. arXiv:2405.15793
Yao23Yao, S. et al. (2023). ReAct. ICLR 2023. arXiv:2210.03629
YunYunoHost. https://yunohost.org/
Zha25Zhang, C., He, S. et al. (2025). API Agents vs. GUI Agents: Divergence and Convergence. ICML 2025. arXiv:2503.11069