Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Agent Preset Functionality #9168

Closed
Tracked by #8774
Swiftyos opened this issue Jan 2, 2025 — with Linear · 1 comment
Closed
Tracked by #8774

Implement Agent Preset Functionality #9168

Swiftyos opened this issue Jan 2, 2025 — with Linear · 1 comment
Assignees
Labels
platform/backend AutoGPT Platform - Back end

Comments

Copy link
Contributor

Swiftyos commented Jan 2, 2025

Add the functionality required to create, modify and delete agent presets.

@Swiftyos Swiftyos self-assigned this Jan 2, 2025
@Pwuts Pwuts added the platform/backend AutoGPT Platform - Back end label Jan 3, 2025 — with Linear
@Swiftyos Swiftyos reopened this Jan 29, 2025
@Swiftyos Swiftyos assigned Swiftyos and unassigned Swiftyos Feb 13, 2025
ntindle added a commit that referenced this issue Feb 25, 2025
- Resolves #8774
  - Resolves #8775
- Includes back-end work for #9168
- Partially implements #8776
- Partially implements #8777

### Changes 🏗️

- Add `/library` page
- Change target of "Library" navigation link from `/monitoring` to
`/library`
- Move `/agents/[id]` page to `/library/agents/[id]`
- Set application background color to `bg-neutral-50`
- Redirect to new library agent's "runs" page (`/library/agents/[id]`)
after adding from marketplace

Further (technical) frontend changes:
- Add types and client methods for all library API endpoints
- Added `primary` variant to `agptui/Button` component

Backend changes:
- Add functionality to library backend
  - Aggregate agent status
  - Image generation for use in library view
    - Add `LibraryAgent.imageUrl` column to DB schema
  - Sorting & pagination
  - Explicit relation between library agents and their graph's creator
- Refactor & update API endpoints for DX
- Other minor refactoring
- Add missing but required `MEDIA_GCS_BUCKET_NAME` to `.env.example`

### Checklist 📋

#### For code changes:
- [x] I have clearly listed my changes in the PR description
- [x] I have made a test plan
- [x] I have tested my changes according to the test plan:
  - `/library`
    - [x] Create agent from scratch -> should show up on `/library`
- [x] Add agent to library from marketplace -> should show up on
`/library`
- [x] Click on agent in `/library` -> should go to
`/library/agents/[id]`
    - [x] Test sorting & pagination functionality
  - `/library/agents/[id]`
    - [x] Fill out inputs and click "Run" -> should run like normally
    - [x] Select completed agent run -> should show all inputs & outputs
- [x] Click "run again" on a completed agent run -> should run
successfully with same input
  - [x] `/monitoring` should still work the same as before

---------

Co-authored-by: abhi1992002 <[email protected]>
Co-authored-by: Reinier van der Leer <[email protected]>
Co-authored-by: Nicholas Tindle <[email protected]>
@Pwuts Pwuts closed this as completed Feb 26, 2025
Copy link
Member

Pwuts commented Feb 26, 2025

Back end done, front end pending (#9526)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/backend AutoGPT Platform - Back end
Projects
None yet
Development

No branches or pull requests

2 participants