llayer: Bash‑Only Agent REPL with Minimal Dependencies
Deploy the llayer agent by piping commands and using append‑only logs for transparent state.
Clone the llayer repo and integrate it into your agent pipeline to reduce dependencies and improve transparency.
Summary
An engineer has built a custom agent REPL loop that relies solely on command‑line tools, eliminating heavy dependencies like Python or NodeJS. The agent is composed of a handful of programs that pipe text streams, append‑only logs, and standard Unix utilities, allowing for flexible injection of tools to inspect, filter, redirect, and audit each stage of the loop. Key features include minimal dependencies, a plug‑and‑play backend scoped to a single command‑line tool, and transparent state stored in an append‑only history file that can be introspected or rewound. The project, named llayer, is hosted on GitHub and demonstrates how classic Unix philosophy can power modern agent workflows.
By using only widely available components, the solution can run on most Unix‑adjacent environments without requiring additional runtimes. The author invites the community to experiment and provide feedback on the repository.
Key changes
- Agent REPL loop built entirely with command‑line tools
- Eliminates heavy dependencies such as Python or NodeJS
- Uses pipes, text streams, and append‑only logs for state
- Plug‑and‑play backend scoped to a single command‑line tool
- State stored in an append‑only history file for introspection
- Supports tool injection, filtering, redirecting, and auditing
- Hosted on GitHub at https://github.com/cloudkj/llayer
- Compatible with most Unix‑adjacent environments