Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Docs

on:
push:
branches: [main]
paths:
- "docs/**"
- "server/priv/static/docs.md"
- ".github/workflows/docs.yml"
pull_request:
paths:
- "docs/**"
- "server/priv/static/docs.md"
- ".github/workflows/docs.yml"
workflow_dispatch:

permissions:
contents: read

concurrency:
group: pages
cancel-in-progress: false

env:
MDBOOK_VERSION: "0.5.4"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install mdBook
run: |
url="https://github.com/rust-lang/mdBook/releases/download/v${MDBOOK_VERSION}/mdbook-v${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
mkdir -p "$RUNNER_TEMP/mdbook"
curl -sSfL "$url" | tar -xz -C "$RUNNER_TEMP/mdbook"
echo "$RUNNER_TEMP/mdbook" >> "$GITHUB_PATH"
- name: Build the site
run: sh scripts/docs-build.sh
- uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: target/docs-site

deploy:
if: github.event_name != 'pull_request'
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,13 @@ see the Aether tools. Then ask Codex to send a task or manage your invites.

## More documentation

The documentation site is at <https://flowcopilot.github.io/aether/>. It
has an onboarding guide for humans and one for agents. To build it locally,
run `mise run docs-serve`.

| File | Contents |
| --- | --- |
| [docs/onboarding/human.md](docs/onboarding/human.md) | Onboarding for humans: install, connect to one person, and send a first task |
| [docs/usage.md](docs/usage.md) | The web UI, invites, access groups, agent types, listings, and the task inbox |
| [docs/configuration.md](docs/configuration.md) | Agent adapters, Codex login, the agent's MCP tools, task policy, relay, and directory settings |
| [docs/pact.md](docs/pact.md) | The PACT gateway for outside personal agents |
Expand Down
15 changes: 15 additions & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Summary

[Start here](index.md)

# Onboarding

- [For humans](onboarding/human.md)
- [For agents](onboarding/agent.md)

# Guides

- [Using Aether](usage.md)
- [Configuration](configuration.md)
- [The PACT gateway](pact.md)
- [Development](development.md)
75 changes: 75 additions & 0 deletions docs/assets/aether.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
/* Aether tokens from DESIGN.md, applied on top of the mdBook theme. */
:root {
--aether-background: oklch(0.99 0.002 165);
--aether-foreground: oklch(0.22 0.008 165);
--aether-muted-foreground: oklch(0.46 0.012 165);
--aether-primary: oklch(0.43 0.07 185);
--aether-border: oklch(0.88 0.008 165);
}

.coal, .navy, .ayu {
--aether-background: oklch(0.2 0.009 165);
--aether-foreground: oklch(0.94 0.005 165);
--aether-muted-foreground: oklch(0.72 0.012 165);
--aether-primary: oklch(0.78 0.08 185);
--aether-border: oklch(0.32 0.01 165);
}

.light, .rust {
--links: var(--aether-primary);
}

.aether-paths {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 16px;
margin: 24px 0 32px;
}

.content a.aether-path {
display: flex;
flex-direction: column;
gap: 6px;
padding: 20px;
border: 1px solid var(--aether-border);
border-radius: 12px;
background: var(--aether-background);
color: var(--aether-foreground);
text-decoration: none;
transition: border-color 150ms ease, transform 150ms ease;
}

.content a.aether-path:hover,
.content a.aether-path:focus-visible {
border-color: var(--aether-primary);
text-decoration: none;
}

.content a.aether-path:focus-visible {
outline: 2px solid var(--aether-primary);
outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
.content a.aether-path:hover { transform: translateY(-1px); }
}

.aether-path-kicker {
font-size: 1.2rem;
font-weight: 500;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--aether-primary);
}

.aether-path-title {
font-size: 1.8rem;
font-weight: 600;
line-height: 1.3;
}

.aether-path-body {
font-size: 1.4rem;
line-height: 1.5;
color: var(--aether-muted-foreground);
}
19 changes: 19 additions & 0 deletions docs/book.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[book]
title = "Aether"
description = "Share your personal AI agent with people you trust."
authors = ["Aether contributors"]
language = "en"
src = "."

[build]
build-dir = "../target/docs-site"
create-missing = false

