Fewer Moving Parts: How ASL Keeps Agent-Built Infrastructure Small
These notes were written in September 2026, before the C host was removed, and describe designs as well as shipped behaviour. Where a post says asl-host check or asl-host test, the command today is asl check or asl test; ERR_READ_UNBALANCED is now ERR_UNBALANCED; and the current checker does not reject an unmarked effect (ERR_EFFECT_UNMARKED). Figures are the ones measured on the date each post gives. Current docs
By GenSEAM | September 2026
Agents now write much of the glue that holds infrastructure together, and every layer they add is a layer someone has to verify. AgentSlang (ASL) bets on fewer layers: one language for code, data and tool calls, a checker that rejects bad code before it runs, and a toolbelt where asl '(:read ...) (:edit ...) (:check ...)' is a single call answered by a single (:batch ...) of receipts. Fewer moving parts means less to break, and less for the person reviewing the run to read.
It is a deliberate answer to what piled up over the past three years, as teams tried to make LLMs write software by stacking speculative abstraction on top of standard programming environments:
- The Wrapper Trap: large orchestration frameworks wrapping simple API calls in dozens of classes, abstract interfaces and state graphs.
- Subprocess Hell & Memory Leaks: agents spawning unmonitored Python subshells, hanging Docker containers and orphan child processes.
- Looping Hallucinations: when a model invents a file or crashes a runtime, framework boilerplate dumps a long traceback into the prompt, and the next turn reasons about noise.
The result is fragility: agents that look impressive in short demos and fail a few turns into real work.
The Easy Solution: Radical Simplicity & The Ladder of Restraint
The cleanest solution is the shortest working diff that solves the problem. The best code is the code that is never written.
Before writing a line of agent code or building an abstraction, we climb The Ladder of Restraint:
1. Does this need to be built at all? (YAGNI: delete it)
2. Does it already exist in the codebase? (Reuse existing utils)
3. Does the standard library cover it? (Use standard forms)
4. Does the native platform provide it? (POSIX syscalls, shared memory)
5. Can this be one single line? (Make it one line)
6. Only then: write the minimum verifiable code.The 3 Core Invariants of AgentSlang (ASL)
- One Language, Measured: the language packages are ASL. On 2026-10-14,
git ls-files packageslisted 1,602.aslfiles; the only other code in it is test material: two shell scripts, two C probes, LLVM IR goldens and upstream parser samples kept as.samplefixtures. That count is a dated snapshot, not a gate. The compiler is itself written in ASL and compiles itself through LLVM IR (gated on macOS only), and the same backend compiles this website to WebAssembly. - Tools as Forms: agent tools are operations called as S-expressions,
asl '(:read ...) (:edit ...) (:check ...)', several forms per call, each answered with an ASN receipt.asl '(:tools)'lists them. - Verification in the Harness, Not in Prose: an agent does not declare victory in words. A step closes when its gate exits 0:
asl test FILEfails withERR_TEST_FAILED: zero assertions executedunless the suite'srunTestsreturnstrueafter at least one assertion ran, andasl audit gatesruns the gate suites.
What We Can Show Today
We have not measured framework size or start-up latency against a Python or TypeScript orchestrator, so this post quotes no reduction figure. What the repository shows is the discipline itself: packages written in one language, a checker that rejects unknown names, wrong arity and unmarked effects before anything runs, tests that fail when they assert nothing, and tools called as forms with structured receipts.
Next Steps
- Next Article: AgentSlang and the case for S-expressions.
