Suggested Sessions
Suggested sessions are things worth starting a session for, such as a PR that wants your review or a failing check, published by installed plugins. AoE only lists them. Nothing runs until you start one, and Start launches right away with the preset of the suggestion’s kind.
Each item has a title, a reason, the plugin that proposed it, and a draft prompt. Plugins decide what to publish; this page covers using them. Writing a provider is covered in the plugin contract.
Suggestions show up in the web dashboard (homepage section, /suggestions, and optionally the sidebar) and in the TUI. They are stored per profile.
Without a plugin
Any session can suggest work. Tell an agent, for example: “Look at this project and suggest up to three sessions worth starting next.” It calls the suggest_session tool of AoE’s MCP server, or you run aoe suggest "<title>" --prompt "<prompt>" --reason "<why>" (--project names a registered Project; --id makes a repeat replace the earlier suggestion). The suggestion appears under the Agent provider, which is on from the start, and stays across reloads and daemon restarts until you start or dismiss it. There is nothing to refresh: Refresh asks plugins only. The homepage section and the TUI’s list (S) show a prompt to paste into a session until something is suggested.
Plugins add to this list; they do not replace it.
Setting up
With no provider installed, the web homepage and the empty /suggestions view offer Set up suggestions when a featured plugin exists. The sheet installs the sources you tick, runs each plugin’s setup checks (✓, !, ✕, with the plugin’s fix text and Check again), and ends with “Suggestions are on”. Finish later closes it; the plugin stays installed. More sources in the Marketplace › opens Settings › Plugins › Marketplace filtered to plugins that work with suggestions. With no provider, the TUI’s list (S) says to run aoe plugin install gh:agent-of-empires/plugin-github and turn the provider on in the dashboard, and names Set up suggestions when the dashboard offers it. With every provider off, it says to turn one on in Settings › Suggestions.
Providers are off until you turn one on, in the setup sheet, in Settings › Suggestions › Sources, or through the API (PATCH /api/suggestions/prefs with provider_enabled). The sheet turns on each source it installs, and no other. To skip the sheet, install a provider with aoe plugin install (Plugins), then turn it on. While every installed provider is off, the homepage section and /suggestions say so and offer Turn it on (Turn them on for several); a read-only dashboard says it can’t turn them on.
Suggestions stay off until you set them up. A New: suggested sessions tip shows once in the TUI and the dashboard, saying how to turn them on, while every installed provider is off, or while none is installed and a featured plugin offers them. The dashboard walkthrough also has a step on the homepage’s Suggested section, skipped when the section is not on the page. The TUI intro’s last page lists S.
Web dashboard
Homepage and /suggestions
The homepage shows up to 3 suggestions (2 on a narrow screen) under “Suggested sessions”, with View all (N) linking to /suggestions. Turn the section off in Settings › Suggestions.
The full view lists every suggestion, one line per row, grouped by repo:
- Two header rows: the title with a status line (the count and each provider’s “Updated 2 min ago”, “Waiting for first results”, “Nothing new”, “Refreshing…” or “Couldn’t refresh:
”), Refresh and the gear for Settings › Suggestions; then Search, All repos ▾ and All kinds ▾. Items from a failing provider stay listed from the last fetch. - Search matches the title, source reference, reason and repo, ignoring case. All repos ▾ lists the repos with counts. Keys of the form
org/repoare grouped: the org row selects everything under that org, a repo row only that repository. All kinds ▾ narrows to kinds such as Review requests. Selected rows combine, and Clear filters resets them. - Source chips (All, one per source) appear only with two or more sources, and Dismissed once something is dismissed.
- Each repo group has a header with the count that collapses its rows. Rows show
#123rather thanowner/repo#123, then the reason once, such as “Review requested”, then “by” when the plugin reports one. A repo with no Project yet says so in its header. - On a phone each row takes two lines, and Start, ▾ and ✕ keep a 44px tap area. ▾ opens as a bottom sheet.
Starting one
Start runs the suggestion’s kind preset at once: agent, view, worktree, sandbox, Yolo mode and the prompt, in the Project the repo is linked to. There is no New session dialog and no prompt review. A toast names the Session (“Started “
If the repo defines hooks you have not approved, Start pauses on Review this repo’s hooks. Approve and start trusts them and starts in one step. Start cannot skip this review, and it asks again when the hooks change.
▾ next to Start shows what Start will use for this suggestion (Project, agent, view, worktree) and offers:
- Start with changes: opens the New session dialog prefilled from the preset, for this one only. A strip above the form names the source and says “issue text not included”, which is the default: AoE does not add the item’s preview to the prompt unless you turn on the Issue text switch. The prompt itself is the preset’s or the provider’s draft, which the provider writes and can quote the source, so read it before you launch. The dialog also shows “From the
preset” with an Edit preset link. - Copy prompt, Open in
↗ , and Edit thepreset (Settings › Suggestions).
If the repo has no Project yet, Start in… ▾ replaces Start. Picking a Project links the repo to it, then starts, so later suggestions from that repo start in one click. It is off on read-only dashboards and in CityHall mode, which cannot save the link.
Start several at once
Tick the checkbox on each row (or Select all shown), then Start N in the bar that appears. Items start one after another with their own presets. A failure stays on its row and the rest continue; a toast counts what started, what waits for a hooks review and what failed. Review dialogs open one at a time as usual.
Auto start
Off by default. In Settings › Suggestions, a plugin kind’s preset has an Auto start switch (the Agent kind has none: sessions can push more suggestions, so no cap would hold). Turning it on asks first: auto start launches an agent on text written by others (issue and PR content) with no human check, and says so again when the preset has Yolo on, since such a kind is never auto started. Pick a per-refresh cap from 1 to 10 (default 3).
After each provider publish, AoE starts up to the cap of that kind’s items that:
- are not stale or dismissed and have no Session linked yet,
- have exactly one linked Project, need no hooks or MCP review, and use a preset with Yolo off,
- were never auto started before (each item is tried once, even if the start fails).
Nothing runs when you turn the switch on, only after the next publish, and only for a provider that is switched on, and only when the daemon accepts changes (not on a read-only dashboard or in CityHall mode). Items left alone show a “Not auto started:
After starting
The row stops offering Start. It shows “⠋ Running · started 3 min ago” (or “Idle”, the session’s other status, or “Archived”) and an Open button. The ⋯ menu has Start another Session…, Open in
If a start fails, the row shows “Couldn’t start:
Dismiss and restore
Dismiss (✕) hides an item. A bar offers Undo for 10 seconds; on the homepage it also offers “Stop suggesting
Stale and hidden items
A stale item is dimmed and only offers Dismiss: its source closed or changed. It disappears after the plugin has published it stale for 24 hours.
If a provider is switched off, its items are hidden and the view says “
Settings › Suggestions
| Setting | What it does |
|---|---|
| Show on the homepage | The homepage section. |
| Show in the sidebar | A collapsed Suggested (N) group at the bottom of the web session sidebar, above Trash, and a Suggested (N) row in the TUI Home list, below the live sessions and above Archived and Trash. Both are absent when there are no open suggestions. Started suggestions are not counted, since the Session is already under its Project. Expanded, the web group lists 3 items and View all; clicking an item starts it like Start. Off by default. |
| Show where each one comes from | Shows where each suggestion comes from, such as owner/repo#123, on web rows and after the title in the TUI list. On by default. |
| Sources | Drag to set which source comes first (Alt+↑/↓ on a focused row, a move-up button on a phone). Each has an on/off switch. A source that uses an agent says so, since it spends your agent usage. A source error can carry a fix button from the plugin. |
| Source · Kinds | One row per kind of suggestion, such as Review requests: what it starts with (“Claude Code · Structured view · worktree”), a switch to suggest it, and Edit for its preset. |
| Source source settings | The plugin’s own settings for its suggestions, such as the GitHub plugin’s ignored organizations and repositories. The same settings, saved to the same place, also appear under Settings › Plugins. |
| Advanced › Check for new suggestions every | 5 min, 15 min, 30 min, 1 h or 2 h. A hint sent to plugins; they may refresh less often. |
| Advanced › Linked repos | Edit opens Projects. |
| Advanced › Dismissed suggestions | Show opens the Dismissed filter. |
Presets
Each kind of suggestion has a preset: what Start uses for every suggestion of that kind. Edit on a kind opens it with the same rows, in the same order, as the New session dialog: Agent, View (Structured or Terminal), Worktree, Sandbox, Yolo mode and Prompt. The Project is not part of a preset: it comes from the repo’s link, so one preset works across repos.
Until you edit it, a preset follows your new-session defaults (Yolo mode included) and the plugin’s own prompt, so a later change to the defaults flows through. The Agent is settled in this order: a saved preset’s own agent, then the item’s Project’s default_tool (the same agent the New session dialog and aoe add start with in that project, set through PATCH /api/projects or projects.json, so a repository cannot choose the agent), then the profile’s session.default_tool, then Claude Code. An item whose repo is linked to no Project skips the Project step. Save stores the whole preset for the current Profile. Reset to
The prompt is a template. {name} expands to the item’s variable of that name; unknown names stay as typed. The editor lists the available variables and previews the result against a current item. An empty prompt starts the session with no prompt, so you type the first message. Kinds whose text comes from other people, such as Mentions and New issues, start the same way, so Start sends their text as the prompt. To read it first, use ▾ › Start with changes.
Projects
Linked repos pins a source key (for example a repository) to one or more registered Projects. Start in… makes the same link. Unlinked keys show “no Project yet”. Rules for how a Project is resolved are in the API reference.
Mapping wizard
Link repos automatically… under Linked repos, lists every source key in the current suggestions that has no mapping and proposes a Project for it:
- A Project whose git
originis the key (owner/repo, ignoring case) is proposed and checked. - Otherwise a Project whose name or folder equals the key’s last part, ignoring case,
-and_, is proposed unchecked. - Keys with no proposal are listed under “No match”; choosing a Project checks them.
Change any proposal with its select, then Link N repos stores every checked row as a mapping to that one Project. Saving is refused on read-only dashboards and in CityHall mode.
TUI
The TUI keys below are provisional until #4597 settles the key bindings.
Home. With Show in the sidebar on (off by default; h in the pane turns it on or off), one Suggested (N) row sits below the live sessions, pinned with Archived and Trash at the bottom of the list and directly above them. It is absent when there are no open suggestions, unless a provider failed: then the row stays, marked !. Selecting the row shows every suggestion in the preview pane, the way the System Health strip shows its view there. Enter, Tab or → moves the keys into the pane, and Esc gives them back to the row. S (Ctrl+S in strict mode) selects the row and moves the keys into the pane from anywhere; with the row hidden it still opens the pane, and Esc returns to the Session you were on. Clicking the pane moves the keys into it, and clicking a row in the list gives them back. If the row goes away while the pane has the keys (h hid it, or the suggestions belong to another profile), the pane stays until Esc, which lands on the row that took its place.
Pane. Items are grouped under their repo or Project, each with its source reference after the title and its author as “by ◇ while the item is open and ready to start, the Session’s own glyph once it is started (⠋ running, ⠃ waiting, ⠒ idle or stopped, ⠤ unknown, ✕ error, ▤ archived), and ✕ dimmed for an item no longer open at the source or ⠒ for a dismissed one. A started Session whose first prompt was not delivered shows ✕ in the error color even while it is idle: that marks the held prompt, not an error state of the Session, and Enter opens it. A started suggestion stays listed with its Session’s status, and Enter opens the Session.
Strict mode moves the letters by Home’s rule: a bare letter takes Shift, and a Shift letter takes Ctrl.
| Key | Strict mode | Action |
|---|---|---|
j / k |
j / k |
Select |
| Enter | Enter | Start with the preset. On a started item it opens the session |
e |
E |
Start with changes: opens the New session dialog prefilled from the kind’s preset and the final prompt |
N |
Ctrl+N |
Another session for the item that does not take its link, so a started item can have more than one |
| Space | Space | Mark or unmark the item. Enter then starts every marked item one after another; a failure does not stop the rest, and one needing a hooks review stays on its row |
a |
A |
Turn auto start on or off for the item’s kind. Turning it on asks first |
z |
Z |
Dismiss or restore |
d |
D |
Show or hide dismissed items |
t |
T |
Turn on pre-trust, on a Session blocked on folder trust |
h |
H |
Show or hide the Suggested row on Home (the Show in the sidebar setting). The pane stays open until Esc |
r |
R |
Ask providers to refresh, then reload the list. On a read-only dashboard it only reloads |
| PgUp / PgDn | PgUp / PgDn | Scroll the detail: the prompt, then the item’s source text |
Ctrl+K |
Ctrl+K |
Open in the provider |
? |
? |
List every key; any key closes the list |
Esc / q |
Esc / q |
Back to the Suggested row |
If the repo has hooks nobody has approved, Enter shows them, with a one-line summary of each MCP server, in a review dialog; approving starts the session and cancelling starts nothing. A hooks review that is out of date (the hooks changed after you read them) shows again. A start that fails shows “Couldn’t start: t (T in strict mode) turns on pre-trust (pre_trust_agent_folders, after saying that the repo’s own Claude Code settings then run too), and Enter then moves the blocked Session to Trash and starts the suggestion again. A Session started from the New session dialog is not retried: trust the folder in the Session itself. If it is asking to accept Bypass Permissions, open the Session once and accept it.
New-session dialog. For a suggestion, the first turn is one line above the footer: “Prompt from GitHub, not checked by AoE”, or “Prompt: none” once you erase it. A blank session shows no prompt line until you add one. Ctrl+O opens it in a small editor, which also shows the item’s source text; Esc closes it and keeps your edits. Ctrl+P still opens the focused row’s picker. The “Issue text” checkbox appears when the item has source text; it is off by default, and when ticked the text is appended to the prompt at launch and passed to the agent unchecked. The prompt is sent once the agent is ready (typed into a terminal session, or sent as the first turn of a structured-view one).
From the command line, aoe add --prompt <text> (or --prompt-file <path>) sets the same first turn. A terminal session (the default) keeps it until its agent starts, with --launch or later from the dashboard or TUI. It is typed into a known agent: one whose ready marker AoE can see, or an agent without one, which gets 5 seconds to start instead. aoe add refuses the prompt for a shell and for a --cmd-override command, and creates nothing; pass --structured-view or --agent to send it as a structured session’s first turn instead.
Read-only dashboards and CityHall
A read-only dashboard lists suggestions but cannot change anything: “Read-only: suggestions can’t be started or changed.” The TUI says “Read-only daemon: you can browse, not start or dismiss.” at the top of the pane and when a key there is refused, and r only reloads. Offline, suggestions stay visible from the last fetch (“Disconnected. Suggestions show from the last fetch; reconnect to start one.”).
In CityHall mode the suggestion routes that change anything (start, refresh, dismiss, source and preference changes, preset and mapping edits) are refused server-side, and plugin lifecycle is hidden, so setup and the Marketplace are unavailable. Reading suggestions stays allowed. The API reference lists the exact routes.
Troubleshooting
- Nothing appears, “waiting for first results”. The plugin has not published yet. Press Refresh; the first fetch usually takes under a minute.
- “couldn’t refresh,
”. The plugin reported a failure and the last items are shown. If a fix button is offered, use it, then Refresh. - Setup checks failing. In the setup sheet, follow each failed check’s fix text, then Check again.
- A kind of suggestion is missing. Its switch under Settings › Suggestions › Kinds, or the whole source, may be off.
- Start is greyed out. Read-only or offline, see above.