[output.html]
site-url = "/aether/"
git-repository-url = "https://github.com/flowcopilot/aether"
edit-url-template = "https://github.com/flowcopilot/aether/edit/main/docs/{path}"
additional-css = ["assets/aether.css"]
default-theme = "light"
preferred-dark-theme = "navy"
no-section-label = true
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ chooses how the node reaches it:
| `adapter` | The agent | Setup |
| --- | --- | --- |
| `codex` (default) | The node starts `codex app-server` for each task. | See "Real Codex" below. |
| `connected` | An agent that runs on its own connects to `<data-dir>/agent.sock`. | For Hermes Agent, see [integrations/hermes-plugin](../integrations/hermes-plugin/README.md). For OpenClaw, see [integrations/openclaw-plugin](../integrations/openclaw-plugin/README.md). |
| `connected` | An agent that runs on its own connects to `<data-dir>/agent.sock`. | For Hermes Agent, see [integrations/hermes-plugin](https://github.com/flowcopilot/aether/blob/main/integrations/hermes-plugin/README.md). For OpenClaw, see [integrations/openclaw-plugin](https://github.com/flowcopilot/aether/blob/main/integrations/openclaw-plugin/README.md). |

Set the adapter once with `aether node serve --adapter codex|connected`. The
node saves it in its policy, and later starts keep it. Each data directory has
Expand Down
4 changes: 2 additions & 2 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ each `specs/<Name>.cfg` with TLC; `mise run check` runs it too. The script
downloads a pinned `tla2tools.jar` into `target/tla/` and checks its hash.
Check one model with `sh scripts/tla.sh ExecutionLease`. The models do not
read the code: when you change a function that a model names, change the
model in the same commit. [specs/README.md](../specs/README.md) lists the
model in the same commit. [specs/README.md](https://github.com/flowcopilot/aether/blob/main/specs/README.md) lists the
models and what each one checks.

The proof binary has three process modes:
Expand Down Expand Up @@ -290,7 +290,7 @@ a 30-second handler limit. The local UI accepts 32 connections, an 8 KiB form
body, a 5-second TLS handshake, and a 10-second request. The administration
socket accepts a 64 KiB message.

The [two-VM direct-path runbook](../references/aether-vm-runbook.md) gives a
The [two-VM direct-path runbook](https://github.com/flowcopilot/aether/blob/main/references/aether-vm-runbook.md) gives a
separate-VM test. It does not replace a physical two-computer test.

The proof includes a local HTTPS directory service. It does not include a
Expand Down
39 changes: 39 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Aether

Aether lets you share your personal AI agent with people you trust. You run a
node on your computer. People that you invite send tasks to your agent, and it
answers in plain text. They do not get your files, your accounts, or your
computer.

## Choose your path

<div class="aether-paths">
<a class="aether-path" href="onboarding/human.html">
<span class="aether-path-kicker">I am a human</span>
<span class="aether-path-title">Set up Aether step by step</span>
<span class="aether-path-body">Install the node, connect to one person, and send your first task. Plan for about 15 minutes.</span>
</a>
<a class="aether-path" href="onboarding/agent.html">
<span class="aether-path-kicker">I am an agent</span>
<span class="aether-path-title">Install and use Aether for your user</span>
<span class="aether-path-body">Commands in sequence, the MCP tools, and the safety rules. Raw Markdown for agents: <code>agent.md</code> at the site root.</span>
</a>
</div>

## How it works

- **The host** runs an agent (Codex, Hermes Agent, or OpenClaw) behind a node.
- **The caller** gets an invite from the host and sends tasks. A caller does
not need to run an agent.
- **The hub** gives each node a name, such as `ana#0042`. It carries no task
text and no answer. After the match, the nodes talk peer-to-peer.

One person can have both roles on the same node.

## More documentation

- [Using Aether](usage.md): the web UI, invites, access groups, and the inbox.
- [Configuration](configuration.md): agent adapters, MCP tools, task policy,
and the relay.
- [The PACT gateway](pact.md): outside personal agents.
- [Development](development.md): tests, proof runs, and limits.
5 changes: 5 additions & 0 deletions docs/onboarding/agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
> This page is a copy of `/docs.md` on the hub. On this page, "this site"
> and "this hub" mean the public Aether hub. Agents can read the raw Markdown
> at <https://flowcopilot.github.io/aether/agent.md>.

{{#include ../../server/priv/static/docs.md}}
Loading
Loading