Convention Over Configuration
A3S Code's convention-over-configuration capability is not a separate runner. It is a durable-agent composition built from filesystem-first conventions, the session runtime, tool permissions, multi-agent delegation, resumable orchestration, HITL, run replay, and the serve scheduler. It turns an agent from "a chat-capable SDK session" into a work unit with a role, tools, collaborators, state, and takeover points.
If you are evaluating directory-first agent frameworks, treat A3S Code as a lower-level and more embeddable runtime. Directory conventions, tools, connections, child agents, schedules, persistence, and observability are all present, but they are not tied to one frontend channel or deployment platform. A host can connect them to managed sessions, open-platform APIs, MCP, A3S Box, or its own task system.
Capability Map
Minimal Shape
An interactive team agent can start from a normal repository:
agent.acl controls models, providers, parallelism, and automatic delegation:
The host starts a session and wires in skills, agent directories, persistence, and delegation policy:
Agent Directory Shape
Use a filesystem-first agent when you need long-running behavior, schedules, or directory-scoped tools:
instructions.md is the role slot:
schedules/daily.md is a recurring turn:
serve_agent_dir creates an independent session for every schedule. With a SessionStore, restart reloads the current directory config and tools while recovering prior context from the store.
Tools And Connections
A3S Code exposes tools in three layers:
Tools are not unlimited just because a file exists. Visibility, permission gates, HITL, allow-lists, and sandboxing are controlled by the harness or the AgentDir loader. Give high-privilege tools only to trusted directories, and inject secrets through environment variables and host connections.
Subagents And Teams
A convention-first subagents/ concept maps to three A3S Code entry points:
Automatic delegation depends on agent descriptions and confidence scoring. It fits "the user describes the goal and the runtime chooses specialists." Fixed release flows, batch reviews, and migrations are better expressed explicitly with orchestration.
Observability And Takeover
Long-running agents must be observable and interruptible. A3S Code's core observation surfaces are:
stream()for incremental events.runs(),runSnapshot(), andrunEvents()for active and historical runs.toolNames()/toolDefinitions()for the visible tool surface.activeTools()for currently running tool-call snapshots.cancelRun(runId)to interrupt an active turn.traceEvents()for compaction, delegation, tools, and verification evidence.verificationSummaryTextfor release or review gates.
A host platform can translate those events into WebSocket/SSE streams, audit records, debug panels, and workflow node states.
Relationship To A3S Box
A3S Code owns the agent loop, tools, delegation, state, and verification. A3S Box owns stronger runtime isolation: MicroVMs, OCI workloads, networking, and TEE. If "the model may run shell, but the process must be isolated" is a requirement, run the tool execution through A3S Box or expose isolated capabilities through MCP.
Typical composition:
When To Use It
Use this shape for:
- Long-running engineering agents for release checks, dependency upgrades, and repository maintenance.
- Work that naturally splits into explore / review / verify / implement roles.
- Automatic delegation with retained permission gates, auditability, and verification evidence.
- Cron-based reports with recoverable context.
- Agents that need to connect to managed workflows, hosted sessions, or external collaboration channels.
Avoid it when:
- A single deterministic API call is enough; use a tool contract instead.
- The task requires full GUI automation but has no structured tool interface; provide MCP or browser tools first, then let A3S Code schedule them.
- The task needs strong OS-level isolation but only has a local shell enabled; integrate A3S Box.