Skip to content
aaen-studiosPublic

About

A self-hosted app for chatting with your own AI agents from your computer and phone. Agents run on Claude Code, Codex and others over ACP. Calx server, native desktop and iPhone apps.

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

loom

loom is an app for your own AI agents. Ask them for something and they make the actual thing, instead of a wall of text.

Download for Windows · Download for Mac · Download for Linux · Put it on a server · loom.rip

What it does

  • Views in the chat. Agents answer with charts, tables, forms, dashboards, checklists and small tools, drawn natively in the chat on the desktop and the iPhone, in light and dark. A view can run its own logic, such as a calculator or a game, walled off from everything else. Views are written in Weft, loom's own UI language.
  • Your own agent programs. Each agent runs on an agent program, through the Agent Client Protocol: Claude Code, Codex, OpenCode, Gemini CLI, goose, GitHub Copilot, Cursor and others. loom installs them from the ACP Registry, and they use your own subscription or API key.
  • It asks before anything that matters. Each agent has a permission mode: asks first, asks when it's risky, or doesn't ask. Rules on commands, paths, sites and tools override the mode, and every action goes in an activity log.
  • Secrets agents use by name. Passwords, keys, cards and notes are sealed on your instance. Agents use them by name, in a command, a script, a web page's field or their own computer, and the values are hidden from everything they read back.
  • A computer and a browser of its own. An agent can have a computer, a container running Debian, Ubuntu or Fedora on your server or your desktop, and a browser. Watch either one and take over when you want to.
  • Memory, skills and routines. Agents keep notes, learn skills, and run on a schedule, a webhook or an event. A routine's script can check for something new first, so the agent wakes only when there is.
  • Self-hosted and MIT licensed. On your computer with no server, on a Linux server, or in Docker. Everything is in one folder you can back up or move to another machine.

Also: group chats, voice (dictation, replies read aloud, and talking with an agent), Spools for connecting MCP servers and apps, email and message drafts you approve, long tasks, plugins, inviting people with agents of their own in a sandbox, and running commands on your other computers and servers.

Getting it

Windows

Download loom-setup.exe. It installs for your user only, with no admin rights. On first start, choose to run loom on this computer, or sign in to a server.

Mac

Apple silicon. Download loom-mac.dmg and drag loom into Applications. It isn't signed by Apple yet, so the first time macOS won't open it: choose Open Anyway in System Settings → Privacy & Security.

Linux

x86_64, on Wayland or X11, with glibc 2.39 or newer: Ubuntu 24.04, Debian 13, Fedora 40, Arch, or newer. Download loom-linux-x86_64.AppImage, make it executable (chmod +x) and open it. It adds itself to your launchers and updates itself. It needs FUSE, as every AppImage does (fuse3 or fuse2). loom-linux-x86_64.tar.gz has the program, loom.desktop and the icon, for putting in place yourself; it updates itself too. Panels and the tray aren't on Linux yet.

iPhone

The iPhone app isn't on TestFlight or the App Store yet. Until it is, you can build it on a Mac and put it on your phone with your own Apple account.

On a Linux server

As root:

curl -fsSL https://loom.rip/download/install.sh | sh -s -- --domain loom.example.com

It downloads the newest loom for the machine (x64 or Arm), checks it against the release's signed manifest, and sets it up as a systemd service under a loom user. With --domain it puts Caddy in front for HTTPS; without one it serves on your tailnet with Tailscale. It prints a one-time setup code, which you enter in the app to become the instance's owner.

Run it again, or sudo loom update, to update. Running loom has the rest: agent programs from the command line, backups and moving an instance.

Docker

docker run -d --name loom -p 127.0.0.1:8790:8790 -v loom-data:/data ghcr.io/aaen-studios/loom
docker logs loom    # the setup code, on the first start

Put a proxy with TLS in front of port 8790. In Docker only the owner's agents run, because the sandboxes other people's agents run in need Podman or Docker beside loom. For an instance with other people, install it on the server.

To update it from the app, run it with compose and loom's updater beside it, which has the Docker socket that loom doesn't, and only ever swaps the loom container. Put this in compose.yaml and run docker compose up -d in its folder:

services:
  loom:
    image: ghcr.io/aaen-studios/loom
    ports:
      - 127.0.0.1:8790:8790
    volumes:
      - loom-data:/data
    restart: unless-stopped
  loom-updater:
    image: ghcr.io/aaen-studios/loom
    command: updater --service loom
    user: root
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - loom-data:/data
      - ./:${PWD}:ro
    restart: unless-stopped
volumes:
  loom-data:

Then Update backs up the data folder, pulls the new image, waits until nothing runs, swaps the container and checks it answers, or goes back to the one before. With Podman, give the updater Podman's socket instead (Updates).

The program on its own

Each release has the loom program for Linux (loom-linux, loom-linux-arm64), macOS on Apple silicon (loom-macos) and Windows (loom-windows.exe). loom serve runs it, and loom on its own lists every command.

Let an agent do it

In the app, Add a server has Copy prompt. Give that prompt to one of your agents and it installs loom on one of your hosts over SSH or Tailscale and signs the app in. You say yes once.

Your other devices

Add a device, on a device that's signed in, shows a QR code for a phone and a code to paste on a computer. The new device joins once you say yes. A phone reaches loom on your computer over Noise, end to end, on your Wi-Fi or over Tailscale. Push notifications go through an opt-in relay and are sealed end to end. Adding a device has the details.

Updates

Releases are signed. The apps check for one while they're open, and one click updates the app and your servers. What's new is in the app after each update, and on loom.rip/changelog.

Guides

Questions, bugs and ideas

Contributing

Pull requests are welcome from anyone, including ones written with AI agents. CONTRIBUTING.md has how to build and test loom, how the repository is laid out, and how a change gets in. Everyone taking part follows the code of conduct.

How it's built

Part Built with What it does
Server Calx Accounts, agents, chats, memory, routines, loom's tools and push. Runs on a server, or inside the desktop app
Core Calx, as a static library Connection, sign-in, sync and the offline cache, shared by the desktop and iPhone apps
Desktop app Rust and GPUI Windows and macOS. Draws screens and reaches the system
iPhone app Swift and SwiftUI Links the same core

The apps hold no logic, so the desktop and the phone can't disagree about data or the protocol. docs/ says how loom works, and protocol/protocol.md is the wire protocol.

License

The code is under the MIT license. loom's name, logo, app icons and marketing material aren't: they belong to Aaen Studios, all rights reserved (NOTICE). A fork or a service built on loom uses its own name and logo, and can say it's based on loom. TRADEMARKS.md has what's allowed.

About

A self-hosted app for chatting with your own AI agents from your computer and phone. Agents run on Claude Code, Codex and others over ACP. Calx server, native desktop and iPhone apps.

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages