# rust-analyzer: AI-friendly with conditions

> AI tools are allowed with a human in the loop who understands the work; autonomous agents may not open PRs or issues, and AI may not write code for E-easy issues with instructions. Issues, PR bodies and comments must be in your own words; quoted AI context must be disclosed. Disclosure of AI use is requested.

- What it is: Language server for Rust. (Developer tool)
- Homepage: https://rust-analyzer.github.io/
- Repository: https://github.com/rust-lang/rust-analyzer
- 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-10-10 (manual review, high confidence)
- Policy last changed: 2026-10-10
- Web page: https://areweaifriendly.com/projects/rust-analyzer/

## Policy by area

- **Code contributions**: AI-friendly (Contributor takes full responsibility; No autonomous agents)
- **Issues & bug reports**: Not AI-friendly (Only minor help (autocomplete, grammar))
- **AI-written text**: Not AI-friendly (AI use must be disclosed; Only minor help (autocomplete, grammar))

## In their own words

- Code contributions: "We allow using AI (i.e., LLMs) as tools for contributing to rust-analyzer." (https://github.com/rust-lang/rust-analyzer/blob/master/AI_POLICY.md)
- Code contributions: "We do not allow autonomous agents to be used to open pull requests or issues to our projects." (https://github.com/rust-lang/rust-analyzer/blob/master/AI_POLICY.md)
- Code contributions: "AI should not be used to author code for E-easy+E-has-instructions issues." (https://github.com/rust-lang/rust-analyzer/blob/master/AI_POLICY.md)
- Issues & bug reports: "If you are opening an issue, we expect you to describe the problem in your own words." (https://github.com/rust-lang/rust-analyzer/blob/master/AI_POLICY.md)
- AI-written text: "AI should not be used to generate comments when communicating with maintainers." (https://github.com/rust-lang/rust-analyzer/blob/master/AI_POLICY.md)
- AI-written text: "If you wish to include context from an interaction with AI in your comments, it must be in a quote block (e.g., using `>`) and disclosed as such." (https://github.com/rust-lang/rust-analyzer/blob/master/AI_POLICY.md)

## Sources

- [AI_POLICY.md](https://github.com/rust-lang/rust-analyzer/blob/master/AI_POLICY.md), fetched 2026-10-10
