aiwe
A private web app for a family: long-lived projects worked on with AI agents. It runs on your own server.
- Projects, not scattered chats. A project is a folder of files, with their history and its chats. An agent brings back an old version of a file, and finds what was said in another chat.
- Agents that work together. Claude Code and Codex work in the project folder and answer in a chat. One can ask another, such as Codex to check a plan of Claude.
- Your subscriptions. An agent is a Claude or Codex CLI with the login it has on the server. Only the users the admin opens it to write to it. Another user writes a proposal, which one of them reads and sends as their own message.
- Your data. The files and the chats stay on your server. Each family member has a login, and a project is open only to the users it names.
Early development. Until version 0.1 an update may need a new database: the users, the agents and the chats of the app are then gone, and the project folders stay. The app is made for a desktop browser; phones are left for later.
Install
On a Linux or macOS machine. You need:
- uv and
git; - the CLI of Claude Code or of Codex, or both, logged in under the account that runs aiwe.
uv tool install aiwe
aiwe start # http://127.0.0.1:7788, data in ~/aiwe
aiwe stop
An agent may do anything the account that runs aiwe may. Give a login only to people you trust with that account. On a server, run aiwe under a user of its own: Deployment.
First steps
- Open
http://127.0.0.1:7788and create the admin. - On the Admin page, add an agent: a Claude or Codex CLI, under a name of its own. Open it to yourself: a new agent is open to nobody. Press Check there: it tells whether the agent works.
- On the first page, create a project.
- Open the project, press New chat, and write to the agent.
Running
aiwe start runs the app in the background and writes its output to aiwe.log in the data dir. It does
not start again after a reboot or a crash:
Deployment sets that up.
aiwe stop ends the app and the agents that still work. aiwe serve runs the app in the terminal. One
data dir takes one app at a time. --port and --data-dir after a command change the defaults.
For a forgotten password, run aiwe password <username>: it asks for a new one.
The data dir holds the database and the projects. A project is a plain folder there,
projects/<slug>/: what the app keeps in it is in
Project folder.
To update, run uv tool upgrade aiwe, then stop and start the app. A new version that changes the
database first copies it to aiwe.db.v<N> in the data dir, where N is the old version of its schema.
Delete a copy you no longer need.
Setup
What the admin sets on the server, beyond the pages of the app. The app reads config.toml in the data
dir when it starts. With a key it does not know in the file, it does not start.
Agents
An agent uses the login its CLI has on the server, or one in a folder of its own, given as the setting
home_dir=/path/to/folder. More in
Agents.
The app makes one project by itself, System, open to the admin. Its RULES.md holds the rules every
agent follows in every project, such as the language to answer in: tell an agent there which rule to
add. An agent there is also allowed to work outside the project folder, on the whole server. More in
Project folder.
Every other project has a RULES.md too, for its own rules.
Other devices
The app listens only on the server itself, at 127.0.0.1. To open it from other devices, put a proxy with
HTTPS in front of it, and name the host of the proxy in config.toml:
public_host = "aiwe.example.com"
The app then answers under that name too, and expects HTTPS there. Cloudflare Tunnel with Cloudflare Access is such a proxy, with a second sign-in in front of the app. The setup, step by step: Deployment.
Dictation
The form of a chat has a microphone when the app is given a voxo that
runs with a speech model: uv tool install voxo, voxo download parakeet-v3, voxo start. Write its
address and the token that voxo token prints in config.toml, then stop and start the app:
[voxo]
url = "http://127.0.0.1:7711"
token = "..."
For a voxo on another machine use an https address: the token goes with every request. The Admin page
tells why there is no dictation.
Docs
- Deployment: aiwe on a server, step by step.
- Scenarios: what people do in aiwe.
- Chats, Agents, Project folder and Users: how the app behaves, in detail.
- Architecture and Simplicity: how the code is written.
Development
You need uv and just.
just sync # install dependencies and Git hooks
just dev # local app on port 3000, data in ./data; another port: just dev 3005
just check # all checks: hooks, lint, types, tests, audit, build
To install the code of the checkout in place of a release, run uv tool install --reinstall ..
Metadata
Release files for aiwe 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiwe-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for aiwe-0.0.3-py3-none-any.whl |
Release files / aiwe-0.0.3-py3-none-any.whl
| Download URL | aiwe-0.0.3-py3-none-any.whl |
|---|---|
| Size | 185.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
112b9e15b0c583abaf4ae69fdbef20331bbe2917c35f315fac5f6545900971ec
|
|
BLAKE2b-256 checksum How to use checksums |
324073460c671fb1df1f2beebda114fefc8601127a8d10291a54215ef51ae79e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for aiwe 0.0.3
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.