.env:
- A model provider’s API key, such as
OPENAI_API_KEY. See Models. GITHUB_TOKEN, a token that can read the repository. See GitHub access.REBUNO_AGENT_SECRET, the agent’s secret inrebuno.yaml(uber-secret).
Explain how this project is structured. The agent clones the
repository’s GitHub origin, and its model output and tool calls stream into
the client.
GitHub access
The agent gets a GitHub token for the session’s repository on each dispatch:GITHUB_TOKENis used as given.GITHUB_APP_IDandGITHUB_APP_PRIVATE_KEY(a PEM, or a base64-encoded PEM) set a GitHub App installed on the repository. Each dispatch mints a token for that repository, valid for an hour.
From the CLI
Each turn is an execution of theuber agent. repo names the repository, and
later turns in the session keep it: