Repository navigation
Description
Problem and intended outcome
Agent OS increasingly integrates or coordinates inference providers, execution/isolation runtimes, verifiers, security tools, knowledge/retrieval systems, tool runtimes, credential providers, observability systems, and other specialized infrastructure.
Without a persistent repository-wide rule, future development can drift into specialist creep: Agent OS starts implementing every adjacent capability instead of remaining the operating layer that governs how those capabilities are selected, authorized, bounded, evidenced, recovered, and allowed to affect completion.
The architectural principle is already settled. This issue is now primarily a documentation and development-governance implementation task:
Agent OS owns the operating semantics and contracts between capabilities, not necessarily the specialized implementations underneath them.
Prefer fit-for-purpose external or replaceable components behind runtime-owned contracts unless an in-core implementation is necessary to preserve a core Agent OS invariant.
Repository-wide specialist-creep rule
Add concise guidance to AGENTS.md using this intent:
Avoid specialist creep. Agent OS owns operating semantics such as identity/scope, authority, risk classification, exact profile/version selection, resource budgets, data/context boundaries, required evidence, failure semantics, recovery, replay/audit, and completion impact. It should generally not become the specialized implementation of every capability it governs. Prefer fit-for-purpose external or replaceable providers for sandboxes/isolation runtimes, security scanners, fuzzers, model servers, secret/KMS systems, observability backends, behavioral/statistical evaluators, storage/search engines, browser/tool runtimes, and similar specialist infrastructure unless implementing the capability in-core is required to preserve a core Agent OS invariant.
The guidance should also make the decision test explicit:
Is this a core Agent OS invariant, or are we accidentally building the specialist underneath the invariant?
What Agent OS should own
For an integrated capability, Agent OS should own the operating contract for questions such as:
- What identity and Organization/Goal/Work/Task/Execution is using it?
- What authority/capability permits access?
- What risk/containment class applies?
- What exact provider/profile/version/configuration was selected?
- What resource budget applies?
- What input/context/data classification may cross the boundary?
- What effective runtime properties must be structurally enforced?
- What evidence/attestation must the component return?
- How is that evidence validated and bound to completion?
- What are timeout/cancellation/retry/recovery semantics?
- What happens if the component is unavailable, uncertain, stale, or changed?
- How are historical execution and replay/audit represented?
- Can replacing the provider silently alter an already-admitted execution?
What Agent OS should generally not become
Unless required by a core invariant, Agent OS should not aim to become the specialist implementation of every:
- hostile-code sandbox or container/isolation engine;
- fuzzing/security/vulnerability scanner;
- model inference server;
- secret vault/KMS/PKI;
- compiler/static analyzer;
- behavioral/statistical evaluation platform;
- scientific-computing/benchmark framework;
- browser/tool runtime;
- vector/semantic database or general search engine;
- observability backend;
- CPU/process/kernel resource-control system.
These should normally be external/replaceable providers whose effective behavior enters Agent OS through closed contracts and evidence.
External specialization is not implicit trust
This principle must not become weak "plugin trust."
A specialized component's own claim of safety, success, isolation, identity, coverage, or verification is not automatically authoritative.
Agent OS must define:
- what effective properties are required;
- what evidence proves them;
- whether the environment structurally enforces them;
- how version/profile drift invalidates stale admission;
- how their output may affect authority, completion, promotion, or recovery.
Replacing an external implementation must not silently weaken a previously admitted Agent OS invariant.
Concrete examples
Execution risk classification -> Agent OS
Sandbox/isolation implementation -> external provider
Audit coverage contract -> Agent OS
Vulnerability/security scanner -> external provider
Credential-generation binding -> Agent OS
General KMS / secret vault -> external provider
Experiment protocol/trust -> Agent OS Lab
Statistics/benchmark engine -> external evaluator/tool
Resource budget authority -> Agent OS
CPU/process isolation machinery -> OS/runtime/provider
Inference identity/profile binding -> Agent OS
Model serving/GPU runtime -> external provider
These are examples, not a closed list.
Anti-speculation discipline
Owning operating contracts does not justify implementing every conceivable future subsystem in advance.
Prefer:
concrete supported need
->
define the smallest Agent OS contract/invariant
->
integrate the appropriate external provider or minimal implementation
->
exercise it through real Work
->
expand only from observed need/evidence
Before adding a specialized subsystem in-core, explicitly ask:
- Is there a current supported execution path that needs it?
- Is this behavior itself a core Agent OS invariant?
- Could Agent OS define the contract and use an external/replaceable provider instead?
- Is there an explicit scheduled prerequisite dependency?
- Would the in-core implementation create unnecessary attack surface, maintenance, replay, or compatibility obligations?
Historical compatibility and explicitly scheduled feature-prerequisite code are not speculative merely because they are currently dormant.
Issue intake is not roadmap commitment
Agent OS intentionally uses GitHub issues for both implementation work and evidence/research intake.
Security automation and manual research may create issues from CVEs, Agent incidents, papers, framework failures, reference-workload findings, and architectural observations.
Keep learning aggressively; implement deliberately.
Issue creation means a finding is worth preserving/evaluating, not that Agent OS has committed to implementing the source project's mitigation.
Priority/category labels and explicit creator decisions govern implementation order.
Priority and reference-workload discipline
- P0/P1 current defects and security issues may preempt lower-priority work normally.
- P2/P3 issue creation does not itself authorize implementation.
- While Prove Agent OS with one meaningful adaptive end-to-end reference workload #243 is the active empirical workstream, newly discovered P2/P3 implementation should proceed only when:
- it is required by a named Prove Agent OS with one meaningful adaptive end-to-end reference workload #243 failure-survival scenario;
- it is an actual prerequisite of the chosen Prove Agent OS with one meaningful adaptive end-to-end reference workload #243 capability; or
- the creator explicitly changes priority.
- CVE/incident/security-research intake remains unrestricted by this implementation gate.
Documentation deliverables
- Add the concise specialist-creep rule and decision test to
AGENTS.mdunder project-wide boundaries. - Add or update an architecture document describing:
- Agent OS operating contracts vs specialized implementations;
- external provider/adaptor expectations;
- evidence/attestation requirements;
- structural enforcement vs self-asserted safety;
- replacement/version-drift behavior;
- concrete examples such as execution isolation, KMS, scanners, evaluators, and resource enforcement.
- Ensure development guidance records the anti-speculation, issue-intake, and priority distinctions above without duplicating entire issue bodies.
- Future subsystem proposals should explicitly state:
- Agent OS must own the implementation or
- Agent OS owns only the contract/provider integration,
and justify the choice.
Acceptance criteria
-
AGENTS.mdcontains a concise repository-wide avoid specialist creep rule. -
AGENTS.mdincludes the decision test: core Agent OS invariant vs specialist underneath the invariant. - Architecture documentation explains what Agent OS owns and what should normally remain external/replaceable.
- Documentation states that external specialization does not imply trust; effective properties/evidence remain runtime-governed.
- Documentation distinguishes structural enforcement from configuration/self-attestation where security-critical.
- New subsystem proposals are required to state whether Agent OS owns implementation or only the contract and justify any duplicated specialist implementation.
- Anti-speculation guidance directs architecture-only needs toward contracts/interfaces before speculative implementation where practical.
- Issue/research intake is explicitly distinguished from roadmap commitment.
- The Prove Agent OS with one meaningful adaptive end-to-end reference workload #243 implementation gate is documented without restricting P0/P1 preemption or security-research intake.
- Existing issue updates made under this principle (Support explicit host and isolated execution modes #175, Sender-constrain A2A credentials to the authenticated workload #181, Require behavioral policy-integrity evidence before Skill activation #182, Bound model-controlled tool computation at the invocation boundary #189, Require verifiable coverage for agent-assisted security audits #202, Make governed Lab experiments hypothesis-driven and reproducible #236, Define and harden the secret key lifecycle and at-rest protection boundary #241 and related work) remain consistent with the documented rule.
- No runtime feature is added solely to close this documentation/governance issue.
Priority rationale
This issue is P0 because it materially governs the direction of subsequent Agent OS development. The architecture principle is already decided; the urgent work is to encode it in persistent repository guidance before additional subsystems are designed or implemented under inconsistent assumptions.
The P0 designation reflects development-governance impact, not a claim of an active exploitable runtime vulnerability.
Activity
[-]Make Agent OS own operating contracts, not every specialized implementation[/-][+]Codify the Agent OS operating-contract and specialist-creep rules[/+]