Aldwin
An open-source personal assistant that works with your files and documents, knows good habits out of the box, and runs on your own computer, in your terminal, built on Agentling.
Install
Install with uv (Python 3.11+ on macOS or Linux):
uv tool install aldwin
If you don't have uv installed yet:
curl -LsSf https://astral.sh/uv/install.sh | sh
Or install with pip:
pip install aldwin
Then start Aldwin:
aldwin
Already on 0.0.3? Upgrade in place and keep your conversation, memory, persona, and settings:
uv tool upgrade aldwin
First run
The first time you run aldwin, it creates a private home folder at ~/.aldwin and looks for a local model (Ollama or LM Studio). If one is running, you can chat with no account. Otherwise it offers a cloud provider (OpenAI, Anthropic, Gemini, OpenRouter, or DeepSeek) or shows how to install a local server. A Tavily key for web search is optional; press Enter to skip it and add it later with aldwin setup.
If you already have an OpenAI key from an earlier install, Aldwin keeps it and does not force you to reconfigure.
After that, aldwin picks up your latest conversation where you left off. Type /help at the prompt to see what you can do. Switch models any time with /model.
Run it fully local
No cloud account required when Ollama or LM Studio is already serving a model on your machine.
-
Install Ollama (or LM Studio) and pull a tool-capable model, for example:
ollama pull qwen3:8b
-
Install Aldwin (
uv tool install aldwin) and runaldwin. -
When Aldwin finds the local model, pick it and start chatting. Your prompts stay on loopback (
127.0.0.1/localhost).
Built-in providers (bundled catalogue — no online lookup):
| Provider | Kind | Notes |
|---|---|---|
| Ollama | Local | Default http://localhost:11434 |
| LM Studio | Local | Default http://localhost:1234/v1 |
| OpenAI | Cloud | Needs an API key |
| Anthropic | Cloud | Needs an API key |
| Google Gemini | Cloud | Needs an API key |
| OpenRouter | Cloud | Needs an API key |
| DeepSeek | Cloud | Needs an API key |
Other server: use /model → Other server, or add an OpenAI-compatible endpoint under providers: in ~/.aldwin/config.yaml:
providers:
my-local:
title: My local server
shape: openai_chat
base_url: http://127.0.0.1:8080/v1
local: true
Supported shapes are openai_chat, anthropic, and ollama. Non-loopback http:// URLs require local: true (or use https://).
What Aldwin can do
- Files: list, find, search, and read files in your workspace; edit or create them after showing you a diff.
- Documents: read PDF, Word, PowerPoint, Excel, CSV, and HTML files as markdown, and download files from the web.
- Notes and memory: remember facts you tell it, search past notes and conversations, and keep a profile you write yourself.
- Persona: change how Aldwin talks by editing
persona.mdor asking it to. - Web: search the web and read pages.
- Terminal: run shell commands, always with your approval.
- Planning: keep a live checklist for longer jobs and do exact arithmetic and date maths.
- Skills: ten built-in skills, your own skills in
~/.aldwin/skills/, and an@picker to choose one for a message. - Models: switch between local and cloud providers with
/model; see Run it fully local. - Connectors: connect Notion, Linear, GitHub, and more with
/connectors; see the Connectors section below.
See the full tool list and the skills guide.
Connectors
Aldwin can connect to your other apps as MCP servers. Add one with /connectors.
Catalogue: pick Notion, Linear, GitHub, Context7, and others from the built-in catalogue. Sign in through your browser and Aldwin stores the token in ~/.aldwin/credentials (mode 0600).
Any MCP server: paste a URL to add any remote server that isn't in the catalogue.
Local servers: run a server from a command, for example:
npx -y @modelcontextprotocol/server-filesystem /path/to/folder
Local servers start only after you approve the command. They run with a minimal environment in your workspace folder. Local servers are not supported on Windows.
Import: aldwin connectors import brings in servers already configured in other agent apps.
Ask Aldwin to connect: type "connect me to Notion" and Aldwin proposes the connector for you to approve.
Safety
Aldwin runs on your machine without a sandbox, so every tool call goes through a policy engine first:
- Reading is free, changing asks. Read-only tools run straight away. Edits show a diff and default to No. Shell commands and downloads ask every time.
- Secrets are off limits. SSH keys, cloud credentials,
.envfiles and similar are blocked outright, whatever you or the model ask for. - Dangerous commands are refused.
sudo,rm -rf /, disk formatting and similar are refused before you're even asked. - Commands get a clean environment. API keys, tokens, and passwords in your shell are never passed to commands Aldwin runs.
- Everything read is untrusted. Text from files, pages, and command output is treated as data, never as instructions.
- Every decision is logged to
~/.aldwin/logs/approvals.jsonl, with secrets redacted. - Connector tools that only read run on Auto based on the server's own hint. Turn the trust toggle off in
/connectorsand every tool from that server will ask first. - Anything that changes something asks you first. Connector tools the server does not mark read-only always show an approval.
- All connector output is treated as untrusted. The same rule as for files and command output.
- Tokens stay local. Sign-in tokens are kept in
~/.aldwin/credentials(mode 0600) and never pass through the model. - Local servers need approval and run in a clean environment. If you edit the command by hand, Aldwin asks again before re-running it.
- Known limits: a server can mark a write tool read-only, and Aldwin will trust that hint. A local server runs with your user's rights; there is no sandbox.
Read the safety model for the full rules and known limits.
Data and privacy
- No telemetry. Aldwin collects no analytics.
- Sent to a cloud model provider: when you use a cloud model, your prompts, recent conversation, your profile and recent notes, and anything Aldwin reads for the turn — including connector tool results — go to that provider.
- Fully local: when you use Ollama, LM Studio, or another loopback model, conversation data stays on your machine (except optional web tools, remote connectors, and the PyPI update check).
- Stays local: everything else in
~/.aldwin, including your API keys, saved conversations, sign-in tokens, and logs. Connector tokens never go to the model. - Platforms: macOS 13+ and Linux. Local MCP servers are not supported on Windows.
Read data and privacy for the home folder layout and every network call Aldwin makes.
Commands
| Command | What it does |
|---|---|
aldwin |
Open the chat and resume the latest conversation |
aldwin setup |
Set or update API keys and the default model |
/help |
Show slash commands and keyboard shortcuts inside the chat |
Esc |
Stop the current answer |
See all commands, slash commands, and shortcuts, including how to uninstall.
What's next
Aldwin runs inside your terminal process; it isn't always-on yet. Closing the terminal stops any active task, and your conversation resumes next time you run aldwin. Windows is not yet supported.
Next: more web search providers.
Contributing
Contributions are welcome. Read the contributing guide to get set up, and see the docs index for the protocol, test, and release docs.
Have a question or an idea? Start a discussion. Found a bug? Open an issue.
Licence
Metadata
Release files for aldwin 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aldwin-0.0.4.tar.gz | 324.4 kB | Without provenance | Details for aldwin-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aldwin-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for aldwin-0.0.4-py3-none-any.whl |
Total release size: 711.6 kB
Release files / aldwin-0.0.4.tar.gz
| Download URL | aldwin-0.0.4.tar.gz |
|---|---|
| Size | 324.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9cd7de4d9a245e81972416269af657e4df0bba4ee3a3042afdde6dcfab05b7b
|
|
BLAKE2b-256 checksum How to use checksums |
a8c8b002e202a01c066e80bac1f87f1f52e65f5fc838170876326a7880b85380
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / aldwin-0.0.4-py3-none-any.whl
| Download URL | aldwin-0.0.4-py3-none-any.whl |
|---|---|
| Size | 387.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c024439dd146e2fcd27b33e7209a9b96d574f8a2a0717d86e7c4ac25818d7bcc
|
|
BLAKE2b-256 checksum How to use checksums |
543dcde8d0a2b6dc93c915395adeaf14e59c47e342b22781149b98de92398b1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for aldwin 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.