# Find the most starred new AI agent repos on GitHub

**Use case:** 

Searches GitHub for ai agent repositories created in the last 30 days and sorts them by stars, so the fastest rising new projects come first. Each row has stars, forks, open issues, language, topics, license, created and pushed dates and the repository link. Useful for open source scouting, investing and developer tool research.

## Input

```json
{
  "mode": "search",
  "trendingType": "repositories",
  "trendingLanguages": [],
  "trendingSince": "daily",
  "maxTrendingPerPage": 25,
  "trendingDetails": false,
  "searchQueries": [
    "ai agent"
  ],
  "searchType": "repositories",
  "searchSort": "stars",
  "searchOrder": "desc",
  "minStars": 0,
  "searchTopics": [],
  "createdWithinDays": 30,
  "pushedWithinDays": 0,
  "excludeArchived": false,
  "maxResultsPerQuery": 20,
  "splitLargeSearches": false,
  "fetchProfileDetails": true,
  "repositories": [
    "apify/crawlee"
  ],
  "usernames": [
    "apify"
  ],
  "includeUserRepos": true,
  "maxReposPerUser": 30,
  "userReposSort": "pushed",
  "excludeForks": false,
  "fetchRepoDetails": false,
  "includeReadme": false,
  "maxReadmeChars": 20000,
  "includeReleases": false,
  "maxReleasesPerRepo": 3,
  "maxRateLimitWaitSeconds": 90,
  "maxItems": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "fullName": {
    "label": "Repository",
    "format": "text"
  },
  "url": {
    "label": "Link",
    "format": "link"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "stars": {
    "label": "Stars",
    "format": "number"
  },
  "forks": {
    "label": "Forks",
    "format": "number"
  },
  "watchers": {
    "label": "Watchers",
    "format": "number"
  },
  "openIssues": {
    "label": "Open issues",
    "format": "number"
  },
  "language": {
    "label": "Language",
    "format": "text"
  },
  "topics": {
    "label": "Topics",
    "format": "array"
  },
  "license": {
    "label": "License",
    "format": "text"
  },
  "homepage": {
    "label": "Homepage",
    "format": "link"
  },
  "owner": {
    "label": "Owner",
    "format": "text"
  },
  "createdAt": {
    "label": "Created",
    "format": "date"
  },
  "pushedAt": {
    "label": "Last push",
    "format": "date"
  },
  "source": {
    "label": "Source",
    "format": "text"
  },
  "searchQuery": {
    "label": "Query",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The GitHub Scraper: Trending, Repos, Users, Search Actor is ready to run with the inputs already set for "Find the most starred new AI agent repos on GitHub". [Sign up or log in](https://console.apify.com/create-task-from-example/SabsugvxjI9yDl7YI) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find the most starred new AI agent repos on GitHub" task

The GitHub Scraper: Trending, Repos, Users, Search Actor will start running based on the input automatically. You can also change all the input fields, like what to scrape, trending list, and more, to match your specific use case.

### 3. Receive the "Find the most starred new AI agent repos on GitHub" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as repository, link, description, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Find the most starred new AI agent repos on GitHub" task via API](https://apify.com/zhtech/github-scraper.md).

## FAQ

### What does the new AI agent repos task return?

The new AI agent repos task saves one row per repository: full name, description, stars, forks, open issues, language, topics, license, created, updated and pushed dates, owner and the repository URL.

### How do I search another topic?

In the new AI agent repos task, replace ai agent with any GitHub search, such as topic:mcp or vector database language:rust. Created within the last N days sets how new the projects must be.

### Do I need a GitHub token for the new AI agent repos task?

The new AI agent repos task works without a token for small searches like this one. For bigger runs, add your own GitHub token in the secret token field to raise GitHub's API rate limit.

### Can I watch for rising repos every week?

The new AI agent repos task can run weekly on an Apify schedule or start from the Apify API, Zapier, Make or n8n, so new projects with fast star growth land in your sheet or Slack.

### How much does the new AI agent repos task cost?

The new AI agent repos task uses pay per event pricing: a small start fee plus a fixed price per repository saved, with no charge for compute time. Small runs like this fit the Apify free plan credit.

## About this Actor

This example demonstrates how to use [GitHub Scraper: Trending, Repos, Users, Search](https://apify.com/zhtech/github-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zhtech/github-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/zhtech/github-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
