Minimal, responsive, transparent LLM coding assistant
- YACT supports AI assisted software development. (Not AI driven software development.)
- YACT is optimized for responsiveness. You get results in seconds, not minutes.
- YACT is reactive, not proactive. It does what it is explicitly asked to do, and nothing more.
- YACT works transparently. You can read all messages sent to, and received from the LLM.
YACT differs from mainstream coding assistants, like Cline, Cursor and Copilot, in the sense that it not aims to be a complete, automated coding suite, rather be a Swiss army knife for LLM assisted coding. This is why it is called a "Coding Tool" rather than a "Coding Agent".
Mainstream coding agents typically use the Retrieval Augmented Generation (RAG) approach. This means, that the LLM decides what files it needs to read to complete the given task, and uses the agent's file reading tool to retrieve the necessary file contents.
YACT uses the prompt stuffing approach. The developer uses YACT's explicit read command to add files to the task context. The content of these files is appended to the prompt. The LLM can not initiate file reading.
Mainstream coding agents typically utilize a chat interface. Once the developer sends an initial prompt, they are free to proactively explore the codebase, run commands, edit files (with permission), while sending multiple API calls to the LLM.
YACT, on the other hand, is reactive. The developer needs to select the files needed for the task, and explicitly append them to the prompt with the read command. Once the prompt is ready, a single API call will be made to the LLM. Depending on the task, the LLM will respond in human language, or with generated code, that will be inserted into the code base by YACT.
The earliest LLMs that were available through API had a really strict output token limit, as low as 4000 tokens, which meant, that only 100 to 200 lines of codes could be generated in a single API call. To overcome this restriction agent developers introduced file editing tools, to enable their agents to incrementally edit code files.
Today, typical output token limits are around 64K to 128K, which, with adequate clean coding practices, is plenty to generate multiple complete source files. Exploiting this "late comer's advantage", YACT always generates complete source files, making its LLM interface far simpler than most agents. This approach also enables YACT to aggressively compact its context, keeping API calls responsive, and cheap.
| Cline / Cursor / Copilot | YACT | |
|---|---|---|
| Interface Type | Chat | CLI |
| Generation method | Retrieval Augumented Generation (RAG) | Prompt Stuffing |
| LLM interface complexity | Complex | Simple |
| Model Selection | Larger Models | Works with a larger selection of models, down to 7b parameters. |
| MCP usage | Yes | No |
| API Cost | Up to $50 per day | Up to $2 per day |
| Vibe Coding Capable | Yes | No |
| File size limitations | No limitation, however, they tend to be less effective on large source files. | Editable file sizes are limited by the LLMs output token limit. Limiting file sizes to a few hundred lines of code is recomended. |
| Coding standards | No official recomendations. | Strict clean coding principles are recomended. |
YACT uses Ask / Plan / Act modes. The plan and act modes can be familiar for users of competing tools. The plan mode creates a step-by-step implementation plan for a given task, which can then be implemented using act mode. In ask mode you can ask questions about your code base without interfering with coding tasks.
Download the latest binary for your operating system from the GitHub releases page.
Available binaries:
- Linux:
yact-linux-amd64 - Windows:
yact-windows-amd64.exe - macOS:
yact-darwin-amd64oryact-darwin-arm64
For example, to download and install on Linux:
cd /tmp
wget https://github.com/agabor/yact/releases/download/v0.0.0/yact-linux-amd64
chmod +x yact-linux-amd64
sudo mv yact-linux-amd64 /usr/local/bin/yOn macOS:
cd /tmp
curl -L -o yact-darwin-amd64 https://github.com/agabor/yact/releases/download/v0.0.0/yact-darwin-amd64
chmod +x yact-darwin-amd64
sudo mv yact-darwin-amd64 /usr/local/bin/yOn Windows, download the yact-windows-amd64.exe file and place it in a directory that's in your PATH, or run it directly from where you download it.
Before using y, configure your Claude API key:
y config anthropic_api_key YOUR_API_KEYYou can verify your configuration at any time:
y configYACT stores the current task in a plain text file: .yact/prompt.txt in your project directory. This file has two
sections separated by a ========== line:
- Above the separator: a list of file paths that form the task context. The content of these files is sent to the LLM.
- Below the separator: your task prompt.
You build up a task by adding files with y read, writing your prompt into .yact/prompt.txt, then running one of
the mode commands (ask, plan, act). Each of these commands makes exactly one API call.
Create a fresh, empty task context:
y newAttach files so the AI can reference them:
y read main.go
y read "commands/*.go"Glob patterns are supported. Directories are skipped, and files already in the context are not added twice.
Write your question into .yact/prompt.txt, then run:
y askThe response is printed to the terminal. Your task context is not modified.
Write your task into .yact/prompt.txt, then run:
y planThe generated plan is printed and also replaces the prompt in .yact/prompt.txt, so you can follow it up
directly with y act.
Write your task (or generate a plan) into .yact/prompt.txt, then run:
y actThe AI responds with complete source files, which YACT writes directly to your filesystem. Newly created files are
automatically added to the task context. Use --no-write to print the response instead of writing files:
y -n actModify a specific line range in a file with a prompt, preserving indentation:
y snip main.go 10 20 "simplify this loop"Scan the project directory and create or update .yact/index.csv, which maps every file to a short AI-generated
description:
y indexHidden files and common directories like .git, node_modules, dist and build are excluded. Deleted files
are removed from the index, and existing descriptions are preserved.
Automatically populate the task context based on the prompt in .yact/prompt.txt:
y contextThis uses the project index in two ways:
- Keyword matching: mark keywords in your prompt with double parentheses, e.g.
((authentication)), and files whose index descriptions contain them are added. - AI discovery: the file listing and your prompt are sent to the LLM, which selects the relevant files.
Run y index first, so the index is up to date.
-h, --help Show help message
-t, --think Enable Claude's extended thinking mode
-n, --no-write Do not write files, print response instead
-f, --fable Use Claude Fable model
-o, --opus Use Claude Opus model
-s, --sonnet Use Claude Sonnet model
--haiku Use Claude Haiku model
Flags come before the command:
y -t act
y --think --sonnet plan
y -o askModel flags override the configured model for a single invocation. With --think, the model's reasoning is printed
before the response.
View current settings:
y configSet configuration values:
y config anthropic_api_key your_key_here
y config claude_model sonnet
y config max_tokens 32000
y config think_budget 16000Available configuration keys:
anthropic_api_key- Your Claude API key (required)claude_model- Which Claude model to use:fable,opus,sonnetorhaiku(default:haiku)max_tokens- Maximum output tokens per API call (default: 16000)think_budget- Token budget for extended thinking mode (default: 8000)
Each mode uses a system prompt loaded from ~/.yact/systemprompts/:
act.txt- Code generationplan.txt- Planningask.txt- Questionssnip.txt- Line range editingcontext.txt- File discoveryindex.txt- File descriptions
These files must exist for the corresponding command to work, and you are free to tailor them to your workflow.
Every API call prints the model used, call duration, input and output token counts, and the estimated cost in dollars. A warning is shown if the response hit the output token limit and may be incomplete.
Display command reference:
y help
y --help
y -hGlobal settings are stored in ~/.yact/:
config- Your API key and model settings (JSON)systemprompts/- System prompt text files
Per-project state is stored in .yact/ inside your project directory:
prompt.txt- The current task context and promptindex.csv- File index with descriptions
"Claude API key not configured"
- Set your API key:
y config anthropic_api_key YOUR_KEY
"No files found matching pattern"
- Check that the glob pattern matches existing files
- Use exact paths if glob patterns don't work
"no task prompt found"
- Write your task below the
==========separator in.yact/prompt.txtbefore runningy context
"Error loading ... prompt"
- Create the missing system prompt file in
~/.yact/systemprompts/
API errors
- Verify your API key is valid
- Check your internet connection
- Ensure your Claude API account has available credits