# Gitea AI integration on Definable

> Community managed lightweight code hosting solution written in Go

## What this connects

Community managed lightweight code hosting solution written in Go

Vendor: https://gitea.io

## Tools available

**19** tools available. First 12:

- `GITEA_ACTIVITYPUB_PERSON` — Get ActivityPub Person Actor — Tool to retrieve the ActivityPub Person actor for a Gitea user. Use when you need to fetch a user's ActivityPub representation for federation purposes or to get ActivityStreams-formatted user data.
- `GITEA_GET_GENERAL_API_SETTINGS` — Get General API Settings — Tool to retrieve the Gitea instance's global API settings including pagination limits and response size constraints. Use when you need to understand API rate limits or configuration parameters.
- `GITEA_GET_GENERAL_ATTACHMENT_SETTINGS` — Get General Attachment Settings — Tool to retrieve the Gitea instance's global settings for file attachments including enabled status, allowed file types, size limits, and file count limits. Use when you need to understand the attachment configuration of the instance.
- `GITEA_GET_GENERAL_REPOSITORY_SETTINGS` — Get General Repository Settings — Tool to retrieve the Gitea instance's global settings for repositories including feature flags for mirroring, HTTP Git, migrations, stars, time tracking, and LFS. Use when you need to understand which repository features are enabled or disabled at the instance level.
- `GITEA_GET_GENERAL_UI_SETTINGS` — Get General UI Settings — Tool to retrieve the Gitea instance's global settings for UI including default theme, allowed reactions, and custom emojis. Use when you need to understand the UI configuration of the instance.
- `GITEA_GET_GITIGNORE_TEMPLATE_INFO` — Get Gitignore Template Info — Tool to retrieve information about a specific gitignore template. Use when you need the content of a gitignore template for repository creation or configuration.
- `GITEA_GET_LABEL_TEMPLATE_INFO` — Get Label Template Info — Tool to retrieve all labels from a specific label template. Use when you need to view the predefined label set for repository configuration.
- `GITEA_GET_LICENSE_TEMPLATE_INFO` — Get License Template Info — Tool to retrieve information about a specific license template. Use when you need the content and details of a license template for repository creation or configuration.
- `GITEA_GET_NODE_INFO` — Get Node Info — Tool to retrieve the nodeinfo of the Gitea application. Use when you need standardized metadata about the Gitea server following the NodeInfo specification.
- `GITEA_GET_SIGNING_KEY` — Get Signing Key — Tool to retrieve the default GPG signing key used by Gitea to sign commits. Use when you need to verify commits signed by the Gitea instance or import the public key to trust Gitea-generated commits.
- `GITEA_GET_VERSION` — Get Version — Tool to retrieve the version of the Gitea application. Use when you need to check the Gitea server version.
- `GITEA_LIST_GITIGNORE_TEMPLATES` — List Gitignore Templates — Tool to retrieve all available gitignore templates. Use when creating a repository to select an appropriate .gitignore template.

## Auth

Auth schemes: `API_KEY`.

## How agents use Gitea

Inside a Definable workflow, Gitea is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → Gitea** — the Researcher (GPT-5.5) pulls context from Gitea (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → Gitea** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into Gitea (create record, post message, draft email).
- **Designer / Engineer → Distributor → Gitea** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via Gitea (attach file, open PR comment, post status).

The Verifier checks every Gitea call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- developer tools — https://definable.ai/apps/category/developer-tools/

## Related

- HTML page: https://definable.ai/apps/gitea/
- Same category (developer tools): https://definable.ai/apps/category/developer-tools/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
