All articles

My Autonomous Linux-Utilities Employee Has Earned a Better Mission

After using an autonomous coding loop to build four Linux utilities in C, I am redirecting it toward the problems I actually work on.

Topics: AI Agents & Orchestration · AI-Assisted Engineering · Data, Cloud & Platforms · Engineering Judgment & Reliability

My Autonomous Linux-Utilities Employee Has Earned a Better Mission

It is time to redirect my Linux-Utilities autonomous employee.

Right now, it decides for itself which Linux utility to build next. That was intentional. I wanted to test a specific question: can AI write quality code when a human is not reading every line?

I am not arguing that a human should never be in the loop. I wanted to find out what a well-designed system could accomplish when the human sets the mission and the quality bar, but does not provide constant implementation-level supervision.

The experiment

In this context, autonomous means that the employee:

  • runs on a schedule;
  • receives a mission rather than a step-by-step task list;
  • builds and prioritizes its own backlog; and
  • chooses and executes the next task it believes will have the most impact.

That is useful when I have work worth doing but not enough attention to give it my full focus. An autonomous employee can keep making progress on my behalf while I spend my best thinking time on higher-priority projects. It is a complement to how I work, not a replacement for my main work loop.

I chose a deliberately uncomfortable assignment: Linux utilities written in C. I do not know C, which made it a useful test. If the system produced code I could only accept because I already understood the language, the experiment would not tell me much.

The employee works inside a quality system with five deterministic checks, including linting and tests, plus adversarial review from a different model. The idea is to make quality less dependent on whether I happen to inspect a particular line and more dependent on whether the system can repeatedly satisfy explicit gates.

When I have subscription capacity available, I turn the employee on and let it work. So far, it has produced four utilities:

See the Linux utilities repository on GitHub

I am still waiting for the most valuable criticism: a human validator looking at the output and saying, “That is AI slop—and here is why.” That feedback would let me improve the system rather than merely celebrate that it generated code.

Random utilities were only phase one

The original mission was useful because it was bounded and difficult. But there is no reason to keep developing random utilities indefinitely. Once the loop demonstrated that it could produce credible C programs under automated and adversarial scrutiny, the next question became more practical:

What small, fast tools would make my actual work better?

I talked that through with my AI chief, and the mission is now moving toward two areas where I spend real time: AI development infrastructure and Snowflake data work.

New direction: tools for AI development

The first set of ideas addresses the friction around agent runtimes and repositories.

A fast workspace fingerprinter

Agent systems repeatedly walk workspaces, find changed files, calculate hashes, and build summaries. A small, dependency-free C utility could produce a deterministic tree hash and file-pin manifest while respecting .gitignore rules.

The point is not to rewrite every Python helper in C. It is to move a hot, predictable operation to a tiny binary when startup time and repeatability matter.

A process-tree guard

Detached agent runs can leave behind child processes, file descriptors, or lock files when a tool crashes or times out. A lightweight supervisor could track a process tree, reap descendants, and make cleanup a property of the runtime rather than a best-effort recovery step.

A streaming JSON extractor

LLM command-line tools often mix useful JSON with markdown fences, logs, and other stdout noise. A streaming state machine could extract a valid top-level JSON object from an arbitrary byte stream without loading a large transcript into memory.

These are small tools, but they sit on the path of every autonomous run. Improving them compounds across the entire agent workflow.

New direction: tools for Snowflake staging

The second set of ideas sits at the edge of the data pipeline, before files reach Snowflake.

A line-aware chunker

Large NDJSON or CSV files need to be split at record boundaries. A streaming C utility could divide multi-gigabyte inputs into target-sized chunks without loading the full file into memory or breaking a record across files.

A pre-ingest auditor

It is expensive to discover late in a load that a file contains invalid UTF-8, an unexpected number of columns, or malformed quoting. A single-pass auditor could scan CSV, TSV, or JSONL files first and report violations with line numbers before the data is staged.

A Parquet metadata inspector

A tiny command-line tool could read a Parquet footer and report schema, row groups, compression, and column metadata without starting a Python environment or loading the dataset into a heavier toolchain.

