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
.field {
position: relative;
flex: 1;
min-width: 0;
}
.description {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
.field > textarea {
display: block;
width: 100%;
}
.suggestion {
pointer-events: none;
position: absolute;
inset: 8px 0 auto;
display: flex;
align-items: baseline;
gap: 8px;
width: max-content;
max-width: 100%;
min-width: 0;
padding: 0;
border: 0;
background: transparent;
color: var(--text2);
font: inherit;
font-size: 15px;
line-height: 22px;
text-align: left;
}
.accept {
pointer-events: auto;
flex: none;
padding: 0;
border: 0;
color: inherit;
background: transparent;
cursor: pointer;
}
.text {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.label,
.suggestion kbd {
flex: none;
font: inherit;
font-size: 11px;
}
/* The suggestion is labelled by a small chip in the conversation's colour. In a narrow
composer the chip shortens first, so the Tab key never runs under the send options. */
.label {
flex: 0 1 auto;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
align-self: center;
padding: 1px 8px;
border-radius: var(--radius-pill);
background: color-mix(in srgb, var(--chat-c, var(--text2)) 14%, transparent);
color: var(--chat-ink, var(--text2));
font-weight: 600;
line-height: 18px;
}
.suggestion kbd {
border: 1px solid var(--b2);
border-radius: 4px;
padding: 0 4px;
line-height: 18px;
}
.suggestion:hover .text {
color: var(--text);
}
@media (max-width: 600px) {
.accept {
display: none;
}
}