Agents only name the credential
import { credential } from 'kody:runtime'
export default async function main() {
const github = await credential('github')
const response = await github.fetch(
'https://api.github.com/user/repos?per_page=5',
)
return response.json()
}