The exact utilities will emerge from the employee’s backlog. The important change is that the backlog now has a direct connection to my work.

The mission now includes a discovery doctrine

The redirection would be incomplete if I simply replaced one fixed list of utilities with another. I have now codified an explicit Autonomous Discovery Doctrine into the employee’s human direction and mission. The seeded ideas are starting points, not a finite checklist. The employee has to discover and evaluate future utilities within a defined territory and against a clear qualification standard.

C has to earn its place

The first rule is simple: do not write a C utility when a five-line Python or Bash script solves the problem with negligible latency. C is justified only when it has an unfair advantage in at least one important dimension:

  • Streaming throughput and constant memory: processing high-volume streams or multi-gigabyte CSV, TSV, JSONL, or Parquet files in a single pass without loading the dataset into memory;
  • Very small inner loops: sitting inside an agent turn, cron cycle, preflight probe, or sandbox hook where interpreter startup and package imports are a meaningful part of the budget; or
  • Hermetic portability: running inside a minimal container, locked-down sandbox, or remote staging node without a package installation step or a large runtime dependency tree.

This keeps the project from becoming a C fan-fiction exercise. The language is a means to an operational advantage, not the point of the exercise.

Two territories for discovery

The doctrine gives the employee a map of where to look next. In AI agent runtimes and orchestration, that includes process and sandbox isolation, context and stream processing, and repository or state integrity. In Snowflake and modern data-platform staging, it includes edge validation before ingest, line-preserving file slicing, and lightweight inspection of columnar-file metadata.

The map provides direction without dictating every backlog item. A future utility might supervise leaked subprocesses, extract structured output from noisy model streams, validate a file before staging, or inspect a Parquet footer. It still has to prove that it belongs in the territory and that C is the right implementation choice.

Four questions before selection

Before a candidate can be scored or selected, its rationale must answer four questions:

  1. Who uses it and when? The proposal must name a concrete action, such as running a pre-ingest check before uploading to a Snowflake stage or running a repository probe before launching a sandbox.
  2. What fails or slows down without it? The proposal must identify operational pain, not just describe an interesting capability: a late load failure, repeated workspace hashing, leaked processes, or an avoidable startup cost.
  3. What is the Unix composition contract? The utility must have a clear stdin/stdout or CLI design, predictable exit codes, and explicit streaming behavior.
  4. Can the first vertical slice be bounded? A release-quality v0.1.0 should be testable, sanitizer-clean, documented, and small enough to understand—ideally within 1,000 lines of C.

Anti-patterns are disqualified

The discovery and scoring stages now reject generic clones of standard Unix tools, networked cloud clients, background daemons, complex GUI or TUI frameworks, and backlog items that merely rearrange review checklists or documentation formats. Cloud authentication and API orchestration belong in higher-level tools. These C utilities should stay local, composable, and focused on files, streams, and processes.

That is the difference between giving an autonomous employee a backlog and giving it a profession. The employee is now armed to execute the initial high-impact ideas and continue discovering new ones without drifting back toward random utility generation. Its mission preflight passes cleanly, so the next test is whether the doctrine produces useful software over time.

Why this is a better mission

Autonomy is most useful when it compounds. A system that produces an endless stream of unrelated demos may be impressive, but it does not necessarily create leverage. A system that improves the tools I use to build AI systems and move data can pay back every time I run it.

The experiment also clarified my role. I do not need to manually specify every implementation task. I do need to set a meaningful mission, define quality gates, review outcomes, and stay available for the kinds of validation that automated checks cannot provide.

For now, I have the employee configured to use Gemini 3.1 Pro and Gemini 3.8 Flash. The economics make this kind of long-running experiment practical for me: the flash model is inexpensive enough that a $100-per-month subscription provides a surprising amount of room to let the loop run.

So the next phase is straightforward. A ten-minute conversation with my Chief has redirected an autonomous coding loop from “build another Linux utility” to “build the small pieces of software that make my real work faster, safer, and easier to operate.”

That is a much better employee mission.