feat(DATAGO-123095) Default agent artifacts : Making certain files available to all users of an agent as read-only resources #893
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.




This pull request introduces support for agent-level default artifacts, making certain files available to all users of an agent as read-only resources. The changes span backend service logic, configuration, and frontend UI/UX to ensure these default artifacts are loaded, displayed, and protected from deletion.
Backend: Agent Default Artifact Support
Agent-level default artifact logic:
ScopedArtifactServiceWrapper. These artifacts are loaded at agent startup, stored under a special user ID, and are accessible in all sessions as read-only. The wrapper ensures that attempts to delete or overwrite these artifacts are handled correctly. [1] [2] [3] [4] [5]Configuration for default artifacts:
DefaultArtifactConfigmodel and added adefault_artifactsfield toSamAgentAppConfig, allowing agents to specify a list of default artifacts to preload and expose to users. [1] [2]Frontend: Artifact Handling and UI
Artifact fetching and display:
useArtifactshook andChatProviderto accept anagentNameparameter, ensuring agent default artifacts are included when fetching artifacts for a session. [1] [2] [3] [4]Read-only artifact protection in UI:
Minor UI consistency: