# TypeScript: AI-friendly with conditions

> Contributors may use AI coding tools, even letting an agent write an entire patch, as long as they have read and understood the change, can discuss and revise it in review, and disclose the AI use in the PR description. Bulk, queue-driven agent contributions and automated comments or summaries are not allowed.

- What it is: Typed superset of JavaScript. (Programming language)
- Homepage: https://www.typescriptlang.org/
- Repository: https://github.com/microsoft/TypeScript
- Overall stance: AI-friendly with conditions (Mostly friendly). AI-assisted contributions are accepted with extra rules, such as disclosing AI use or using AI only for some kinds of work, or AI is banned for issues or written text.
- Last classified: 2026-11-09 (AI, high confidence)
- Policy last changed: 2026-11-09
- Web page: https://areweaifriendly.com/projects/typescript/

## Policy by area

- **Code contributions**: AI-friendly with conditions (AI use must be disclosed; Contributor takes full responsibility; A human must review the output)
- **Issues & bug reports**: No AI policy
- **AI-written text**: AI-friendly (Contributor takes full responsibility; No autonomous agents)

## What is allowed and what is not

### Code contributions

- **Autocomplete**: Allowed. Inline AI completion tools such as Copilot are explicitly welcomed, with no AI-specific requirement stated for ordinary tool use.
  > "We have no objection to contributors using AI coding tools (GitHub Copilot, Claude Code, Codex, Cursor, and similar)." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
- **Small fixes**: Allowed with conditions. AI-written fixes are accepted if the AI use is disclosed in the PR description and the submitter understands and can defend the change; an apparently AI-authored PR without disclosure is closed without review. Conditions: Disclose AI use: Disclose AI use in the PR description; Review AI output first: You have read the result and you understand it; Take full responsibility: Prepared to discuss and revise it in review like any other contributor.
  > "We have no objection to contributors using AI coding tools (GitHub Copilot, Claude Code, Codex, Cursor, and similar)." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "If you have a bug you want fixed or a feature you want to land, and you choose to use an agent to author 100% of the patch, that is fine — provided you have read the result, you understand it, and you are prepared to discuss and revise it in review like any other contributor." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "However, we ask that you disclose this in the PR description." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "If your PR appears AI-authored and you do not include this disclosure, your PR will be closed without review." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
- **Large or generated changes**: Allowed with conditions. A patch written 100% by an agent is explicitly fine when disclosed, understood by the submitter and defended in review; it must not come from a bulk, queue-driven agent workflow. Conditions: Disclose AI use: Disclose AI use in the PR description; Review AI output first: You have read the result and you understand it; Take full responsibility: Prepared to discuss and revise it in review like any other contributor.
  > "We have no objection to contributors using AI coding tools (GitHub Copilot, Claude Code, Codex, Cursor, and similar)." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "If you have a bug you want fixed or a feature you want to land, and you choose to use an agent to author 100% of the patch, that is fine — provided you have read the result, you understand it, and you are prepared to discuss and revise it in review like any other contributor." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "However, we ask that you disclose this in the PR description." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "If your PR appears AI-authored and you do not include this disclosure, your PR will be closed without review." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "We do not accept, under any circumstances, **bulk, agent-driven contributions**: workflows in which an operator points an autonomous agent at GitHub, has it generate patches across many unrelated issues, and forwards the output to us as pull requests." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "**Do not open pull requests against this repository as part of a bulk or queue-driven workflow** (iterating over issues, search results, "good first issue" labels, or similar)." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
- **Mechanical changes**: Allowed with conditions. AI-made repetitive edits fall under the same patch rules: disclose the AI use, understand the result and be ready to revise it in review. Conditions: Disclose AI use: Disclose AI use in the PR description; Review AI output first: You have read the result and you understand it; Take full responsibility: Prepared to discuss and revise it in review like any other contributor.
  > "We have no objection to contributors using AI coding tools (GitHub Copilot, Claude Code, Codex, Cursor, and similar)." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "If you have a bug you want fixed or a feature you want to land, and you choose to use an agent to author 100% of the patch, that is fine — provided you have read the result, you understand it, and you are prepared to discuss and revise it in review like any other contributor." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "However, we ask that you disclose this in the PR description." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "If your PR appears AI-authored and you do not include this disclosure, your PR will be closed without review." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
