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
This page provides an overview of the 'Missing Semester' course, focusing on the importance of the shell as a powerful tool for computer scientists. It covers motivation, class structure, the basics of navigating and using the shell, and exercises to reinforce learning. The course aims to equip students with practical skills beyond rote memorization of commands, enabling them to automate tasks and solve complex problems efficiently.
>"The easiest way to get started with command-line editing is to use the Emacs mode, even if you use another editor. This is also the default style on most shells. The reason is that this seems more of a natural mode, since Emacs doesn't distinguish between command and insert modes the way Vi and Vim do."
A 6502 system emulated in a busybox ash shell script, featuring RAM, ROM, and an emulated serial port on STDIO, with built-in monitor and debugger.
Dune is a shell designed for powerful scripting, combining elements of bash and Lisp, offering normal shell operations and functional programming abstractions for sysadmin tasks.
Dune is a shell that combines the power of Bash with the functional programming capabilities of Lisp, designed for customizable and efficient scripting tasks. Written in Rust, Dune supports metaprogramming concepts and includes a standard library to simplify sysadmin tasks.
A tool named 'sol' helps users understand complex shell scripts by expanding them into a more human-intelligible format. It also provides an interactive shell environment for exploration and modification.
Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands. Additionally, it provides optional and fully encrypted synchronization of your history between machines, via an Atuin server.
This GitHub repository contains bash-completion.el, a script that adds programmable bash completion to Emacs shell-mode. It is based on bash completion and is aware of bash builtins, aliases, and functions. It supports file expansion inside colon-separated variables and after redirections (> or <), escapes special characters when expanding file names, and is configurable through programmable bash completion. It works on remote shells, through TRAMP.