Skip to content

Agent menu with "More agents", and an Agent Store in the Agent Lab - #3

Merged
EveAeternam merged 3 commits into
mainfrom
claude/agent-picker-more-gmnvow
Oct 13, 2026
Merged

EveAeternam merged 3 commits into
mainfrom
claude/agent-picker-more-gmnvow

Conversation

@EveAeternam

@EveAeternam EveAeternam commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Requested by Evie · project thread

What changed and why

Before: the agent dropdown listed every local agent, in two columns once there were more than six. Community agents in Shell-B-Agents had to be copied into the Agent Lab by hand, field by field.

After:

  • Agent menu. The menu shows your six most-used local agents, or exactly the ones you pinned, and keeps the Cloud submenu. More agents · N more opens the full list with a search box (Enter picks the first match) and a pin on each agent. Browse the Agent Store at the bottom opens the Store. On a phone, the agent sheet gets a search box and the same Store link.
  • Agent Store. The Agent Lab has a Store pane that lists agents from Shell-B-Agents, plus any agent repository added in Settings → Community. It has search, topic filters, a plain-language list of what each agent can use, and Install / Chat / Edit buttons. A new install is pinned to the agent menu.

How:

  • Picks and pins are saved per browser (ui/src/agentPicks.ts, same pattern as ambience.ts).
  • Agents are a fourth kind in server/gallery.py, fetched like themes and installed only by the owner.
  • clean_agent keeps only the persona fields within the format's limits. It drops tools this Shell:B doesn't have and never accepts the adult flag or another agent's id.
  • An installed agent runs on the default agent's model. The exception is a named local model that is actually installed here. A cloud model in the file is never used, so installing an agent can't start sending chats out.
  • Reinstalling updates the same agent and keeps the owner's own model, context size and skills.
  • server/family.py now marks agents as installable, pointing to "Agent Lab → Store".

How you tested it

  • scripts/check.sh passes (compile, pyflakes, tests, tsc). Compile, pyflakes and tsc pass, and all tests pass except two that fail the same way on main in this container: integrity_test (runs as root, so its unreadable file is readable) and smoke_test /api/models (no Ollama). The new gallery_test.test_agent_joins_the_roster_cleaned covers the cleaning, model choice, update in place and owner-only install. I haven't tried the UI by hand in a running Shell:B yet.
  • User-visible change: entries added at the top of docs/changelog.json
  • New UI strings wrapped in t('…') with a French line in ui/src/i18n/fr.json (appended at the end, not re-sorted; main's conflicting additions kept first)
  • Manual or API docs updated where a route, tool or table changed (/api/gallery/{kind} and /api/gallery/install now accept agent)
  • No secrets, chats or personal data in the diff or the screenshots

New dependencies

None.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UhoMM8gopAmsPkcxdBbcze

The composer's agent dropdown listed every local agent (two columns past six).
It now shows the pinned agents, or the six most-used local ones until the person
pins any, plus a More agents row that opens the full searchable list with a pin
toggle per agent. Picks and pins are remembered per browser (ui/src/agentPicks.ts).
The phone's agent sheet gains a search box and counts picks too.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UhoMM8gopAmsPkcxdBbcze
@EveAeternam EveAeternam self-assigned this Oct 13, 2026
…ore-gmnvow

# Conflicts:
#	ui/src/i18n/fr.json
Agents become a fourth community gallery kind (server/gallery.py). The official
Shell-B-Agents repository is a default source, and agent repositories added in
Settings → Community join it. Installing goes through clean_agent: only the
persona fields within the format's limits, tools cut to this Shell:B's agent
tools, never the adult flag or another agent's id. The agent runs on the default
agent's model unless it names a local model that is installed, never on a cloud
model. Reinstalling updates the same agent and keeps the owner's model, context
size and skills.

The Agent Lab gets a Store pane with search, topic filters, what each agent can
use, and Install / Chat / Edit. A fresh install is pinned to the agent menu.
More agents in the composer menu and the phone's agent sheet link to the Store.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UhoMM8gopAmsPkcxdBbcze
@EveAeternam EveAeternam changed the title Agent menu: most-used or pinned agents, the rest under "More agents" Agent menu with "More agents", and an Agent Store in the Agent Lab Oct 13, 2026
@EveAeternam
EveAeternam marked this pull request as ready for review October 13, 2026 02:13
@EveAeternam
EveAeternam merged commit eaf54c7 into main Oct 13, 2026
2 checks passed
EveAeternam pushed a commit that referenced this pull request Oct 13, 2026
fr.json: both sides appended strings; main's first, then this branch's.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G13cXQwUfmo3PoJsiW8g8j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants