> ## Documentation Index
> Fetch the complete documentation index at: https://www.gitaudience.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How GitAudience fits together

> The objects GitAudience is built on, from the instance and its projects to the agent that enriches stargazers, and how they relate.

A GitAudience instance runs on your server and holds one or more projects. Each project follows one public GitHub repository. GitAudience reads the people who starred it, and an AI agent you run on your own machine reads their public pages and records facts about them. You read the result in reports, in a list of stargazers and in a list of companies.

## Instance

An instance is one installation of GitAudience: one database, one `api` container that serves the console and the MCP server, and one `worker` container that talks to GitHub. You install it with Docker Compose, as [Installation](https://www.gitaudience.com/docs/self-hosting/installation.md) shows.

The instance holds what all projects share:

- **Users**: everyone who can sign in, with their role, `owner` or `member`. A user has the same role on every project. The address in `ROOT_EMAIL` is a permanent owner.
- **GitHub Apps**: one per GitHub account that owns a project's repository.
- Settings that apply to the whole instance, such as the version check.

You sign in with your email address and a 6-digit code sent by email. There is no password, so the instance needs an SMTP server. See [Users](https://www.gitaudience.com/docs/features/users.md).

Nothing about your audience leaves the instance for GitAudience. [What leaves your instance](https://www.gitaudience.com/docs/self-hosting/licence.md#what-leaves-your-instance) lists the few requests that do.

## Projects

A project follows exactly one public GitHub repository. An instance can hold as many projects as you want, and each one shows as a tab at the top of the console.

Everything about the audience belongs to one project and stays inside it: the stargazers, their facts and scores, the configuration, the MCP tokens and the reports. When the same GitHub user starred two of your repositories, each project has its own record of that person, and neither project sees the other's.

A project is added in 7 steps, from choosing the repository to opening the dashboard after calibration. Until the last step, only owners see it. See [Projects](https://www.gitaudience.com/docs/features/projects.md) and [Add a project](https://www.gitaudience.com/docs/guides/add-a-project.md).

| Shared by the instance   | Separate for each project                                          |
| ------------------------ | ------------------------------------------------------------------ |
| Users and their roles    | Stargazers, facts, scores, notes and labels                        |
| GitHub Apps              | Configuration: product, facts, target profiles, agent instructions |
| Version and update check | MCP server name and tokens                                         |
|                          | Competing repositories, reports, exports                           |

## GitHub App per account

GitAudience reads GitHub through a private GitHub App that it creates for you, one per GitHub account or organization that owns a project's repository. The App is created on GitHub from the console the first time you add a project from that account, and reused for the next ones.

You install the App with **Only select repositories** and grant it the public repositories you want to follow. GitHub only lists the stargazers of a repository to an App with the **Contents: write** permission, so the App asks for it along with **Metadata**.

The App's secrets are encrypted in the database with `SECRET_KEY`, which the `api` and `worker` containers share. Private repositories are refused. See [GitHub App](https://www.gitaudience.com/docs/features/github-app.md).

## Stargazers and sync

A stargazer is a GitHub user who starred the project's repository. The `worker` reads the full list once a day, and once right after you add the project. A sync that could not read the whole list removes no one.

The audience of a project is its current stargazers, minus:

- accounts detected as suspected bots,
- people you removed from the project,
- accounts deleted from GitHub.

Every count in the console says which base it uses. GitAudience also reads the public lists of repositories your stargazers starred, which feed the [audience overlap](https://www.gitaudience.com/docs/features/overlap.md) with the competing repositories you name for the project. See [Stargazer sync](https://www.gitaudience.com/docs/features/stargazer-sync.md).

## Facts and target profiles

The configuration of a project tells the agent what to look for:

- **Facts**: what you want to know about each stargazer or their company, such as role, seniority, company size or sector. A fact has a type: yes or no, free text, one choice, several choices, or a list. See [Facts](https://www.gitaudience.com/docs/features/facts.md).
- **Target profiles**: up to 5 profiles you are looking for, each defined by some of the facts. The agent scores every stargazer for every profile: high, medium, low or unknown, with a short reason. See [Target profiles](https://www.gitaudience.com/docs/features/target-profiles.md).

When you add a project, you write this configuration with the help of your own AI assistant: GitAudience gives you a prompt, and you paste back the file it produces. See [Configure with AI](https://www.gitaudience.com/docs/guides/configure-with-ai.md). The configuration is versioned: each enrichment records the version it used.

## The agent and its two sub-agents

GitAudience does not call any AI model itself. Enrichment runs in the AI agent you already use, such as [Claude Code](https://www.gitaudience.com/docs/integrations/claude-code.md), [Codex](https://www.gitaudience.com/docs/integrations/codex.md) or [Antigravity](https://www.gitaudience.com/docs/integrations/antigravity.md), connected to the project's MCP server at `<PUBLIC_URL>/mcp` with a token of that project.

For each stargazer, the agent hands the work to two sub-agents that you install from files the console generates for the project:

| Sub-agent                  | What it does                                                                                                             |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| Research agent (crawler)   | Reads at most 5 public pages about the person and saves a dossier, sorted by page.                                       |
| Evaluation agent (decider) | Reads that dossier and returns the facts, each backed by a source from the dossier, and a score for each target profile. |

GitAudience checks every answer against a strict schema before saving it. The MCP server accepts email addresses found on public pages but never sends an email address back to the agent. See [MCP server](https://www.gitaudience.com/docs/features/mcp-server.md) and [Connect your agent](https://www.gitaudience.com/docs/guides/connect-your-agent.md).

## Calibration, then the whole audience

Enrichment starts with a calibration: once the first sync is done, GitAudience draws 50 recent stargazers, and the agent processes those first. You read the results, adjust the configuration if needed, and draw again.

When the results look right, an owner clicks **Launch on the whole audience**. The agent then processes everyone else. The calibration stays readable afterwards. See [Calibrate enrichment](https://www.gitaudience.com/docs/guides/calibrate-enrichment.md) and [Enrichment](https://www.gitaudience.com/docs/features/enrichment.md).

## Review

Before an answer from the agent becomes current, GitAudience runs server checks on it: a source cited without notes, a company fact without an employer, sensitive words, or a random sample of about 2 % of answers. An answer that fails a check, that the agent marked as low confidence, or that the agent flagged itself goes to **To review** instead.

An owner validates, hides or corrects each case. Until then, the person's facts and scores don't change. See [Review](https://www.gitaudience.com/docs/features/review.md).

## Reports, people and companies

Each project has its own reports, built from the current facts and scores:

- **Dashboard**: the audience, key figures, the breakdown of each fact, the target profiles and the geography, with filters that apply to all of them. See [Dashboard](https://www.gitaudience.com/docs/features/dashboard.md).
- **Audience overlap**: how your stargazers overlap with those of your competing repositories. See [Audience overlap](https://www.gitaudience.com/docs/features/overlap.md).
- **Stargazers**: the list of people, with filters, notes, labels and a CSV export. See [Stargazers list](https://www.gitaudience.com/docs/features/stargazers.md) and [Export](https://www.gitaudience.com/docs/features/export.md).
- **Companies**: the employers of your stargazers, grouped by domain. See [Companies](https://www.gitaudience.com/docs/features/companies.md).

A figure computed on fewer than 30 people shows as a list rather than a chart.

## The limit per project

Each project can process 500 stargazers for free. A person counts as processed once the agent has enriched them, skipped them or had its answer refused three times, or once an owner has corrected one of their fields by hand. All stargazers are still synced and shown; the limit applies to processing and to the CSV export.

The limit is lifted for a project by a GitAudience badge in its repository's README, or by a sponsorship. The check goes through `check.gitaudience.com`, which receives the public address of the repository and nothing else. See [Licence and limits](https://www.gitaudience.com/docs/self-hosting/licence.md).
