Feature request: add Chinese ADE providers — CodeBuddy (Tencent) and Trae Agent (ByteDance)
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-agentCLI (vs. the Trae IDE), and its prompt/session flags.
Would the maintainers welcome these additions?
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.
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.