Skip to content

feat(agents): create agents from a description, with profiles - #605

Merged
astyfx merged 5 commits into
mainfrom
feat/agent-management
Sep 30, 2026
Merged

astyfx merged 5 commits into
mainfrom
feat/agent-management

Conversation

@astyfx

@astyfx astyfx commented Sep 29, 2026

Copy link
Copy Markdown
Member

Summary

Custom agents can be created from a one-line description, started blank or copied, and each agent gets a profile. The editor shows only what most agents need and folds the rest.

Changes

Features

  • agents: New agent dialog drafts an agent from "What should it do?" with the utility model; Start blank and copy an existing agent skip the model
  • agents: avatar identity (initials disc with a colour), profile header and delete with reference checks
  • agents: editor sections Profile, Instructions and How it runs; Don't use when, skills, tools, limits, usable as and report sit under a collapsed Advanced that opens when a save is blocked there

Test Evidence

  • bun run typecheck, style-channel, doc-paths, max-lines and switch checks pass
  • bun test agent-draft-with-ai, agent-appearance, agents-tab: 22 pass
  • bun run build:pages passes
  • bun run test:ci passes on the stacked branch that contains this one

Notes

Drafting uses one utility-lane request (read only, no tools or secrets) and is skipped by Start blank.

Add optional appearance color to the agent schema (mapped to existing chart tokens, stable derived default), an AgentAvatar component, and library helpers for blank creation, removal and reference lookup.
New agent dialog (blank or template) and palette command, a sectioned editor, a profile header, and a delete dialog that blocks on playbook or project references. Show the avatar in the list, sidebar, Kickoff Who, Fleet badge and Flow node; extend the dev preview with new/edit/delete.
Cover schema appearance, the appearance helpers, removeCustomAgent, blankCustomAgent, reference lookup and the sectioned editor render.
@astyfx
astyfx requested a review from a team as a code owner September 29, 2026 15:26
@astyfx
astyfx requested review from JongSikLim and dodonmountain and removed request for a team September 29, 2026 15:26
@upwind-code-us

upwind-code-us Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Upwind Upwind Code Scan - ✅ Passed

0 newly introduced vulnerabilities · 0 resolved · 42 total in this PR vs main

Total breakdown: 🔶 5 High | 🟡 34 Medium | 🟢 3 Low

View full analysis in Upwind Console

Scan completed in 7s

Scan history (2 scans)
Commit Scanned at New Resolved Net
227081c 2026-09-29 15:26 UTC 0 0 0
497b6e0 < 2026-09-30 07:14 UTC 0 0 0

Last scanned: 497b6e0 · 2026-09-30 07:14 UTC

@upwind-code-us

upwind-code-us Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Upwind Upwind IaC Scan - ✅ Passed

0 newly introduced misconfigurations · 0 resolved · 0 total in this PR vs main

View full analysis in Upwind Console →

Scan completed in 6s

Scan history (3 scans)
Commit Scanned at New Resolved Net
227081c 2026-09-29 15:26 UTC 0 0 0
227081c 2026-09-29 15:26 UTC — — —
497b6e0 < 2026-09-30 07:14 UTC 0 0 0

Last scanned: 497b6e0 · 2026-09-30 07:14 UTC

@astyfx astyfx changed the title feat(agents): create agents from a description and give each a profile feat(agents): create agents from a description, with profiles Sep 29, 2026

@heath-s heath-s left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@astyfx
astyfx enabled auto-merge (squash) September 30, 2026 07:14
@astyfx
astyfx merged commit cec7e2d into main Sep 30, 2026
3 of 6 checks passed
@astyfx
astyfx deleted the feat/agent-management branch September 30, 2026 07:14
@astyfx astyfx mentioned this pull request Sep 30, 2026
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