Repository navigation
v0.8.0
A maintenance release. Ally now installs as a regular command line tool, starts about twice as fast, streams its replies and fixes a long list of bugs, several of which made RAG and non-OpenAI providers unreliable.
Upgrading from 0.7
- Remove the old launcher. Version 0.7 linked
allyinto your system rather than installing it.- Linux and macOS:
sudo rm /usr/local/bin/ally, then delete theallyscript in the Ally folder. If your shell profile adds an Allybinfolder toPATH, remove that line too. - Windows: remove the Ally folder, or its
binfolder, from your userPathenvironment variable, then delete theally.batit contains. - Optionally, delete the
.venvfolder inside the Ally folder. The new install keeps its own environment.
- Linux and macOS:
- Reinstall. Pull the latest code and run
./setup.shor.\setup.ps1again. If you use Hugging Face embeddings ("embedding_provider": "hf"), add--hfor-HF, since PyTorch is now optional. Older setup scripts generatedpyproject.toml,uv.lockand.python-versionlocally. Ifgit pullrefuses to overwrite them, delete them and pull again. - Rebuild your RAG collections with
/delete <collection>and/embed <path> <collection>. Version 0.7 stored 50-character chunks, which retrieve poorly. - Check your keys. Each agent now uses only its own provider's API key. In 0.7, a missing key could be silently replaced by another provider's key. Ally now lists any missing keys when it starts.
- Clean up
.env.GOOGLE_SEARCH_API_KEY,SEARCH_ENGINE_IDandGITHUB_AI_API_KEYare no longer used. Ifconfig.jsonuses thegithubprovider, switch to another one.
Python 3.11 or newer is required. The setup script installs it for you if needed.
Added
- Replies stream into the terminal as they are generated, with a spinner until the first token.
- Web search works without an API key, using the ddgs metasearch library. Results include their URLs so answers can cite sources.
ally --version, and long forms of every flag:--dir,--promptand--id.ALLY_CONFIGselects a config file other thanconfig.json.- Ally reads messages from a pipe, one per line, for scripted use.
--dircreates the working directory if it does not exist.- Configuration errors, such as an unknown provider or a missing key, are all reported together at startup.
- Documentation in
docs/, plus a security policy, contributing guide, code of conduct and issue templates. - A test suite that runs without API keys, and CI on Linux and Windows.
Changed
- The setup scripts install Ally with
uv tool install, soallyworks in any new terminal without changing system folders. - Hugging Face embeddings are an optional extra (
hf). Installs without it are several gigabytes smaller. - Startup takes about 2.5 seconds instead of 5.6, and
ally --helpandally --versionreturn almost immediately. - All dependencies are updated, including LangChain 1.7, LangGraph 1.2, the OpenAI SDK 3, Rich 15 and Transformers 5. Python 3.14 is supported.
pyproject.tomlanduv.lockdefine the dependencies, and the Docker image is built from the lockfile with CPU-only PyTorch.- Tool descriptions are rewritten, and every tool argument is now described to the model.
- Web search returns the first 4,000 characters of each result instead of up to 10,000, which keeps requests within small rate limits. The model can fetch a whole page when it needs more.
list_directoryno longer expands.git,node_modulesand virtual environments, which could flood the model's context.- The four agents are built from one registry instead of four copies of the same code.
Fixed
- Tools resolved relative paths against the folder Ally was started from instead of the working directory.
--dir ..and other paths containing.or..were rejected on Windows.- Replies from Anthropic and Gemini models, which arrive as lists of content blocks, crashed the display.
- Any provider error ended the chat session. Errors are now shown and the session continues.
- Rate limits and unknown models were only recognized for OpenAI. They are now recognized for every provider, and a misspelled model name switches back to the previous model.
- Declining a different model after a rate limit ended the session.
/model changedropped the web search tool, lowercased the model name and could not undo a failed switch.- Custom system prompts from
config.jsonwere ignored. - When the approval prompt could not be shown, tools could run without approval. They are now denied.
- Commands typed after
!lost their quotes. - RAG skipped files that had changed since they were embedded, slept five seconds between batches, embedded the query once per collection, and could not use OpenAI embeddings at all.
- Search tools skipped any folder whose name started with an ignored name, such as
login/because oflog. They also searched.envfiles, which are now left out of search and RAG. - The project workflow carried on to code generation after the brainstorming step failed.
- Logging a warning with exception details crashed, including in the chat loop's recursion limit handler.
setup.shwas not executable after cloning.
Removed
- The GitHub Models provider. GitHub retired the service in July 2026.
- Google Custom Search. Google closed the API to new customers and shuts it down on January 1, 2027.
requirements.txt, replaced bypyproject.tomlanduv.lock.