{"repo":"mkorpela/kopipasta","free":true,"listed":false,"github":"https://github.com/mkorpela/kopipasta","clone":"git clone https://github.com/mkorpela/kopipasta.git","description":"`cat project | LLM | patch`. Transparent context control and interactive patching for terminal-centric LLM workflows.","language":"Python","stars":16,"topics":["ai-coding","cli","context-window","developer-tools","git","llm","patch","productivity","productivity-tool","prompt-engineering"],"license":"MIT","category":"ai-agents","readme_excerpt":"kopipasta Explicit context control for LLM coding — for you at a terminal, or for an agent shelling out to it. No black boxes, no hidden RAG, no embedding search. You say which files go in the prompt, and you can see exactly what was sent. kopipasta has two faces over one engine: - kopipasta — the interactive TUI. Pick files, copy a prompt, paste the reply back, apply the patches. The original loop, unchanged. - kopipasta ask — the headless CLI. Selection comes from argv, the question goes straight to a model, and the answer lands on disk. Built to be called by an agent. --- Why an agent would call this An agentic harness has a small, precious context window that degrades as it fills. It reads files one at a time and pays for each of them for the rest of the session. Two things it therefore does badly: - Whole-repo reasoning. \"Which of these 800 files matter?\" needs 800 files in view. An agent that reads them all to find out has already poisoned the context it needed them for. - Large coordinated changes. Harnesses are tuned for many small verified edits, not one 400-line change across seven files with a single design behind it. kopipasta ask is a context oracle : a separate process with its own large, disposable context window, keeping its conversation on disk and handing back pointers — a hypothesis, a ranked file list, a path to the full answer. The caller spends a few hundred tokens on a question that took 500k tokens of reading to answer, and its own context stays clean.","default_branch":null,"files":null,"tree":[],"storefront":"/r/mkorpela","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mkorpela/kopipasta/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}