Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.
TypeScript agentai-agentai-agentsai-assistantandroidautomationchatgptcoding-agentcomputer-usedesktop-appelectronllmlocal-firstmcpmulti-agentollamaopenaiprivacyself-hostedtypescript
/* The member filter is a tinted field holding the picked Bots as chips. */
.recipients {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
min-width: 0;
margin: 0 0 4px;
padding: 4px 10px;
border-radius: 12px;
background: var(--tert);
}
.recipients:focus-within {
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--avatar-teal) 55%, transparent);
}
.searchIcon {
flex: none;
color: var(--text2);
}
.input {
flex: 1;
min-width: 120px;
height: 34px;
border: 0;
border-radius: 6px;
background: transparent;
color: var(--text);
font: inherit;
font-size: 14px;
}
.input:focus-visible {
outline: none;
}
.input::placeholder {
color: var(--text2);
}
.backIcon {
transform: rotate(180deg);
}
/* One soft card, no borders or separators; sections are named by dotted headings. */
.card {
width: 100%;
box-sizing: border-box;
border: 0;
border-radius: 18px;
background: var(--card);
box-shadow: var(--shadow-soft);
padding: 8px;
}
.option {
display: flex;
align-items: center;
gap: 14px;
width: 100%;
min-height: 52px;
padding: 6px 12px;
border: 0;
border-radius: 12px;
background: transparent;
font: inherit;
font-size: 15px;
color: var(--text);
text-align: left;
cursor: pointer;
}
.option:hover:not(:disabled),
.option[data-active] {
background: var(--hover);
}
/* A Bot picked for the group is washed in its own colour. */
.option[data-picked] {
background: color-mix(in srgb, var(--row-c, var(--avatar-teal)) 10%, transparent);
}
.option[data-picked]:hover:not(:disabled),
.option[data-picked][data-active] {
background: color-mix(in srgb, var(--row-c, var(--avatar-teal)) 16%, transparent);
}
.option:focus-visible {
outline: 2px solid var(--accent);
outline-offset: -2px;
}
.option:disabled {
opacity: 0.5;
cursor: default;
}
.avatar {
position: relative;
flex: none;
display: flex;
}
.groupHeading {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 12px 4px;
font-size: 12px;
font-weight: 700;
color: var(--text2);
}
.groupHeading::before {
content: "";
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--avatar-teal);
}
.mainBadge {
position: absolute;
right: -3px;
bottom: -3px;
width: 14px;
height: 14px;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid var(--b2);
border-radius: 50%;
background: var(--card);
color: var(--text);
}
.identity {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 2px;
}
.name,
.subtitle {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.subtitle {
font-size: 12.5px;
color: var(--text2);
}
.note {
padding: 8px 12px;
margin: 0;
font-size: 12.5px;
color: var(--text2);
}
/* An empty section reads as a quiet line inside it, aligned with the rows. */
.emptyNote {
margin: 2px 8px 4px;
padding: 8px 12px;
border-radius: 10px;
background: var(--tert);
font-size: 12.5px;
color: var(--text2);
}
.banner {
margin: 0;
padding: 10px 14px;
border-radius: 12px;
background: color-mix(in srgb, var(--avatar-teal) 10%, transparent);
color: var(--text);
font-size: 12.5px;
}
.chip {
display: flex;
align-items: center;
gap: 6px;
height: 30px;
max-width: 100%;
padding: 0 6px 0 4px;
border-radius: 15px;
background: color-mix(in srgb, var(--avatar-teal) 12%, var(--card));
box-shadow: var(--shadow);
}
.chipName {
max-width: 160px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 13.5px;
}
.removeChip {
min-height: 20px;
width: 20px;
height: 20px;
padding: 0;
border-radius: 50%;
flex: none;
}
.check {
width: 22px;
height: 22px;
border-radius: 50%;
border: 1.5px solid var(--b3);
display: flex;
align-items: center;
justify-content: center;
flex: none;
}
.check[data-checked] {
background: var(--avatar-teal);
color: var(--on-tone);
border-color: var(--avatar-teal);
}
/* Inside the dialog the forms sit on its card directly; no second frame. */
.createForm {
box-sizing: border-box;
width: 100%;
display: flex;
flex-direction: column;
gap: 14px;
}
.members {
display: flex;
flex-direction: column;
gap: 12px;
min-width: 0;
}
.list {
display: flex;
flex-direction: column;
}
.backPill {
min-height: 30px;
padding: 4px 12px 4px 8px;
gap: 4px;
color: var(--text2);
}
.creationHeading {
display: flex;
align-items: center;
gap: 14px;
}
.heading {
font-size: 16px;
font-weight: 650;
margin: 0;
}
.hint {
font-size: 12.5px;
color: var(--text2);
margin: 2px 0 0;
}
.fieldLabel {
font-size: 13px;
color: var(--text2);
}
.description {
box-sizing: border-box;
padding: 10px 12px;
width: 100%;
border: 0;
border-radius: 12px;
font: inherit;
font-size: 14px;
color: var(--text);
background: var(--tert);
resize: vertical;
}
.description:focus-visible {
outline: none;
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--avatar-violet) 55%, transparent);
}
.createForm {
--button-fill: var(--avatar-violet);
--button-on: var(--on-tone);
}
/* Shared with the sidebar's archive list. */
.feedback {
max-width: 560px;
}
.dialogFeedback {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
}
.dialogFeedback:empty {
display: none;
}
.dialogFeedback p {
margin: 0;
}
.error {
color: var(--danger);
}
.formCard {
display: grid;
gap: 9px;
min-width: 0;
padding: 14px;
border: 1px solid var(--b2);
border-radius: 14px;
background: var(--card);
}
.formCard[open] > :not(summary) {
margin-top: 8px;
}
.cardTitle {
margin: 0;
font-size: 13px;
font-weight: 650;
}
.cardTitle::before {
content: "";
display: inline-block;
width: 7px;
height: 7px;
margin-inline-end: 7px;
border-radius: 50%;
background: var(--form-accent, var(--avatar-violet));
}
.formCard > summary {
cursor: pointer;
}
.choices,
.coordinators {
display: flex;
flex-wrap: wrap;
gap: 8px;
min-width: 0;
padding: 0;
margin: 0;
border: 0;
}
.choices > label {
flex: 1 1 130px;
}
.choice {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
padding: 8px 10px;
border: 1px solid var(--b2);
border-radius: 12px;
background: var(--tert);
overflow-wrap: anywhere;
cursor: pointer;
}
.choice input {
accent-color: var(--form-accent, var(--avatar-violet));
}
.choice:has(:checked) {
border-color: var(--form-accent, var(--avatar-violet));
background: color-mix(in srgb, var(--form-accent, var(--avatar-violet)) 12%, var(--card));
}
.groupAccent {
--form-accent: var(--avatar-teal);
}
.botFooter,
.groupFooter {
display: flex;
align-items: center;
justify-content: flex-end;
flex-wrap: wrap;
gap: 8px;
width: 100%;
--button-on: var(--on-tone);
}
.botFooter {
--button-fill: var(--avatar-violet);
}
.groupFooter {
--button-fill: var(--avatar-teal);
}
.botFooter > span,
.groupFooter > span {
flex: 1 1 120px;
font-size: 12px;
color: var(--text2);
}
.avatarPreview {
position: relative;
flex: none;
}
.reroll {
position: absolute;
bottom: -5px;
inset-inline-end: -6px;
min-height: 22px;
font-size: 10px;
padding: 2px 6px;
background: var(--card);
}
.importAction {
margin-inline-start: auto;
align-self: flex-start;
}
.choice:has(input:focus-visible) {
outline: 2px solid var(--accent);
outline-offset: 2px;
}