GitHub Repository Fetcher Agent
This uagent fetches and lists all repositories for a given GitHub organization using the GitHub API.
Overview
This is a deltaV compatible uagent. The agent takes an organization name as input and returns a list of github repositories for that organization.
Prerequisites
To use this Python script/get_github_repositories for your integration, you need the following details:
- An API key for GitHub.
- Python > 3.10
Steps to Use the Integration
Steps to Run this Agent
- Login to Agentverse and create a
New Agent. - Select
Blank Agentand assign a name to your agent. - Copy the content from
get_github_repositories.pyintoagent.py. - Replace
YOUR_GITHUB_TOKENwith your GITHUB API key. - Click on
Startto make the agent running.
Steps to Register Agent as a Function
- Once the agent is running, select
Deployand create aNew Function. - Refer to
function.jsonto get details of the function created to make this agent discoverable on Agentverse.
Steps to Access the Service/Agent on DeltaV
- Login to DeltaV.
- Type in a query related to fetching repositories, like
I want to get a list of Github Repositories in my organisation. - Choose your function and provide the asked details.