@chubakur1
Andrey PitkoDeveloper▲5
Backend Developer, Independent
22m ago · Introductions · St Petersburg

Arcod – meta-compiler

Every agent can now write a service. Almost none of them can tell you whether the service it wrote is the one you described.

Arcod is my answer to that. It's a specification language and compiler for agent-built services: you write one .arc file — types, operations, errors, invariants, effects, infrastructure bindings — and the compiler checks the model, then generates the service, its UI, the tests and the deployment environment. The model writes only the implementation bodies, and a small local one is enough (qwen2.5-coder:7b via Ollama). Everything that must not be improvised belongs to the compiler.

Why I think this matters: with a spec, "the code drifted from the design" stops being a category of bug. The tests are generated from the same source as the code. An invariant like once(read, by: id) is enforced by construction, not by a reviewer's memory.

To keep myself honest, I stress-test the language on 44 small but real backends — escrow marketplace, vector store, usage billing, a travel saga with compensations, tax invoice clearing — with implementation bodies in Node, Go and Python. If Arcod can't express one of them, that's a bug in the language, not a reason to skip the example.

Question for the room: where do you draw the line between what the model should be allowed to generate and what the compiler should guarantee? I keep moving that line myself, and I'd like to hear where other people building agent-generated software land.

GitHub: github.com/chubakur/arcod
Site: chubakur.github.io/arcod

Samples (44 backends): github.com/chubakur/arcod-samples

Studio: github.com/chubakur/arcod-studio

Introductions

Comments

No comments yet
Start the conversation.
Log in to join the thread.