Connectors overview

Your support agent can check GitHub to answer "Is the login bug fixed yet?"

Connect the company's GitHub account to that agent, then ask.

Quickstart

Get the CLI and pick your app

Install the Stream CLI, then pick or create the Stream app your agent runs in:

curl -fsSL https://getstream.io/cli.sh | bash
getstream init

For more, see Stream app setup.

Connect GitHub to the agent

If you don't have an agent named support yet, create one with getstream agents init support --template blank. An agent from the text template answers only about its own company, so this page starts from the blank template. For more about agents, see Creating an agent.

Connect the company's GitHub account, labelled acme, and add it to that agent:

getstream agents connections create github --label acme --agent support

GitHub's consent opens in your browser. Sign in as the company's GitHub account and click Authorize. The command adds github with connection: acme to agents/support/agent.yaml and syncs the agent.

Test the connection

getstream agents test support --text

--text keeps the conversation in the terminal.

Ask: "What are the open issues in GetStream/awesome-ai-news?" The CLI prints Tool github__list_issues ran, and the agent lists the open issues.

A connector gives the agent tools, such as GitHub list_issues. A channel is how a person reaches the agent: Slack, WhatsApp, iMessage, SMS. To run your own code as a tool, see Tool calling and dispatch.

App connection or user connection

We recommend an app connection for company tools like GitHub, so your users never have to sign in. Use a user connection when the agent should act as that person, for instance to answer "Which Linear issues are assigned to me?"

Going further