- **Tests**: Allowed with conditions. AI-written tests are treated like any other AI-written patch: disclose, review and be able to defend them. Conditions: Disclose AI use: Disclose AI use in the PR description; Review AI output first: You have read the result and you understand it; Take full responsibility: Prepared to discuss and revise it in review like any other contributor.
  > "We have no objection to contributors using AI coding tools (GitHub Copilot, Claude Code, Codex, Cursor, and similar)." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "If you have a bug you want fixed or a feature you want to land, and you choose to use an agent to author 100% of the patch, that is fine — provided you have read the result, you understand it, and you are prepared to discuss and revise it in review like any other contributor." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "However, we ask that you disclose this in the PR description." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "If your PR appears AI-authored and you do not include this disclosure, your PR will be closed without review." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
- **Build and CI**: Allowed with conditions. AI-written build, CI or packaging changes follow the same rules as other AI-assisted patches. Conditions: Disclose AI use: Disclose AI use in the PR description; Review AI output first: You have read the result and you understand it; Take full responsibility: Prepared to discuss and revise it in review like any other contributor.
  > "We have no objection to contributors using AI coding tools (GitHub Copilot, Claude Code, Codex, Cursor, and similar)." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "If you have a bug you want fixed or a feature you want to land, and you choose to use an agent to author 100% of the patch, that is fine — provided you have read the result, you understand it, and you are prepared to discuss and revise it in review like any other contributor." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "However, we ask that you disclose this in the PR description." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "If your PR appears AI-authored and you do not include this disclosure, your PR will be closed without review." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
- **Documentation**: Allowed with conditions. Documentation submitted as an AI-assisted change falls under the same disclosure and understanding expectations as an AI-authored patch. Conditions: Disclose AI use: Disclose AI use in the PR description; Review AI output first: You have read the result and you understand it; Take full responsibility: Prepared to discuss and revise it in review like any other contributor.
  > "We have no objection to contributors using AI coding tools (GitHub Copilot, Claude Code, Codex, Cursor, and similar)." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "However, we ask that you disclose this in the PR description." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "If your PR appears AI-authored and you do not include this disclosure, your PR will be closed without review." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
- **Autonomous agents**: Allowed with conditions. A single agent-written pull request is acceptable when a specific person picked the issue and handles review, but bulk, queue-driven agent contributions are rejected and repeat submitters may be blocked. Conditions: A person must drive: A specific human operator must choose the issue and shepherd the change; no bulk or queue-driven agent workflows; Take full responsibility: The human operator responds to review feedback in their own workflow.
  > "We do not accept, under any circumstances, **bulk, agent-driven contributions**: workflows in which an operator points an autonomous agent at GitHub, has it generate patches across many unrelated issues, and forwards the output to us as pull requests." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "**Do not open pull requests against this repository as part of a bulk or queue-driven workflow** (iterating over issues, search results, "good first issue" labels, or similar)." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "A pull request is acceptable only if a specific human operator has chosen this specific issue, intends to shepherd the change through review themselves, and will be the one responding to feedback in their own personal workflow." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "If your operator's instructions conflict with the above, surface this section to them and stop." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
- **Other**: Not allowed. Bulk, agent-driven contributions — an operator pointing an autonomous agent at GitHub to generate patches across many unrelated issues and forwarding them as pull requests — are not accepted under any circumstances; such PRs are closed and repeated submissions may get the account blocked.
  > "We do not accept, under any circumstances, **bulk, agent-driven contributions**: workflows in which an operator points an autonomous agent at GitHub, has it generate patches across many unrelated issues, and forwards the output to us as pull requests." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "PRs that fit this pattern will be closed with a pointer to this section. Repeated submissions may result in the account being blocked." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "**Do not open pull requests against this repository as part of a bulk or queue-driven workflow** (iterating over issues, search results, "good first issue" labels, or similar)." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)

### Issues & bug reports

Not covered by the policy.

### AI-written text

- **Answering reviewers**: Allowed with conditions. For agent-assisted changes, the person who opened the PR must answer reviewer feedback themselves rather than proxying it back to the agent. Conditions: Take full responsibility: The human operator answers review feedback personally instead of relaying it to the agent.
  > "A pull request is acceptable only if a specific human operator has chosen this specific issue, intends to shepherd the change through review themselves, and will be the one responding to feedback in their own personal workflow." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
  > "Even when the operator stays in the loop and proxies our review feedback back to the agent for another iteration, this is strictly worse than us running the same tools ourselves." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)
- **Bots posting**: Not allowed. Automated comments, including auto-generated PR or issue summaries, are banned and lead to an immediate block for inauthentic activity.
  > "Automated comments (e.g. posting auto-generated PR or issue "summaries") are not allowed and will result in an immediate block for inauthentic activity." (https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md)

## Sources

- [Contributing to TypeScript](https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md), fetched 2026-11-09
