I Built an AI Tool With TRAE Work and It Did 98% of the Job
AI Scope Hub
AI Research & Analysis
A few weeks ago, I needed to build a contract analysis tool for my website — something that could take a PDF or Word document, break it into chunks, run each chunk through an AI model, and stitch the results into a structured risk report. I'd been putting it off because the scope felt like a solid weekend of head-down coding: file parsing, API integration, prompt engineering, UI for results, progress tracking, the whole thing.
Then I decided to try something different. Instead of writing every line myself, I'd hand the entire project brief to ByteDance's TRAE Work and see how far it could get on its own. Not as a gimmick. As a genuine test of whether this tool — which claims over 6 million registered users and nearly 100 billion lines of generated code (source: AIBase, 2025) — could actually ship a real feature for a real product.
The answer? About 98% of the work was done without me writing a single line of code. The remaining 2% was integration-specific glue that no AI tool could reasonably know about without deep context on my existing codebase. More on that below.
What TRAE Work Actually Is
Let's clear up the naming first, because ByteDance has made it slightly confusing.
TRAE originally stood for "The Real AI Engineer." It launched as a VS Code fork with built-in AI features — code completion, chat, a "Builder Mode" that could scaffold entire projects from a description. Think of it as ByteDance's answer to Cursor, except completely free (DigitalOcean, June 2025).
Then they split it into two products:
- TRAE IDE — the developer-focused code editor, still a VS Code fork, still free, with Claude 3.5/3.7 Sonnet and GPT-4o included at no cost.
- TRAE Work — a broader AI workspace available as a desktop app, web app, and mobile app. It has two modes: "Work" mode for non-technical tasks (research, document analysis, presentations) and "Code" mode for development (TRAE Docs).
TRAE Work is the newer product and the one I tested. It runs in the cloud, handles multiple tasks in parallel, and manages all project files in a single workspace. You describe what you want, it breaks the task into steps, executes them, and shows you the results for review.
The Test Project: ContractGuard AI
The tool I needed to build was a contract analyzer. Here's what it had to do:
- Accept PDF, DOCX, or plain text uploads from users
- Extract text from uploaded documents (PDF parsing on the frontend, DOCX parsing on the backend)
- Split long documents into chunks that fit within AI model token limits
- Send each chunk to an AI model with a legal-analysis prompt
- Aggregate the chunk results into a structured report with risk levels, key clauses, and recommendations
- Display results in a clean UI with expandable risk cards, color-coded severity, and a copy-to-clipboard report feature
- Enforce a free-tier limit of 2 analyses per day
This isn't a trivial CRUD app. It involves file handling, text extraction libraries, API rate limiting, chunking logic, multi-step AI orchestration, and a fairly involved frontend. In a normal workflow, I'd estimate 15-20 hours of focused work.
You can see the finished product here: ContractGuard AI.
How the Build Actually Went
Phase 1: The Brief
I opened TRAE Work's Code mode and gave it a detailed project brief. Not a vague "build me a contract analyzer" — I described the exact tech stack (Next.js 16, TypeScript, Tailwind CSS), the file handling requirements, the chunking strategy, the AI model I wanted to use (DeepSeek), and the UI components I needed.
The key lesson I've learned with AI coding tools: the quality of your brief determines the quality of the output. TRAE Work is no exception. If you give it a paragraph, you get a prototype. If you give it a spec, you get something close to production code.
Phase 2: Generation
TRAE Work broke the project into about 12 tasks and started executing. Here's roughly what it produced in the first pass:
- A complete API route with FormData handling, DOCX-to-text conversion (using mammoth), and the chunking + AI orchestration logic
- A client-side component with file upload zones, text paste mode, progress tracking, and result display
- PDF text extraction on the frontend using pdfjs-dist
- A disclaimer modal for legal compliance (the tool must state it doesn't provide legal advice)
- localStorage-based free tier limiting (2 uses per day)
- Structured risk cards with expand/collapse, color-coded severity indicators
- A "Copy Report" feature
All of this came out functional. Not perfect — there were some UI inconsistencies and a few logic gaps in the chunking — but the structure was solid and the code was clean TypeScript with proper types.
Phase 3: Iteration
I went back and forth with TRAE Work for about 45 minutes, mostly refining details:
- The risk card styling needed to match my site's existing design system
- The chunking logic needed adjustment for edge cases (very short documents, documents with no clear paragraph breaks)
- The progress messages needed to be more informative ("Analyzing clause 3 of 7" instead of just "Processing...")
- Error handling needed to be more user-friendly
Each iteration, I described what needed to change and TRAE Work made the edits. It understood context across files, which is important — it knew that changing the API response format required updating the frontend component that consumed that response.
Phase 4: The 2% I Had to Do Myself
Here's where TRAE Work hit its limit. My website has specific patterns:
- A particular environment variable naming convention for API keys
- A shared component library with specific Tailwind class patterns
- An existing tool page structure (PlanForge, BillGuard) that the new tool needed to follow
- Git workflow and deployment specifics
TRAE Work couldn't know about these without access to my full repository and deployment pipeline. So I spent about 30 minutes integrating the generated code into my codebase, adjusting imports, matching styles, and setting up the deployment.
That's the 2%. Everything else — the core logic, the UI, the API, the file handling — came from TRAE Work.
What TRAE Work Does Well
Task Decomposition
This is where TRAE Work genuinely impressed me. When I gave it the contract analyzer brief, it didn't just start generating code. It broke the project into logical subtasks, identified dependencies between them, and executed them in the right order. The API route came before the frontend component. The text extraction logic came before the AI orchestration.
According to ByteDance's own data, TRAE's user base spans nearly 200 countries with 1.6 million monthly active users (source). That kind of scale means the task decomposition has been tested across a wide variety of project types.
Multi-File Context
TRAE Work can read and reason across different file types — documents, datasets, presentations, scripts. In Code mode, this means it understands your project structure. When I asked it to update the frontend to handle a new field in the API response, it correctly identified which component file needed the change and made the edit in the right place.
Free Access to Top Models
This is arguably TRAE's biggest competitive advantage. You get Claude 3.5 Sonnet, Claude 3.7 Sonnet, and GPT-4o at no cost. For comparison, Cursor charges $20/month for access to similar models (MorphLLM comparison). GitHub Copilot costs $10-19/month depending on the plan.
TRAE Work uses these models in the background. You don't pick which model handles your task — TRAE decides. In practice, the results were comparable to what I'd get using Claude directly through the API.
Cross-Device Workspace
The workspace syncs between desktop, web, and mobile. I started the project on my desktop, checked progress on my phone while making coffee, and reviewed the final output back at my desk. All project files live in one place — no switching between apps or re-uploading documents.
Where TRAE Work Falls Short
Privacy Concerns
This is the elephant in the room, and it would be dishonest to review this product without addressing it. TRAE is a ByteDance product. That means it operates under Chinese data regulations, and the terms of service include clauses about using your code and interactions for AI training and product improvement.
For my test, I was building a tool for my own website — not handling client data or proprietary business logic. That's fine. But if you're working on something sensitive — healthcare software, financial systems, anything with personal data — think carefully before pasting your codebase into TRAE Work.
Multiple reviewers have flagged this. As one Hacker News commenter put it: "This is a free tool (though I wouldn't use it since it's from ByteDance)" (HN discussion, Jan 2025).
Limited Customization
TRAE Work's interface is well-designed but rigid. You get three theme options (Light, Dark, Blue). No custom themes, and VS Code plugins for things like rainbow brackets don't work (hellobala.co review). For a workspace tool, this matters less than it would for a daily-driver IDE, but it's still a limitation.
The "Last Mile" Problem
TRAE Work gets you to about 95-98% of a working feature. The last few percent — integrating with your specific codebase, matching your design system, handling deployment — still requires human effort. This isn't unique to TRAE Work. Every AI coding tool I've tested has the same ceiling. But it's important to set expectations: this tool accelerates development, it doesn't replace developers.
Occasional Context Loss
In longer sessions, TRAE Work sometimes lost track of earlier decisions. I'd ask it to update a function and it would forget that we'd already agreed on a specific error handling pattern. This required me to occasionally re-state constraints that should have carried through the session.
The Numbers
Here's a rough breakdown of the ContractGuard AI build:
- Total development time with TRAE Work: ~2.5 hours (including integration)
- Estimated time without AI assistance: 15-20 hours
- Code generated by TRAE Work: ~95% of the final codebase
- Manual integration work: ~5% (imports, style matching, deployment)
- Bugs found after deployment: 2 minor (both in chunking edge cases, both fixed in under 5 minutes each)
Is that a 6-8x productivity improvement? Maybe. But I'd be more conservative and call it 4-5x when you factor in the time spent reviewing and correcting AI output. Still significant.
How TRAE Work Compares
I've used Cursor, GitHub Copilot, and various AI coding assistants over the past year. Here's my honest comparison for this type of project:
- Cursor — Better at understanding your existing codebase through deep indexing. Smoother inline editing experience. But $20/month and the context window can be limiting for large multi-file projects.
- GitHub Copilot — Excellent for line-by-line code completion. Weaker at project-level generation. Works best as an autocomplete on steroids rather than a project builder.
- TRAE Work — Best at taking a project brief and generating a complete, structured codebase from scratch. Weakest at integrating with an existing codebase without explicit guidance. Free tier is a major advantage.
For greenfield features and new tools — which is exactly what I was building — TRAE Work outperformed the alternatives in my experience.
Who Should Use TRAE Work
Based on my experience and the broader feature set, TRAE Work makes sense for:
- Solo founders and small teams who need to build features fast and can tolerate minor cleanup work
- Prototyping and MVPs where speed matters more than perfect code organization
- Non-technical founders using Work mode to handle research, document analysis, and content tasks without touching code
- Developers exploring AI-assisted coding who don't want to pay for a Cursor subscription to find out if the workflow suits them
It's less ideal for teams working on sensitive or proprietary codebases where data privacy is non-negotiable.
The Bottom Line
TRAE Work did 98% of the work on a real, production AI tool that now lives on my website. It's not a toy or a demo — ContractGuard AI processes actual user uploads and generates real analysis reports. The code TRAE Work generated was clean, well-structured, and required only minor integration work.
Is it a replacement for a skilled developer? No. But it's the closest thing I've found to having a competent junior engineer who works at machine speed and doesn't need coffee breaks. The free pricing, multi-model access, and task decomposition put it ahead of most paid alternatives for the specific use case of building new features from a detailed spec.
The privacy question is real and each developer needs to make their own call on that. For my use case — building tools for my own website — the tradeoff was clearly worth it.
If you're curious about what TRAE Work can produce, try it with a well-defined project. The quality of your output will depend almost entirely on the quality of your input. Give it a paragraph, get a prototype. Give it a spec, get something close to production.