X.com Rebuilds Its Website With AI Coding Agents, Making Pages Nearly 9x Faster

X has rebuilt its web application using AI coding agents, with a small engineering team completing the first version in under six months. In a controlled Slow 4G test published on November 4, 2026, the time needed to display the first post on a profile dropped from 23.9 seconds to 2.7 seconds. The rebuild also replaces three separate server-rendering systems with a unified architecture designed to improve website speed, search engine accessibility, and link previews.

The project demonstrates how AI coding agents can help engineering teams migrate large legacy applications, write tests, fix bugs, and deliver production-ready software faster while human engineers retain control over architecture and quality.

How Did X.com Become Nearly 9x Faster?

X’s engineering team identified a major performance problem in its previous website architecture.

When logged-out visitors opened an X profile, their browsers had to download the application shell, load JavaScript, execute the code, request profile information, and finally display posts.

Each step required additional processing and network communication. On slower mobile connections, this created significant delays.

The new application changes that process by sending streamed HTML containing the page structure and data directly from the server.

According to X’s November 3 testing:

  • 23.9 seconds: Time taken by the previous application to display the first post in the highlighted profile test.
  • 2.7 seconds: Time taken by the new application to display the first post.
  • Nearly 9x faster: The improvement demonstrated in this controlled Slow 4G comparison.
  • Under six months: Time taken by the small engineering team to build the first version.

These results come from X’s own controlled tests, not an independent industry-wide performance benchmark.

How Did AI Coding Agents Help Rebuild X.com?

X’s engineering team used AI coding agents to handle much of the implementation work while engineers focused on architecture, technical decisions, and reviewing changes.

The development process included several important activities.

1. Migrating Existing Code

AI agents helped transfer existing functionality from X’s older application and server-rendering systems into the new architecture.

Rather than manually recreating every feature, agents examined the existing implementations and used them as working references.

2. Writing Automated Tests

Agents generated tests to check whether migrated pages behaved like the original versions.

This was particularly important because X needed to preserve existing functionality, URLs, redirects, and search engine information.

3. Fixing Bugs and Reviewing Code

AI agents helped identify and resolve issues reported by automated testing systems and human reviewers.

Engineers reviewed the resulting changes before they were accepted into the codebase.

4. Building Reusable AI Agent Skills

The team created more than 25 reusable agent skills to standardize recurring development tasks.

These included:

  • Creating and reviewing commits.
  • Managing pull requests.
  • Fixing CI failures.
  • Updating dependencies.
  • Adding translations.
  • Working with GraphQL and Relay.
  • Managing routing and application changes.

5. Enforcing Automated Quality Checks

X also implemented coding standards and automated checks to prevent AI-generated code from introducing unnecessary complexity.

The system included linting, type checking, testing, and custom code-quality rules.

This combination helped the team use multiple AI agents without sacrificing consistency.

What Technology Powers the New X.com Website?

The new X.com application uses a modern web development stack designed for server-side rendering, streaming, and efficient data delivery.

Some of the main technologies include:

TechnologyPurpose
ReactBuilding the user interface
ViteDevelopment and application bundling
FastifyHandling server requests
Relay and GraphQLFetching and managing application data
TypeScriptType safety and maintainable code
Tailwind CSSStyling and responsive layouts
Platformatic WattRunning the server application
RustGenerating link-preview images

One important improvement is the use of streaming server-side rendering.

Instead of making visitors wait for the entire application to load before seeing content, the server can send the page progressively as information becomes available.

This helps reduce the time users spend waiting for the first visible post.

Why Did X Replace Three Servers With One?

Before the rebuild, X used three separate systems to serve different types of visitors.

  1. rweb: Served the regular web application.
  2. rweb SSR: Generated server-rendered pages for search engine crawlers.
  3. Jetfuel SSR: Served indexed public pages and other search-related content.

Maintaining three systems meant that updates to page titles, descriptions, structured data, and error handling could require changes in multiple places.

The new architecture brings these responsibilities together.

