emdash icon indicating copy to clipboard operation
emdash copied to clipboard

Feature request: add Chinese ADE providers — CodeBuddy (Tencent) and Trae Agent (ByteDance)

Open fromsimaguang opened this issue 5 months ago • 2 comments

Summary

Add support for two China-developed agentic coding CLIs as agent providers:

  • CodeBuddy (Tencent) — terminal coding agent. Docs: https://www.codebuddy.ai
  • Trae Agent (ByteDance) — open-source CLI agent. Repo: https://github.com/bytedance/trae-agent

Motivation

emdash already supports several non-Western providers (qwen, kimi). Adding CodeBuddy and Trae Agent would extend coverage to two widely-used agents in the Chinese developer ecosystem, both of which expose a terminal/CLI interface that fits emdash's PTY-based provider model.

Proposed change

Register both in src/shared/agent-provider-registry.ts following the existing AgentProviderDefinition shape (cli, commands, versionArgs, initialPromptFlag, autoApproveFlag, resumeFlag, etc.), add detection in dependency-manager.ts, provider icons, and PTY env passthrough where required.

I'm happy to open a PR if maintainers are open to it. Before doing so, a couple of open questions:

  • CodeBuddy: confirm the install command, CLI binary name, and the flags for non-interactive prompt delivery + auto-approve.
  • Trae: confirm whether the intended entry point is the open-source trae-agent CLI (vs. the Trae IDE), and its prompt/session flags.

Would the maintainers welcome these additions?

fromsimaguang avatar Jun 12 '26 02:06 fromsimaguang

Hi @fromsimaguang. Thanks for raising this issue.

We'd love to see a PR that adds support for CodeBuddy and Trae.

Happy to review the PR once it's up.

Feel free to send other wishes and feedback anytime.

arnestrickmann avatar Jun 12 '26 03:06 arnestrickmann

Hi @fromsimaguang, we’d like to pick this up. To keep the contribution focused, we plan to submit CodeBuddy support first using its now-documented CLI surface, then follow with a separate Trae Agent PR after validating its interactive and installation behavior against the current upstream CLI. We’ll link both contributions here and avoid overlapping work. Please let us know if you have already started an implementation.

rasitakyol avatar Jul 19 '26 06:07 rasitakyol