Skip to content

feat: add global worker agent templates and improve agent config ui#1351

Open
claytonlin1110 wants to merge 2 commits intoeigent-ai:mainfrom
claytonlin1110:feat/global-worker-agent-templates-agent-config-ui
Open

feat: add global worker agent templates and improve agent config ui#1351
claytonlin1110 wants to merge 2 commits intoeigent-ai:mainfrom
claytonlin1110:feat/global-worker-agent-templates-agent-config-ui

Conversation

@claytonlin1110
Copy link
Contributor

@claytonlin1110 claytonlin1110 commented Feb 23, 2026

Related Issue

Closes #1345
Context: Worker agents are already user-scoped (stored per user in the app and shared across all projects). This PR adds file-based global templates so you can keep a reusable library of agent configs that survives cleared app data and can be backed up or moved between machines, plus UI improvements for managing and reusing them.

Description

Feature 1: Global Worker Agent templates

  • Store global templates in ~/.eigent//agent-templates.json (Electron).
  • New Agents → Global Agents tab: list templates, import from JSON, export, duplicate, delete.
  • When adding a Worker: Create from template dropdown and Save as global template checkbox so templates are reusable across projects.

Feature 2: Agent configuration UI

  • Export / Import agent config (JSON) from the Add Worker dialog.
  • Duplicate for global templates (in Global Agents) and for workers (workflow node menu).
  • Larger, resizable description (system prompt) field.
  • Tools overview: summary of selected tools under the tool selector.

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Contribution Guidelines Acknowledgement

@claytonlin1110 claytonlin1110 force-pushed the feat/global-worker-agent-templates-agent-config-ui branch 2 times, most recently from f87f471 to ceb95f0 Compare March 2, 2026 18:09
@claytonlin1110
Copy link
Contributor Author

@Wendong-Fan @a7m-1st @Pakchoioioi Please review this PR when you have a chance.

@claytonlin1110
Copy link
Contributor Author

@4pmtong Would you please review this?

@claytonlin1110
Copy link
Contributor Author

Anyone can review this PR? Thanks.

@a7m-1st
Copy link
Collaborator

a7m-1st commented Mar 3, 2026

Thanks for the PR @claytonlin1110 , it seems a medium size PR. Do you mind attaching some videos or screenshots of your exact changes so that we can have an easy time to assess beforehand?

Depending on that if it's a core user flow feature, we might need to update the docs too.

Thanks for that !

@claytonlin1110 claytonlin1110 force-pushed the feat/global-worker-agent-templates-agent-config-ui branch from ceb95f0 to abf4426 Compare March 4, 2026 04:00
@claytonlin1110
Copy link
Contributor Author

claytonlin1110 commented Mar 4, 2026

Global Agents tab

global.mp4

Create from template and save as global template

create_from_template.mp4

Export / Import agent config (Add Worker)

export_import_agent_config.mp4

@claytonlin1110
Copy link
Contributor Author

@a7m-1st Uploaded video.

@a7m-1st
Copy link
Collaborator

a7m-1st commented Mar 4, 2026

Awesome thanks @claytonlin1110 , I have forwarded the PR to @Pakchoioioi and @Douglasymlai to align the features and UI/UX

@Douglasymlai
Copy link
Contributor

Hi @claytonlin1110 thanks for this PR. I will have a meeting with @Pakchoioioi this week go through this feature, since it's a big update to the project structure. We will get back to you ASAP.

@claytonlin1110
Copy link
Contributor Author

@Douglasymlai @Pakchoioioi Any update?

@claytonlin1110
Copy link
Contributor Author

@Douglasymlai Please let me know if you have any update for this. Wanna get this PR reviewed asap. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Global Worker Agent templates & more friendly Agent configuration UI

3 participants