Codeberg
codeberg.orgCodeberg 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.
From finding it to leaving
What an agent managed without a person, at each step.
- On its own
Find
Docs it can act on: an OpenAPI. 77 doc pages read.
- Stopped
Get in
Stopped hereCan't sign up. Robots.txt closes the whole site to AI agents acting for a user.
- Not reached
Use
Tasks need an account.
- Nothing to do
Pay
No plan to buy.
- Not reached
Leave
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
| Way in | What happened |
|---|---|
| Runs locally, no account | Partway |
| Email and password | Stopped 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 ownCodeberg 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 foundAPI
Listed, not testedForgejo REST API (/api/v1), robots-closed on codeberg.org.
512 operations across its docs
OpenAPI
UnknownCLI
Listed, not tested5 commands across its docs
SDK
None foundllms.txt
None foundAgent payments
None foundThe checkout wasn't reached.
Docs
Some gapsCovers getting started, auth and code examples.
Errors only mentioned in passing.
77 of 82 pages read
Tips for agent builders
- 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
- 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
- Register CI runners with a token from GET /api/v1/user/actions/runners/registration-token: a repo-level runner ignores your other repos
- 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.
| Product | Level | Find to leave |
|---|---|---|
| L2 | Find: On its own, Get in: On its own, Use: Partly, Pay: Not reached, Leave: On its own. | |
| L1 | Find: Stopped, Get in: Stopped, Use: Not reached, Pay: Not reached, Leave: Not reached. | |
| L1 | Find: On its own, Get in: Stopped, Use: Not reached, Pay: Nothing to do, Leave: Not reached. | |
| L1 | Find: On its own, Get in: Stopped, Use: Not reached, Pay: Not reached, Leave: Not reached. | |
| L1 | Find: On its own, Get in: Stopped, Use: Not reached, Pay: Not reached, Leave: Not reached. |
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
- FindClear
- Get inBlocks agents
- UseNot reached
- PayClear
- LeaveNot reached
On our standard
12 criteria: against other source control products where we measured 5 or more, otherwise against every product we measured.
- Errors say what to do nextAhead of most 81 of 103 others (every product) lower, 22 the same.
- Pages fit one fetchAhead of most 88 of 141 others (every product) lower, 53 the same.
- The best way in is built for agentsIn the middle 2 of 4 others (source control products) lower, 2 the same.
- WebMCP tools on the web appThe same as all 4 others (source control products).
- Export before leavingBehind most 89 of 144 others (every product) higher, 55 the same.
- Errors a program can readBehind most 65 of 104 others (every product) higher, 39 the same.
- A request id on every answerBehind most 70 of 103 others (every product) higher, 33 the same.
- A path written for agentsBehind most 103 of 141 others (every product) higher, 38 the same.
All 12 criteria
- Docs an agent can navigateLevel with most 87 of 141 others (every product) the same, 10 lower, 44 higher.
- Every way in works for an agentLevel with most 3 of 4 others (source control products) the same, 1 higher.
- All validation problems at onceLevel with most 23 of 35 others (every product) the same, 12 higher.
- Limits known before they hitLevel with most 26 of 47 others (every product) the same, 21 higher.
Where Codeberg fits
- Category
Found an error? Tell us on this page 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
AgentDrives, “Codeberg: AI agent test drive”, 28 October 2026, https://agentdrives.com/tools/codeberg. CC BY 4.0.
AgentDrives. (2026, October 28). Codeberg: AI agent test drive. https://agentdrives.com/tools/codeberg
@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.