AI-Native Search Homepage Redesign: Engineering Framework and Practices

    This article examines how the search homepage is being rebuilt as an AI-native task entry point rather than a keyword box. It presents a reusable design framework covering three entry types (generation, understanding, and planning) and breaks down five engineering areas: intent recognition, context management, tool orchestration, safety guardrails, and evaluation. Readers will find practical guidance on backend layering, cost control, and metrics for moving from a retrieval product to a task-oriented product.

    When a search engine’s signature homepage starts to be rebuilt around AI, the most visible change is that the input box is no longer flanked by a search button alone. New entry points appear beside it: image generation, document Q&A, and goal-oriented brainstorming. This is not interface decoration. It signals a shift in the information acquisition paradigm, from keyword matching to intent understanding and task execution. Against this backdrop, this article abstracts a general design framework for AI-native entry points and dissects five engineering concerns from a practical perspective: intent recognition, context management, tool orchestration, safety guardrails, and effectiveness evaluation.

    1. Why the Homepage Becomes the Front Line of AI Capability

    The traditional search homepage follows a minimalist design philosophy: one input box, one button, with all complexity hidden in the results page. Its core assumption is that users already know what they want and only lack a channel to deliver keywords to the index system.

    Large models break that assumption. Users do not always arrive with clear keywords. They may bring a vague goal (“I want to learn programming but don’t know where to start”), material to be processed (a resume, a meeting transcript), or a generative request (“draw me an image”). Such requests cannot be answered by an inverted index; they require the model to understand, plan, and invoke capabilities to complete the task.

    The homepage redesign is therefore an upgrade from a “retrieval entry” to a “task entry.” In terms of product structure, the three new entry types map to three typical intents:

    • Generative intent: produce content that did not exist before, such as an image;
    • Understanding intent: analyze, rewrite, or answer questions about material the user provides;
    • Planning intent: the goal is vague and must first be clarified, then decomposed into executable steps.

    Surfacing these three intents on the homepage significantly shortens the path from “expressing a need” to “obtaining a usable result,” but it raises the bar for backend engineering: the earlier an entry sits in the flow, the smaller the margin for error.

    2. Interaction Semantics and Implementation Notes for the Three Entry Types

    2.1 Image Generation Entry

    Clicking it navigates to a dedicated generation page, which usually means switching session context: from short-text interaction to parameterized creation. Three points matter in engineering. First, prompt normalization: parse a natural language description into structured fields (subject, style, composition, lighting, aspect ratio). Second, an asynchronous task model: image generation latency varies widely, so a submit-then-poll or callback pattern is preferable to holding a long-lived connection. Third, result traceability: store the prompt, random seed, and parameter snapshot to support reproduction and further editing.

    1. {
    2. "prompt": "Rainy night street, neon reflections, cinematic composition",
    3. "aspect_ratio": "16:9",
    4. "seed": 20260801,
    5. "style": "cinematic",
    6. "task_id": "img-7f3c..."
    7. }

    2.2 Document Q&A Entry

    For this entry, the key is not the model but retrieval and citation. A reliable approach: parse the document structure (paragraphs, headings, tables), split it into overlapping chunks, vectorize them and write them into a vector retrieval service; at question time, retrieve first and then generate, annotating the source chunk location in the answer. Instructions such as “rewrite,” “polish,” and “extract action items” should be handled as distinct intents that return structured output rather than free text.

    1. User instruction: Polish the project description in a resume
    2. Processing flow:
    3. 1. Identify instruction type = rewrite
    4. 2. Locate target chunk = paragraph #3
    5. 3. Constrain output = keep facts unchanged, adjust expression only
    6. 4. Return {original, rewritten, change notes}

    2.3 Goal-Oriented Brainstorming Entry

    When users can only describe a goal (build a to-do list, learn programming, find a restaurant), the system must clarify before planning. A recommended four-step flow is clarify, draft, confirm, execute: first ask a few questions to fill in key constraints (time, budget, skill level), then present an editable draft, and after user confirmation proceed to execution or tool invocation. The most common mistake here is asking too many questions at once, which drives users away; two or three high-value questions is the general limit.

    3. Backend Architecture: From Single-Turn Q&A to Task Orchestration

    The three entry types share the same foundation and differ in orchestration strategy. A practical layering looks like this:

    • Access layer: unified authentication, rate limiting, and upfront content safety checks;
    • Session layer: maintain multi-turn context and explicit user preferences, and control the token budget;
    • Intent layer: classify into generation, understanding, planning, and chitchat, with a confidence score;
    • Orchestration layer: select tool chains by intent, supporting parallel calls and failure fallback;
    • Capability layer: model inference, vector retrieval, object storage, task queues;
    • Observability layer: logging and alerting that cover latency, failure rate, and cost.

    Intent classification should keep a fallback branch: when confidence is below the threshold, replace direct execution with a clarifying prompt to avoid answering the wrong question.

    1. def route(user_input, ctx):
    2. intent, conf = classifier(user_input, ctx)
    3. if conf < 0.6:
    4. return clarify(user_input)
    5. if intent == "image":
    6. return submit_async(generate_image, user_input)
    7. if intent == "doc":
    8. return retrieve_then_answer(user_input, ctx.docs)
    9. if intent == "plan":
    10. return plan_then_confirm(user_input)
    11. return fallback_search(user_input)

    4. Context Management and Cost Control

    User patience on the homepage entry is extremely low, so time to first token should be a core metric. Common tactics include: routing short queries to a smaller model or a cache and escalating to larger models only for complex tasks; summarizing and compressing session history so that only task state and key constraints are retained; and using queues to smooth peaks for generative tasks, shifting concurrency pressure to the background. The key to cost control is replacing “call the strongest model on every request” with “tiered routing by intent,” which usually pays off more than prompt tuning alone.

    5. Security, Compliance, and Trustworthy Design

    Moving entries forward means moving risk forward. At least four layers of guardrails are needed: on the input side, detect prompt injection and privilege-escalation instructions; on the retrieval side, enforce document permission checks so users can only read content they are authorized to access; on the generation side, filter images and text for content safety; on the output side, mark uncertainty in factual content to avoid presenting speculation as a conclusion. In addition, when users upload material, the data retention policy and deletion mechanism should be explicit, with an understandable explanation shown in the interface.

    6. Effectiveness Evaluation: Look Beyond Click-Through Rate

    Three tiers of metrics are recommended: usability (time to first token, task completion rate, number of clarification turns), quality (accuracy from human or model review, citation correctness, rewrite fidelity), and business (next-day retention, entry penetration). It is also worth building an offline evaluation set covering vague goals, long documents, and adversarial inputs, and running a regression on every model or prompt change to prevent “local optimization, overall regression.”

    7. Conclusion

    Making the homepage AI-native is not an interface refresh but a rewrite of the interaction contract: users shift from “giving keywords” to “stating goals,” and the system shifts from “returning links” to “delivering results.” For developers, the real barriers are the accuracy of intent recognition, the robustness of context and tool orchestration, and controllable security and cost. Get these three things solid, and the further forward an entry sits, the more stable the experience becomes. Building the pipeline above on general-purpose capabilities such as the model services, vector retrieval, object storage, and monitoring and alerting offered by Baidu AI Cloud allows teams to focus their energy on intent design and the evaluation system, and to move faster from a retrieval product to a task-oriented product.