llayer applies the Unix philosophy to large language model orchestration by building framework-free agents with bash, curl, and jq. The architecture decomposes the agent lifecycle into three fundamentals: an append-only JSONL history file for state and memory, a jq stream reducer for context window management, and a standard bash while loop for control flow. This stateless text pipeline enables time-travel debugging via simple file slicing, zero abstraction tooling through native bash functions, and seamless POSIX tool integration for filtering or benchmarking. The system functions as a REPL-style loop that ingests user input, constructs context, evaluates it against a local model like Ollama, handles tool dispatches, and outputs results. All interactions are recorded immutably in a structured JSONL event schema, prioritizing transparency, composability, and minimalist design.
- Append-only JSONL history for auditing and replayability
- Modular command chaining for stateless and stateful interactions
- Docker Compose integration for local Ollama inference
- Transparent POSIX tool pipeline for data filtering and token benchmarking
- Minimalist schema with explicit event types and sources
A new plugin for LLM, llm-jq, generates and executes jq programs based on human-language descriptions, allowing users to manipulate JSON data without needing to write jq syntax.