rtk-ai/rtk

[Agent] Add Trae.ai IDE support

Open

#1676 opened on May 2, 2026

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Rust (48,085 stars) (2,914 forks)batch import
effort-mediumenhancementgood first issue

Description

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:

Contributor guide