feat(agents): Support agent description - #650
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: dd80759 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
bhaveshpatel640
marked this pull request as ready for review
September 9, 2026 12:56
bhaveshpatel640
requested review from
chiragjn,
debajyoti-truefoundry,
heerambavi1998,
sr07asthana and
thesujai
as code owners
September 9, 2026 12:56
bhaveshpatel640
force-pushed
the
AGE-2120
branch
from
September 11, 2026 06:43
44d165f to
0cd3b70
Compare
bhaveshpatel640
force-pushed
the
AGE-2120
branch
from
September 11, 2026 06:57
3e9b8e6 to
a29bca9
Compare
bhaveshpatel640
force-pushed
the
AGE-2120
branch
from
September 11, 2026 07:06
177bee0 to
98fbb22
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 00210d3. Configure here.
harshil-2096
added this pull request to stack #708
September 11, 2026 09:57
heerambavi1998
approved these changes
Sep 11, 2026
bhaveshpatel640
force-pushed
the
AGE-2120
branch
from
September 11, 2026 11:31
00210d3 to
77664b5
Compare
bhaveshpatel640
removed this pull request from stack #708
September 11, 2026 11:50
bhaveshpatel640
force-pushed
the
AGE-2120
branch
from
September 11, 2026 12:15
1858551 to
4dee7fe
Compare
bhaveshpatel640
added this pull request to stack #712
September 11, 2026 12:19
bhaveshpatel640
removed this pull request from stack #712
September 11, 2026 12:51
* Regenerate OpenAPI document and TypeScript SDK * Chore: Add agent description support in UI * Enhancement: Implement support for agent descriptions across UI components * chore: update @truefoundry/assistant-ui-runtime to version 0.1.37 in package.json files * Refactor: Simplify agent description handling and improve UI consistency * Fix: Ensure agent description is displayed in the save dialog * Refactor: Replace description text with tooltip in AgentLibraryRow and remove unused description in AgentOverview * Enhancement: Add description display in AgentOverview component * Add description field to agent records in tests and update AgentsLibrary for better handling of agent descriptions - Added 'description' field to agent records in agentStoreContractSuite, TrueFoundryMcpServerStore.test, and TrueFoundryModelProviderStore.test. - Updated AgentsLibrary component to improve description handling, ensuring proper truncation and avoiding name-echo descriptions. - Enhanced test cases to verify description truncation and visibility in the AgentsLibrary. --------- Co-authored-by: trueforge-dev-bot[bot] <trueforge-dev-bot[bot]@users.noreply.github.com> Co-authored-by: Govinda Vashishtha <57435703+govindavashishtha@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Bhavesh Patel <bhavesh@truefoundry.com>
bhaveshpatel640
requested review from
govindavashishtha,
kumarsks619,
qaifi-tf,
sajal-truefoundry,
sayan-truefoundry and
vinit-truefoundry
as code owners
September 11, 2026 12:51
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.

Persist top-level agent description
Note
Medium Risk
Create-agent is a breaking API/SDK contract change, plus a DB migration and ServiceFoundry dual-write paths where description sync failures could leave remote/local skew.
Overview
Adds a required top-level
description(1–1024 chars) on agents, separate from the manifest, and threads it through storage, the public API, ServiceFoundry sync, the regenerated SDK, and the UI.Backend & API: OpenAPI and Zod schemas now include
descriptiononAgent, require it on create, and allow optional updates (manifest-only PUT keeps the stored description). Postgres/SQLite migrations add the column and backfill fromname. Agent create/update/import andTrueFoundryAgentStorepush the real description to ServiceFoundry instead of always using the agent name.UI: Save/update flows require a description field, shell mode carries it outside
AgentSpec, the agents library shows truncated descriptions (skipping name-echo fallbacks), agent overview shows a Description card, and clone/edit propagate the stored value. The harness adapter sends top-leveldescriptionon create (name fallback for legacy clones) and omits empty description on update to avoid wiping stored text.SDK: Fern-generated types and wire tests include
description; create calls must pass it.Reviewed by Cursor Bugbot for commit dd80759. Bugbot is set up for automated code reviews on this repo. Configure here.