17 July 2026

Introducing madtea

Git tooling was designed when the only developer in your terminal was you. Add an AI agent to that terminal, and familiar commands start failing in new ways: git remote -v leaks a token into the agent’s context, a well-meaning issue edit pastes over your bug repro steps, git reset --hard erases uncommitted work.

madtea is a Forgejo/Gitea client built for that shared terminal: one binary, two ways in. A gh-style CLI for you. An MCP server for your agent. Every command is safe to hand to an agent, and every guardrail explains itself to a human.

It’s tested against both forges, and against Codeberg specifically, where this project lives. Read the docs to get started, or the full case for madtea for the feature-by-feature argument.

madtea is maintained by sixfold.space - infrastructure for AI agents, applied here to the developer-tooling layer.