It serves:

  • Logged-out visitors.
  • Search engine crawlers such as Googlebot and Bingbot.
  • Link-preview bots used by WhatsApp, Slack, Discord, LinkedIn, and other platforms.

This is not just a performance improvement. It also simplifies development and makes SEO maintenance more consistent.

What Does the X.com Rebuild Mean for SEO and Google AI Search?

One of the most interesting aspects of this project is how X connects website performance with search engine accessibility.

Search engines need more than a fast-loading page. They also need accessible HTML, accurate metadata, structured data, canonical URLs, language alternatives, and correct HTTP status codes.

X’s new architecture addresses several of these requirements.

Server-side rendering: Search crawlers receive complete HTML documents rather than relying on JavaScript to display important page content.

Structured data: Search-related information is maintained through shared components.

Consistent metadata: Updates to titles, descriptions, and other SEO elements can be managed in one application.

Correct redirects and 404 responses: Existing URLs and page-handling rules are preserved.

Language alternatives: The application maintains links between language versions of pages.

X also reduced oversized crawler documents to stay within Google’s documented 2 MB crawling limit.

For publishers and businesses, the lesson is important: website performance, technical SEO, and content accessibility should be designed together.

A fast website is valuable, but search engines must also be able to understand its content.

Can Small Engineering Teams Build Large Applications With AI Agents?

X’s rebuild demonstrates that small engineering teams can take on complex software migration projects with help from AI coding agents.

However, the results did not come from simply asking an AI tool to build a website.

The engineers established the architecture, defined coding standards, created reusable workflows, and reviewed the implementation.

AI agents handled much of the repetitive development work.

This division of responsibilities is an important distinction between using AI as a simple coding assistant and building an AI-assisted engineering workflow.

For startups, development agencies, and technology companies, this approach could help reduce implementation time and allow smaller teams to work on more complex projects.

What Can Businesses Learn From X’s AI-Powered Website Rebuild?

X’s engineering project offers several practical lessons for businesses planning website upgrades or application migrations.

1. Audit performance before rebuilding. Identify slow-loading pages, unnecessary JavaScript, excessive network requests, and server bottlenecks before deciding on a complete rewrite.

2. Use AI agents for repetitive development tasks. Code migration, automated testing, documentation, and bug fixing are useful areas for AI assistance.

3. Establish reusable agent instructions. Shared rules and documented workflows help multiple agents follow consistent development standards.

4. Protect technical SEO during migrations. Preserve URLs, redirects, metadata, structured data, canonical tags, and language alternatives.

5. Introduce changes gradually. Test new application versions alongside existing systems before moving all users to the new architecture.

6. Keep human engineers responsible for quality. AI-generated code still needs technical review, automated testing, and production monitoring.

Is X.com Now Fully Running on Its New Website?

Not yet.

According to X’s November 4 engineering announcement, the new application already serves logged-out visitors and search engine crawlers.

The signed-in experience is being introduced gradually, country by country, while the previous application continues serving users who have not yet migrated.

This gradual rollout allows X to compare performance, monitor problems, and move users back to the previous system if necessary.

The approach reduces the risks associated with replacing a large production application.

What Does This Mean for the Future of AI Software Engineering?

X’s website rebuild shows that AI coding agents are becoming useful beyond small code-generation tasks.

They can contribute to large engineering projects involving application migrations, testing, infrastructure, and performance improvements.

The bigger opportunity is not simply writing more code in less time. It is allowing engineers to spend more time on architecture, system reliability, user experience, and business problems while AI agents handle much of the implementation.

For businesses and development agencies, the next competitive advantage may come from building better engineering workflows around AI rather than simply adopting another AI coding tool.

The takeaway: AI agents did not independently rebuild X.com. A small team of engineers used AI to accelerate a complex project, while maintaining control over architecture, testing, and production quality.

Official source: X Engineering – Rebuilding the Global Town Square From Scratch

0
Show Comments (0) Hide Comments (0)
Leave a comment

Your email address will not be published. Required fields are marked *