Codeberg

codeberg.org

Codeberg is a free home for source code.

Can an AI agent use Codeberg? No, its robots.txt says no. Codeberg's robots.txt disallows AI agents on sign-up, so our agent didn't sign up on its own.

Connects by

API

Agent payments

None found

Driven 28 Oct 2026

From finding it to leaving

What an agent managed without a person, at each step.

  1. Find

    On its own

    Docs it can act on: an OpenAPI. 77 doc pages read.

  2. Get in

    Stopped here
    Stopped

    Can't sign up. Robots.txt closes the whole site to AI agents acting for a user.

  3. Use

    Not reached

    Tasks need an account.

  4. Pay

    Nothing to do

    No plan to buy.

  5. Leave

    Not reached

    Nothing to cancel or delete.

Getting in

None of the 2 ways in got our agent in on its own; one got partway.

Where it stopped

Email and password

Robots.txt closes the whole site to AI agents acting for a user.

  • Both kinds of agentOn a server, or in its own browserNoStops at sign-up: its robots.txt disallows AI agents there.
  • Signed agentNot checkedNot checked: its robots.txt asks crawlers to stay off the sign-up page.

Every way in

Every way in and what happened
Way inWhat happened
Runs locally, no accountPartway
Email and passwordStopped by robots.txt
  • Crawlersrobots.txt disallows AI agents on sign-up. To let agents sign up, remove the rule that names them.

What an agent can do with Codeberg

No task was tried: our agent couldn't get into Codeberg.

Core tasks Codeberg offers an agent

  • offered, not tried
  • Create a code repositoryAPI
  • Push commits to a repositoryCLI
  • Open and merge a pull requestAPI
  • Review a pull requestAPI
  • Create a task or issueAPI
  • Run a CI/CD workflowWeb app
  • Publish a websiteWeb app
  • Read the API description on codeberg.orgRobots.txt disallows it for all user agents.
  • Publish a website with Codeberg PagesIt needs a codeberg.org account and is not in the self-hosted software.
19 more tasks it offers
  • Deploy a serverless functionWeb app
  • Create a repository wiki pageAPICLI
  • Publish a releaseAPI
  • Store large files with Git LFSAPICLI
  • Create a user groupAPI
  • Create a workspaceAPI
  • Set a member's role or permissionsAPI
  • Invite a memberAPI
  • Register a webhookAPI
  • Migrate a repository from another hostAPI
  • Create an API keyAPI
  • Enable two-factor authenticationWeb app
  • Add a self-hosted CI agentCLI
  • Resolve merge conflictsCLI
  • Connect a custom domain to a Pages siteWeb app
  • Search a product directoryAPI
  • Translate a project's stringsWeb app
  • Set repository and profile visibilityAPI
  • Change account settingsAPI

Surface audit: 521 documented operations, 0 run, 0 passed, 458 blocked (sandbox or plan limits), 63 left out to stay safe.

Self-hosted edition

L4Runs on its own

Codeberg also ships an edition you run yourself. Our agent installed it on its own server in about 3 minutes and drove it the same way, doing 86% of the core work.

How an agent connects

API found.

  • MCP server

    None found
  • API

    Listed, not tested

    Forgejo REST API (/api/v1), robots-closed on codeberg.org.

    512 operations across its docs

  • OpenAPI

    Unknown
  • CLI

    Listed, not tested

    5 commands across its docs

  • SDK

    None found
  • llms.txt

    None found
  • Agent payments

    None found

    The checkout wasn't reached.

  • Docs

    Some gaps

    Covers getting started, auth and code examples.

    Errors only mentioned in passing.

    docs.codeberg.org

    77 of 82 pages read

Tips for agent builders

From this drive

4 tips
  1. On codeberg.org, respect robots.txt: there is no way in for a named agent. Run Forgejo yourself: image data.forgejo.org/forgejo/forgejo:<major>-rootless with FORGEJO__security__INSTALL_LOCK=true and sqlite3
  2. Get a Forgejo token with POST /api/v1/users/{user}/tokens (basic auth; add X-Forgejo-OTP once 2FA is on); scopes like read:repository are enforced
  3. Register CI runners with a token from GET /api/v1/user/actions/runners/registration-token: a repo-level runner ignores your other repos
  4. Approving your own PR is refused (422); submit a COMMENT review instead

How Codeberg compares

In Source control

1 of the 5 products we drove in Source control is higher; 3 others share L1.

The products we drove in Source control, in the directory's order, with Codeberg
ProductLevelFind to leave
GraphiteL2Find: On its own, Get in: On its own, Use: Partly, Pay: Not reached, Leave: On its own.
BitbucketL1Find: Stopped, Get in: Stopped, Use: Not reached, Pay: Not reached, Leave: Not reached.
Codeberg (this page)L1Find: On its own, Get in: Stopped, Use: Not reached, Pay: Nothing to do, Leave: Not reached.
GiteaL1Find: On its own, Get in: Stopped, Use: Not reached, Pay: Not reached, Leave: Not reached.
GitHubL1Find: On its own, Get in: Stopped, Use: Not reached, Pay: Not reached, Leave: Not reached.
All 5 in Source control

Sorted by level, then work done, then time to the first call. How we rank

For the team behind Codeberg

Agents get stuck at Get in. Prove Codeberg is yours, then see where each issue is, read your safety findings and ask for a free drive after a fix. How to fix each one comes with the Audit.

4 things to fix for agents

Agent blockers: 1 foundAgent surfaces: no issues foundSafety review: no issues found

  1. FindClear
  2. Get inBlocks agents
  3. UseNot reached
  4. PayClear
  5. LeaveNot reached

Claim Codeberg, freeWhat a drive covers

On our standard

12 criteria: against other source control products where we measured 5 or more, otherwise against every product we measured.

All 12 criteria
How each criterion is graded

Where Codeberg fits

Every earlier drive is in the history. Data under CC BY 4.0.

Found an error? or read how corrections work.

Questions people ask about Codeberg

Can an AI agent sign up for Codeberg on its own?
No. Sign-up: blocked. robots.txt closes Codeberg to AI agents.
Does Codeberg have an MCP server, and can an agent connect to it?
No. The drive found no MCP server for Codeberg. A new agent can't get in on its own: in the drive of 28 Oct 2026, our agent stopped at sign up (it was blocked).

Cite this page

The page as a reference, in plain text, APA and BibTeX.

Cite this
Plain
AgentDrives, “Codeberg: AI agent test drive”, 28 October 2026, https://agentdrives.com/tools/codeberg. CC BY 4.0.
APA
AgentDrives. (2026, October 28). Codeberg: AI agent test drive. https://agentdrives.com/tools/codeberg
BibTeX
@misc{agentdrives_codeberg_2026,
  author = {{AgentDrives}},
  title = {Codeberg: AI agent test drive},
  year = {2026},
  month = oct,
  url = {https://agentdrives.com/tools/codeberg},
  note = {Agent test drive, CC BY 4.0},
}

Something wrong on this page?

Tell us what's wrong. We check it against the drive and correct the page, with the date.