Repository navigation
feat: agents can direct each other without per-message limits - #1055
Merged
Merged
Conversation
Agents could make 3 requests of each other in a room, and start 5 threads and send them 10 messages (10 and 20 in the lead chat), before they had to wait for the user to write. A lead agent directing a team for hours stopped at the first limit. The counts are gone, the way T3 Code works: room asks, reviews, hand-offs and invites, thread starts and sends, and lead chat passes are no longer counted or refused for volume. Stop, the approval settings, 5 threads per call, 3 side answers at once and the lead pass ceiling stay. The counter fields stay in the schema so older clients still decode a thread, and the `limit` outcome leaves the room and thread tool results. Tool descriptions, the lead role text, the app guide and the design docs say so. docs/design/agent-autonomy-no-limits.md also holds the plan for nesting threads to any depth and the review findings that keep it unbuilt for now.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agents could make 3 requests of each other in a room, and start 5 threads and send them 10 messages (10 and 20 in the lead chat), before they had to wait for the user to write. A lead agent directing other agents for hours or days stopped at the first limit.
The per-message counts are gone, the way T3 Code works. Room asks, reviews, hand-offs and invites,
thread_start,thread_sendand lead chat passes are no longer counted or refused for volume. We accept T3 Code's risk: two agents can keep messaging each other until the user presses Stop.Kept on purpose: Stop and its hold, the approval settings, 5 threads per
thread_startcall, 3 side answers at once, the lead pass ceiling, and outside agents' own limits.requestsSinceUser,batchesSinceUser,startsSinceUserandsendsSinceUserstay in the schema so older clients still decode a thread. Nothing counts or reads them.limitoutcome leaves the room and thread tool results. The web still reads it in old transcripts.agentContextBudget.json: on-demand tool definitions are 99 bytes smaller.docs/design/agent-autonomy-no-limits.mdalso holds the plan for letting threads start threads to any depth. A review found 13 problems in it, so that part is not built here.Checks: typecheck, lint, fmt; unit suites for server, web, shared, contracts and client-runtime. The desktop unit tests could not run locally (Electron binary not installed in the worktree). GPT-6.2 Astra reviewed the diff; its two findings in this change are fixed. Two older bugs it found are left for a follow-up: an automatic continue at a usage reset clears the room's Stop hold and invite pause, and a side question doesn't lift a lead pass's block.