rtk icon indicating copy to clipboard operation
rtk copied to clipboard

[Agent] Add Trae.ai IDE support

Open dodopontocom opened this issue 7 months ago • 3 comments

Type: New agent integration

Description: Trae.ai is an AI IDE (similar to Cursor/Windsurf) with growing adoption. It supports project-scoped rule files at .trae/rules/*.md, which is the same mechanism used by Windsurf (.windsurfrules) and Cline (.clinerules).

Proposed integration:

  • Method: rules file (.trae/rules/rtk-rules.md) — same as Windsurf/Cline fallback
  • Command: rtk init --agent trae
  • No preToolUse hook available (Trae doesn't expose shell interception), so RTK would rely on the AI following the rules to call rtk explicitly

References:

  • Trae rules docs: https://docs.trae.ai/ide/rules
  • Similar existing integrations: Windsurf, Cline, Kilo Code

dodopontocom avatar May 02 '26 13:05 dodopontocom

wshm · Automated triage by AI

🔍 Automated Triage

✨ Category feature
🟢 Priority low
🎯 Confidence 92%

Summary

Feature request to add Trae.ai IDE integration via rules file; PR #2056 already in progress, reducing urgency.

This looks like a simple fix that could be auto-resolved. Repo maintainers can use /wshm fix to attempt it.

📁 Relevant files
  • .trae/rules/rtk-rules.md

Triaged automatically by wshm · This is an automated analysis, not a human review.

pszymkowiak avatar May 02 '26 13:05 pszymkowiak

@pszymkowiak hey, is anyone working on this issue? If not, could you assign it to me?

MateusLyoshka avatar May 21 '26 03:05 MateusLyoshka

Solved in PR #2056: https://github.com/rtk-ai/rtk/pull/2056

This adds rtk init --agent trae and installs RTK rules at .trae/rules/rtk-rules.md.

Arunsiva003 avatar May 23 '26 11:05 Arunsiva003