ai-ify
Embed an AI agent inside any app. The person chats with it in a panel inside the app (or opens a console on the same conversation); the agent runs on the Claude or Codex subscription already logged in on the machine, and controls the app only in the ways the app's developer allows: backend actions, named UI commands, and an automatic tree of the page's controls.
Install
pip install "ai-ify[web]" # chat panel for FastAPI apps
pip install ai-ify # control port and the aiify command only
Also needed: Node.js with npx (the first chat downloads the agent adapter), and
a signed-in subscription (claude once, or codex login). No API key is used.
Use
from aiify import Agent, Profile
from aiify.actions import from_functions
agent = Agent(
app="myapp",
actions=from_functions({"notes.add": add_note, "notes.clear": clear_notes},
destructive=["notes.clear"]),
profiles={"default": Profile(provider="claude")},
)
agent.mount(fastapi_app) # chat panel + websocket + local control port
and in the page:
<script src="/aiify/panel.js" defer></script>
Destructive actions show a "Run it?" card before they run. Agents (the embedded
one, or any other on the machine) reach the running app with the aiify command:
aiify apps, aiify --app myapp action.list, aiify --app myapp ui tree.
Documentation
- Usage guide, shipped with the package:
python -m aiify.context [topic], orfrom aiify import context; print(context.read()). Also as README_AI.md. - Embedding guide, with Circadian Workbench as the worked example.
- Message format.
Development
python -m venv .venv
.venv/bin/python -m pip install -e ".[web,test]" # Windows: .venv\Scripts\python.exe
.venv/bin/python -m pytest -m "not browser" # browser tests need Edge or Playwright's Chromium
Releases are published by GitHub Actions when a vX.Y.Z tag matching the
package version is pushed (RELEASING.md).
Install name ai-ify, import name aiify. MIT licence. The bundled
page-controller (Alibaba, MIT) builds the page control tree.
Metadata
Release files for ai-ify 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ai_ify-0.1.0.tar.gz | 137.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_ify-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 261.1 kB
Release files / ai_ify-0.1.0.tar.gz
| Download URL | ai_ify-0.1.0.tar.gz |
|---|---|
| Size | 137.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c3e943fe119687af1e6642da3d9b80ddd78eb60985f7bdbc442bf97ad613775
|
|
BLAKE2b-256 checksum How to use checksums |
d5827e2cd4be22ff7c84d96ad3958b2b819615bb21984b252c0d6babf83a203f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.
Transparency logRelease files / ai_ify-0.1.0-py3-none-any.whl
| Download URL | ai_ify-0.1.0-py3-none-any.whl |
|---|---|
| Size | 123.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a7e9d0553effaee44e368f62a6043ecbc3d2c7dff497d2c1d1fdbc661a335979
|
|
BLAKE2b-256 checksum How to use checksums |
0667e71c5b98e7b9acbf70c1b1bf9213d8c089874374edc2735b9bdbd63cb077
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.
Transparency log