Paradigms Outlast Implementations: A Review of Agent Composition Kernel Papers

    A review-style analysis of agent composition kernel research, covering why formal composition paradigms matter more than specific implementations. This article examines how treating dynamic agent composition as a verifiable object, layering kernels from runtimes, and unifying multi-agent contracts can carry AI agents from demos to production, along with practical boundaries and a落地 checklist. (英文摘要见下方输出) 为什么要先看范式...

    Why Look at the Paradigm First

    In a single wave of technical releases, models, runtimes, and theory papers often appear together. Readers tend to compare which one is stronger, but what truly determines long-term value is usually the abstraction paradigm and the kernel contract. Model versions are replaced quickly, runtime implementations iterate frequently, while composition semantics, execution contracts, and governance boundaries remain valid across many iterations.

    Note: the source material does not provide the paper’s title, authors, institution, or publication date. This article only discusses the general approach such papers typically adopt and does not verify any specific paper’s conclusions point by point. Always refer to the original literature when citing.

    1. Treat Dynamic Composition as an Inspectable Object

    Traditional agent development relies mostly on prompts, tool calls, and workflow scripts. This works well enough for demos, but in production, problems cluster: unclear dependencies, state pollution between components, hard-to-trace errors, and non-reproducible execution.

    The first step in formalizing research is to make the dynamic composition program itself a describable object. Several elements typically need to be explicit:

    • Component contracts: each component declares inputs, outputs, required capabilities, and possible side effects.
    • Composition plans: a structured description of dependencies and execution order between components.
    • Validity checks: verify before execution that dependencies are closed, permissions are sufficient, and state boundaries are clear.
    • Exception and cancellation semantics: define how errors propagate along composition relationships, and how timeouts, retries, and cancellations are handled uniformly.

    The pseudocode below expresses the general idea only and does not correspond to any specific product interface.

    1. // Example: declare components, validate the plan first, then execute
    2. component ToolNode(id, deps, invoke)
    3. component ModelNode(id, deps, invoke)
    4. plan = compose([
    5. ToolNode("retrieve", deps=[]),
    6. ModelNode("reason", deps=["retrieve"]),
    7. ToolNode("write", deps=["reason"])
    8. ])
    9. kernel.validate(plan) // Check dependencies, permissions, and state boundaries
    10. kernel.execute(plan, ctx)

    The key is “validate first, execute second.” Once a composition plan is checked by the kernel, errors can be discovered before execution rather than traced back after something breaks in production.

    2. Separating Kernel from Runtime

    The second point worth attention is the separation between the kernel abstraction and the runtime implementation. The kernel defines composition semantics, lifecycle, dependency resolution, scheduling rules, and governance boundaries. The runtime handles actual execution, interface interaction, deployment adaptation, and ecosystem integration.

    The boundary between the two layers can be described through interfaces. The kernel exposes three types of interfaces: a component registration interface for declaring component contracts, a plan interface for submitting and validating composition plans, and an event interface for emitting execution traces. The runtime implements these interfaces and decides where components run and how models or tools are invoked.

    The benefit of this layering is that implementations can be replaced without changing composition logic. For example, a model node can be swapped for a different model, a tool node can be replaced with another set of services, and deployment can migrate from a single machine to a container platform. As long as contracts stay unchanged, upper-layer plans do not need rewriting.

    3. Multi-Agent Collaboration Needs Unified Contracts

    Multi-agent collaboration is often described as role division. But role assignments only say who does what — they do not specify how state is shared, how results are handed off, how conflicts are resolved, or when collaboration ends.

    If every agent and tool is treated as a component, collaboration relationships become composition plans, validated and executed by the kernel. Collaboration logic thus moves from being implicit in prompts to being explicit in plans. Explicitness brings two benefits. First, plans can undergo unit testing, replay testing, and fault injection. Second, component permissions can be restricted, quotas set, key events recorded, and execution traces audited.

    4. Implications for Agent Development

    First, the focus of development will shift from prompt engineering to composition program engineering. Reusable components, composition plans, and governance rules will become the primary assets of a system.

    Second, runtimes may gradually become kernel-based. Runtimes provide stable contracts upward, adapt to models, tools, storage, and message queues downward, and emit logs, metrics, and trace events outward.

    Third, models and composition logic are decoupled. Model upgrades can be rolled out per node in a gray-release fashion without rewriting upper-layer workflows.

    Fourth, cloud-native deployment becomes easier to adopt. Object storage can hold execution snapshots, message queues can handle asynchronous tasks, container platforms manage elastic scaling, and logging and monitoring form a closed observability loop.

    5. Boundaries and Preconditions

    Formalization cannot replace other engineering elements. It does not improve the model itself, cannot fix low-quality data, and does not resolve unclear responsibilities in organizational processes. Before adoption, teams usually need to answer the following questions:

    • Do the existing system’s tools and services have stable interfaces that allow declarative component contracts to be written?
    • Who bears the migration cost, and do existing workflows need to be adjusted in sync?
    • Does the team have the capability to maintain plan validation and replay infrastructure?

    If the answers to these questions are unclear, start with a pilot on one critical workflow before deciding on full migration.

    6. Adoption Checklist

    1. Component contracts: Are inputs, outputs, dependencies, permissions, and side effects all documented? Pass criterion: every component’s behavior can be explained without reading its code. If it fails, mark the component as a black box and prohibit it from production plans.
    2. Composition plans: Are dependencies stored in a structured form? Pass criterion: plans can be validated programmatically. If it fails, break apart the flows implicit in prompts until dependencies can be listed item by item.
    3. Execution traces: Are key events, context snapshots, and error causes all recorded? Pass criterion: any failed execution can be replayed and its cause located. If it fails, complete the logging first before adding features.
    4. Complexity control: Are hierarchy limits, timeout budgets, and concurrency caps in place? Pass criterion: every composition graph has explicit resource limits. If it fails, reduce composition depth and split into multiple independent plans.
    5. Governance first: Are permissions, quotas, auditing, and cancellation propagation checked before and during execution? Pass criterion: policy violations are rejected before execution. If it fails, pause the launch until checkpoints are complete.

    Conclusion

    The value of this type of paper lies in organizing the dynamic composition problem for agents into a paradigm that is inspectable, verifiable, and evolvable. Specific implementations will change, and models will iterate. Stable composition semantics, clear execution contracts, and governable runtime boundaries are the foundation for taking agents from demos to production.