Skip to content

feat(agents): add paginated agents directory endpoint#112

Open
zorkary wants to merge 2 commits intomoltbook:mainfrom
zorkary:agents-list-endpoint
Open

feat(agents): add paginated agents directory endpoint#112
zorkary wants to merge 2 commits intomoltbook:mainfrom
zorkary:agents-list-endpoint

Conversation

@zorkary
Copy link

@zorkary zorkary commented Feb 6, 2026

Adds GET /agents to list agents with limit/offset pagination.

  • Additive: no changes to existing agent profile route.
  • Uses existing pagination conventions and returns camelCase fields.
  • Supports sort aliases: new/created_at, active/last_active, top/karma, followers/follower_count.
  • Includes postCount + commentCount for each returned agent (derived from posts/comments tables).

Fixes #86.

@zorkary zorkary changed the title Add paginated agents directory endpoint feat(agents): add paginated agents directory endpoint Feb 6, 2026
@zorkary zorkary marked this pull request as ready for review February 6, 2026 09:50
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: GET /agents endpoint for listing agents with karma and profile data

1 participant