翻篇收录说明
翻篇网页快照

GitHub | Kadmo Docs

https://docs.kadmo.ai/integrations/github

最近抓取:2026-12-03 14:11:28(北京时间)

最近内容变化:2026-12-03 14:11:28(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

Documentation for Kadmo: the app at app.kadmo.ai, agents, workflows, skill packs, integrations, MCP and the Kadmo provider

正文摘录

GitHub ​Connect GitHub so that events in your repositories reach Kadmo and your agents can work in them. The Kadmo AI GitHub App is how GitHub reaches Kadmo: comments, reviews, labels, pull requests and CI results arrive as events your automation rules act on. This page covers the App and its install, an install made before you have a Kadmo account, what Kadmo sets up for a trial that starts from GitHub, the rules it adds, QA on a pull request's preview, what leaves GitHub and what Kadmo keeps, and how to unlink or uninstall it. The personal access token, the other way to connect GitHub, is under Code hosting.The Kadmo AI GitHub App ​The GitHub card on the Integrations page holds the App, and optionally a personal access token.Install sends an admin to GitHub to pick an organization or a personal account and All repositories or Only select repositories. The App requests read access to metadata, Actions, Checks and commit statuses and write access to contents, issues and pull requests. Actions and Checks are what lets a rule start when CI finishes; when the App asks for more, an organization owner approves the request on GitHub, and the card says permissions update pending until they do (see When CI finishes).With no personal access token connected, your agents clone and push with the App: each takes a short-lived token of the installation, narrowed to the repositories of its workspaces that the installation covers. The card's The fleet pushes as names the App's bot. While a token is connected, agents push with the token instead.The New mention rule link opens the automations form filled in, and saves nothing until you save it.The connected GitHub identity is the fleet's actor, and its own comments never trigger rules. Connect a dedicated agent user if you want mentions from your own account to be acted on.For most accounts an install wires the events and nothing else: no repository is attached and nothing runs until you write a rule. A trial that Kadmo sets up is the exception (What Kadmo sets up for a trial).An install from GitHub ​The App can also be installed from its page on GitHub, github.com/apps/kadmo-ai, or from GitHub Marketplace. GitHub then sends the browser back to Kadmo with the installation's number, which anyone could type, so Kadmo links nothing on that number alone.Without a Kadmo account ​Where Kadmo takes trials from GitHub, a person with no Kadmo session who installs the App comes back to the app's trial page, which reads One step left and Kadmo AI is installed on GitHub. Before that:Kadmo reads the new installation through the App itself, once: its owner, whether it is an organization or a personal account, which repositories it covers and what it grants. You are asked for nothing and no GitHub token of yours is involved.Only a fresh installation counts: one GitHub made within the 15 minutes before you came back.Kadmo keeps the installation for this browser for seven days: the owner's GitHub id and the installation's number. Nothing else is kept, and no account, credit, machine or reading of code starts.Sign up on the trial page in the same browser within those seven days (Start with an install). The trial page says, under its buttons, Once your trial starts, Kadmo clones the repositories you selected and reads them to learn your code.Where Kadmo takes no trials from GitHub, or the installation is not fresh, the browser goes to the sign-in instead. The installation waits there for seven days, and an admin who signs in on that browser comes back to the confirm card, which asks which account it joins.Either way, the App stays installed on GitHub until you uninstall it there.GitHub's proof ​An installation that came without Kadmo's own link joins an account only once GitHub confirms that the person who signed in can reach it. Right after a sign-up from the trial page this starts by itself; otherwise the confirm card's button starts it.GitHub asks you to authorise Kadmo AI. The authorisation asks for no scope.Kadmo reads your GitHub login and id and the installations of the App you can reach, then revokes the authorisation at GitHub. Your token is never stored.The installation joins the account when it is among those you can reach. Anyone with access to one of its repositories can reach it.The linked installation keeps the GitHub login and id that proved it. An install started with Install on the card needs no proof: the link it carries is bound to your account for ten minutes. An installation another account holds is refused, and the refusal names that account.What Kadmo sets up for a trial ​Kadmo sets up a trial that has no agent and no repository of its own (the workspace's own Kadmo Git repository does not count), while Kadmo takes trials from GitHub. It does not matter whether the sign-up came with the install, came before it, or the account was opened for you. A GitHub owner that already had a trial with another account is not set up a second time. Once set up, Kadmo keeps setting the account up, for a later installation or repository, until the trial ends.For such an account, the link starts five things: the repositories are attached, what each is built with is read, a machine that fits is launched, Skill Discovery is switched on and three rules are added. Every other account keeps the card as it is, and an event from a repository no workspace has is skipped.Which repositories ​The installation's repositories become git projects of the account's first workspace, at the link:The installationAttached at the linkOnly select repositoriesThe selected repositories that are neither archived nor disabled, forks included, most recently pushed first, up to a limit for the trialAll repositoriesA few of those pushed to most recently, without archived or disabled repositories and without forks. The others are attached with their first pull requestEach repository gets its own folder, named after it, or after its owner and its name where that name is taken. Afterwards:A repository added to a selected installation is attached while the limit allows. One taken out of it is detached, unless an admin changed its project since or something else of the account still uses it.A pull request, a review or a comment in a repository the installation covers and no workspace has attaches it, and the rule goes on. Over the limit, the rule's log says repository_limit and names the repository. A rule is still needed: an account with no GitHub rule hears nothing.Detaching a repository is final for Kadmo: it never attaches it again, also when a pull request names it, until an admin attaches it by hand. An admin attaches more by hand, with no limit.What each repository is built with ​Kadmo reads each repository it attached once, through the App, so that the machine fits it:its languages, by their share of the code;the names of the files and folders at its root and one level below;the contents of the files among them that pin a toolchain's version: package.json (its engines and packageManager), .nvmrc, .tool-versions, global.json, a .csproj, .fsproj or Directory.Build.props, a Gradle build file, pyproject.toml, go.mod, Cargo.toml, Gemfile, composer.json and a compose file.Of a Dockerfile, a .sln, mix.exs, requirements*.txt, a lockfile, Gradle's settings files, an Android manifest, a Podfile or an Xcode project, only the name counts. Nothing else is read, the calls one read makes to GitHub are capped, and no file's content is kept. Kadmo keeps what it derives: the languages, the package managers, the toolchains with their pinned versions, whether there is a Dockerfile or a compose file, the compose file's service names and whether one of them is Postgres, and whether the repository is an Android or an iOS app.The workspace's Git projects shows it as one line under the project's name, with when it was read. A repository is read again when it was pushed to since, and an admin reads it again with Read again. A repository with none of these files, or one that cannot be read, shows No toolchain pins found, and the machine is then the default one.The machine, and the code on it ​Once the first repository is attached, Kadmo launches one Kadmo-hosted agent for the account, trial-agent, with the roles Software Engineer, QA Engineer and Skill Discovery. It runs on Kadmo's models, never on an agent app subscription of the account's, and it is billed to the account's credit like any hosted agent. A machine is launched once: an account that has an agent, or had one, gets none.The machine is launched to fit what the repositories are built with, in the wizard's own profiles and components (Create an agent):The repositories haveThe machine getsA .NET projectThe SWE .NET profile in place of SWE Full StackA mix.exsThe Elixir componentA Dockerfile or a compose fileThe Docker component, and at least 4 GB of memoryA compose service that names PostgresThe PostgreSQL client componentMore than one repositoryAt least 4 GB of memoryAn Android or an iOS appNothing more: the Android SDK needs a larger machine than a trial's, and an iOS app cannot be built on the agent. A warning under the project's line on the workspace says soOther toolchains, such as Python, Java, Go, Rust, Ruby, PHP or a pinned Node versionNo component: the pinned versions are handed to the agent, which sets the toolchain up as the work asksA repository attached later adds only the components the machine lacks. One that needs another profile reads needs a rebuild to fit on its line, and Kadmo never rebuilds the machine by itself.The machine clones the attached repositories with their whole history, so the commit history, with its authors' names and e-mail addresses, is on the machine. Nothing is cloned or read before the trial has started. Where agents run is on Where an agent can run.Skill Discovery ​Skill Discovery is the role that reads your code and writes what it learns into your account's skill pack.Its budget and model. At every trial's start, whatever the way in, Kadmo gi