Manuscript Offprint

arXiv:2610.05912

MiniCorp: The Last Mile of the AI Agent Firm

Jingying Zeng, Zhenwei Dai, Jinning Li, Changho Shin, Dylan Zhang, Yuxuan Lu, Qi He, Dakuo Wang, Kai-Wei Chang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The last mile toward enterprise AGI is a company that runs itself. Training and adapting such agents require longitudinal enterprise data, which remain scarce, costly to acquire, and often restricted by privacy constraints. Historical archives are also frequently incomplete and record only what actually happened. They cannot show the outcomes of alternative decisions. We introduce MiniCorp, an office simulator for studying how agents can collectively run a company while generating enterprise data at scale. Using an e-commerce company as a demonstration, MiniCorp connects two interacting worlds. The external world models customers, dynamic competitors, and market mechanisms. The internal world consists of agents that observe events, discuss their options, and make strategic decisions. These decisions have lasting effects on the market, and the resulting feedback informs the firm's later decisions. As the firm and market interact, MiniCorp continuously records the agents' communications and decisions. These records preserve the information available at the time and the business results that followed. Checkpointing allows the same situation to be replayed under different decisions, providing comparisons unavailable in static archives. We evaluate end-to-end fidelity against patterns reported in empirical studies of real markets. These evaluations provide agents with realistic market feedback and reduce the risk that they learn to exploit flaws in the simulator. Our experiments show agents coordinating across roles and adapting their decisions to market feedback. With explicit long-term strategic guidance, they also sustain advertising exploration despite weak early returns. MiniCorp thus provides an environment for studying AI-run companies and a scalable source of longitudinal and counterfactual enterprise data for agent training and evaluation.

Figure

Figure 1: The simulated e-commerce environment where autonomous agent-run company is interacting with an exogenous external world.

∗^{*}Equal contribution.

1. Introduction

From chatbots to long-running agents, the path toward AGI can be viewed as unfolding in stages: (i) the chatbot: systems that answer questions; (ii) the autonomous agent: systems that act, using tools, operating software, and completing long-horizon tasks end to end; and (iii) organizational autonomy: the capacity of a system of agents to go beyond the tasks handed to them and collectively run an organization by setting strategic direction, making business decisions under uncertainty, coordinating work across roles, and keeping the organization alive and profitable over time. In the enterprise setting, this progression points toward a company that can run itself. We view such a company as the last mile toward enterprise AGI. Existing agents, however, are primarily designed to complete assigned tasks, rather than persist as an organization that sets its own priorities and coordinates decisions across roles in pursuit of long-term profitability.

The limitations of task-oriented agents become especially apparent in business operations, an economically consequential domain in which decisions are complex, context-dependent, and evaluated through consequences that unfold over time. Unlike many coding or mathematical tasks, for which correctness can often be evaluated against tests or predefined answers, business decisions rarely have a single correct action that can be verified in advance. Their consequences emerge through interactions among the firm, customers, competitors, and market conditions, and may not become fully observable for months or even years.

Training, adapting, and evaluating agents capable of running a business therefore requires longitudinal enterprise data that connects decisions to their business context and downstream consequences. Such data are exceptionally scarce because the most valuable records are internal and often unavailable for training due to privacy and compliance constraints. Archives from bankrupt firms can provide genuine enterprise data, but acquiring proprietary collections can be expensive. For example, Google was selected as the winning bidder in a bankruptcy auction with a 10 million offer for Spirit Airlines' internal business data, including employee emails, Microsoft Teams messages, spreadsheets, calendars, and operational records, which it planned to use for product development and AI training. 1^{1} Such archives are valuable because they preserve authentic organizational communications and documented business decisions. However, they remain limited in two important ways. First, records from bankrupt firms and publicly available corpora, such as the Enron corpus 2^{2} [Klimt and Yang, 2004], are often fragmented and do not provide the full context needed to reconstruct the circumstances in which recorded decisions were made. Missing context may include the state of the firm and its market, the information available to each role, preceding communications, resource constraints, and the outcomes that followed. Second, historical archives are frozen: they contain only the decisions that were actually made and the single trajectory that followed. As a result, they cannot answer counterfactual “what if” questions because the outcomes of alternative decisions are unobserved. Such archives are therefore insufficient on their own for interactive reinforcement learning, which requires agents to take alternative actions and observe their consequences.

Existing agent benchmarks, including τ2\tau^{2}-Bench [Barres et al., 2025], SWE-bench [Jimenez et al., 2024], GAIA [Mialon et al., 2024], and OSWorld [Xie et al., 2024], primarily evaluate agents on bounded tasks with predefined objectives and verifiable outcomes, rather than requiring them to operate a company continuously within an evolving market. Running a company instead requires agents to act over extended periods, make decisions without a single correct action specified in advance, coordinate through persistent organizational roles, and adapt to the lasting effects of earlier decisions. Long-

1^{1}Yahoo Finance report

2^{2}https://www.cs.cmu.edu/~enron/ horizon environments have also been developed for multi-agent social simulation [Akkil et al., 2026] and single-agent business operation with pre-defined market events, including MerchantBench [Shi et al., 2026] and EnterpriseArena [Han et al., 2026]. Even when multiple agents appear in existing benchmarks, they are typically assembled around a particular task and cease to matter once it is completed. What is therefore missing is a checkpointable office simulator that combines a persistent organization with an evolving external market, allowing the two to co-evolve and generate longitudinal enterprise data that connect organizational decisions to their changing context and downstream consequences, while supporting replay under alternative decisions.

MiniCorp addresses these gaps by instantiating office simulations that couple two interacting worlds: an evolving external market and a persistent agent firm. Using e-commerce as a demonstration (Figure 2), the external world consists of customers, adaptive competitors, suppliers, marketplace platforms, and the macroeconomic conditions under which they operate. The internal world provides a persistent organizational structure: standing roles communicate, coordinate, and retain their responsibilities across decision cycles, rather than being created temporarily for individual tasks. The evolving external world captures long-horizon consequences by continuing to operate whether or not the agent firm acts, allowing earlier decisions to produce delayed and lasting market effects. Their closed-loop interaction supports the generation of contextual and counterfactual enterprise data: market events and status flow into the agent firm, agent firm decisions alter the external world, and the resulting outcomes become the next round of observations. Checkpointing further allows the same state to be replayed under alternative decisions. Finally, MiniCorp addresses the challenge of simulating realistic market responses by explicitly modeling the inspectable operational pathways through which business decisions generate market outcomes. For example, a simulated customer submits a search query, receives a results page containing sponsored and organic listings, chooses whether to click a product, and then decides whether to purchase it. Modeling this pathway requires explicit mechanisms for query-product matching and ranking, sponsored-search auctions, click-through behavior, and conversion behavior. We ground these components in empirical research and real marketplace data, while adapting broader business mechanisms from Capitalism II 3^{3}, a commercial business-simulation engine whose events and economic logic have been tuned over years of play.

Because these enterprise records are generated through simulated market interactions, their usefulness depends critically on the fidelity of the external world. Fidelity evaluation is therefore central not only to assessing the validity of the simulated external world, but also to guiding the simulator's continued refinement. Realistic-looking market snapshots and exact numerical alignment are not sufficient because market conditions and numerical magnitudes vary across products, firms, platforms, and time periods. In principle, a high-fidelity external-world simulator should support the range of business decisions available to a human-operated firm in the represented setting and provide corresponding market feedback. For each such decision, the resulting market response should be consistent with empirical evidence in three respects: its direction and temporal dynamics, how it distributes gains and losses among market participants, and whether improving one business outcome comes at the expense of another. Moreover, the simulator should reproduce not only the final outcomes of decisions but also the intermediate response pathways through which those outcomes arise. Otherwise, agents may learn simulator-specific regularities that do not transfer to real markets, a failure mode we refer to as simulator overfitting. Fidelity must therefore be evaluated at the system level because individually grounded mechanisms for ranking, advertising, pricing, and inventory may interact through feedback loops and produce unrealistic behavior when combined. We evaluate the integrated external world

3^{3}https://store.steampowered.com/app/638200/Capitalism_2/ end-to-end against multiple empirical response patterns and use the resulting evidence to identify missing or incorrect response pathways that require further refinement (Section 3.5).

In this work, our key contributions are:

• MiniCorp, a closed-loop office simulator with an empirically evaluated external world. MiniCorp couples an evolving external market with a persistent agent firm, producing continuous streams of enterprise data that connect organizational communications and decisions to their market consequences. Using e-commerce as a demonstration, we present a general approach to constructing industry-specific external worlds by integrating established economic mechanisms, empirical evidence, and real-world data into explicit market processes with adaptive participants. We further provide a methodology for evaluating end-to-end fidelity, together with experimental evidence that the integrated external world produces market-response patterns consistent with empirical studies.

• A scalable and efficient enterprise data engine. Because the company runs continuously, it leaves behind the record a real company leaves behind (message, email, meetings, tickets, documents, etc) at a volume and speed no privacy-constrained corpus can match, with full provenance linking every artifact to the market state and the decision that produced it. Because its state is checkpointable, the same situation can be replayed under different decisions, yielding the counterfactual pairs a static archive cannot supply.

References (27)