Copy/Paste Mode
Crewsaidarr can connect to most LLMs via API and works best that way. But there are times when you may want to work with an LLM via its web chat interface:
- Workplace policies may limit your LLM usage to a proprietary web chat system.
- The web chat LLM may have access to unique context or may have been specially fine tuned for your task.
- It may be cost prohibitive to use some models via API.
- There may not be an API available.
Crewsaidarr has features for working with an LLM via its web chat interface. This allows you to use the web chat LLM as the “big brain code architect” while running crewsaidarr with a smaller, cheaper LLM to actually make changes to your local files.
For this “file editor” part of the process you can run crewsaidarr with many open source, free or very inexpensive LLMs. For example, the demo video above shows crewsaidarr using DeepSeek to apply the changes that o1-preview is suggesting in the web chat.
Copy crewsaidarr’s code context to your clipboard, paste into the web UI
The /copy-context <instructions> command can be used in chat to copy crewsaidarr’s code context to your clipboard. It will include:
- All the files which have been added to the chat via
/add. - Any read only files which have been added via
/read. - Crewsaidarr’s repository map that brings in code context related to the above files from elsewhere in your git repo.
- Some instructions to the LLM that ask it to output change instructions concisely.
- If you include
<instructions>, they will be copied too.
You can paste the context into your browser, and start interacting with the LLM web chat to ask for code changes.
Paste the LLM’s reply back into crewsaidarr to edit your files
Once the LLM has replied, you can use the “copy response” button in the web UI to copy the LLM’s response. Back in crewsaidarr, you can run /paste and crewsaidarr will edit your files to implement the changes suggested by the LLM.
You can use a cheap, efficient model like gpt-5-mini, claude-4.6-haiku, deepseek-v4-flash or qwen3.6-35b-a3b to do these edits. This works best if you run crewsaidarr with --edit-format editor-diff or --edit-format editor-whole.
Copy/paste mode
Crewsaidarr has a --copy-paste mode that streamlines this entire process:
- Whenever you
/addor/readfiles, crewsaidarr will automatically copy the entire, updated
code context to your clipboard. You’ll see “Copied code context to clipboard” whenever this happens. - When you copy the LLM reply to your clipboard outside crewsaidarr, crewsaidarr will automatically notice
and load it into the crewsaidarr chat. Just press ENTER to send the message and crewsaidarr will apply the LLMs changes to your local files. - crewsaidarr will automatically select the best edit format for this copy/paste functionality.
Depending on the LLM you have crewsaidarr use, it will be eithereditor-wholeoreditor-diff.
No API access? Use cp:<model name>
If your only access to an LLM is via a web chat (no API keys, no local models), you can run crewsaidarr with a model name prefixed by cp:. This performs the entire workflow via copy/paste without making any API calls.
What the cp: prefix does
- Activates CopyPasteCoder, which never sends requests to any LLM API.
- Uses the same copy/paste workflow described above
Token and cost tracking
- Crewsaidarr uses the text after cp: as the “model name” for local token counting and cost estimation.
- If the label matches a known model in crewsaidarr’s pricing tables, crewsaidarr will estimate tokens/costs using that model’s rates; otherwise, costs may show as unknown or zero.
- With flat-rate web chat plans, you can treat any “estimated cost” displayed by crewsaidarr as your “savings” versus if you had called an API model.
Terms of service
Be sure to review the Terms Of Service of any LLM web chat service you use with these features. These features are not intended to be used in violation of any service’s Terms Of Service (TOS).
Crewsaidarr’s web chat features have been designed to be compliant with the terms of service of most LLM web chats.
There are 4 copy/paste steps involved when coding with an LLM web chat:
- Copy code and context from crewsaidarr.
- Paste the code and context into the LLM web chat.
- Copy the reply from the LLM web chat.
- Paste the LLM reply into crewsaidarr.
Most LLM web chat TOS prohibit automating steps (2) and (3) where code is copied from and pasted into the web chat. crewsaidarr’s --copy-paste mode leaves those as 100% manual steps for the user to complete. It simply streamlines steps (1) and (4) that are interactions with crewsaidarr, and which should not be under the scope of an LLM web chat TOS.
If you are concerned that the automatic interactions with crewsaidarr in steps (1) and (4) may be problematic with respect to your LLM web chat provider’s TOS, you can forego --copy-paste mode. Instead, manually use the /copy-context and /paste commands if that will keep you in compliance.
Again, do not use these features in violation of any provider’s Terms Of Service.