Multi-Model AI Agent Architecture for College Application Recommendation: A Technical Breakdown

    This article explains how to build a multi-model AI agent for college application planning, a high-stakes decision problem driven by multiple constraints, competing objectives, and strict deadlines. It covers a five-layer architecture, user profile and slot modeling with hard constraints, soft preferences, and implicit traits, and collaboration patterns such as parallel generation, primary-auxiliary division of labor, and voting with consistency checks. It also details prompt and tool-calling practices, entity alignment, safety and compliance requirements, observability, and a two-layer evaluation approach, showing how to turn unstructured input into structured constraints while leaving deterministic computation to tools.

    1. Scenario Background and Problem Definition

    College application planning is essentially a decision problem with multiple constraints, competing objectives, and strict time sensitivity. User input is often highly unstructured: scores and rank, subject combinations, personality tendencies, regional preferences, family tolerance for tuition and majors, and whether to accept reassignment. Traditional approaches rely on static table lookups and manual experience, with three clear weaknesses. First, the retrieval entry point is rigid: users must know what to search for before they get results. Second, constraints are hard to combine: recall drops sharply once multiple preferences are stacked. Third, explanations are lacking: users receive a list of schools and majors without knowing why they were recommended.

    After introducing a large language model, the interaction entry point shifts from filling out a form to natural-language conversation, and the system can progressively fill missing slots across multiple turns. However, a single model fluctuates on time-sensitive data, numerical computation, and stability. A more sound engineering approach is therefore to build a multi-model collaborative agent, where different models take on different responsibilities and outputs are cross-validated.

    2. Overall Architecture

    A deployable college application planning agent is typically divided into five layers:

    1. Access layer: the conversation entry point, handling session management, identity state, and context.
    2. Orchestration layer: intent recognition, slot extraction, and task routing, deciding which model or tool handles the current request.
    3. Model layer: multiple LLMs (such as ERNIE and similar reasoning models), routed by task type.
    4. Data and tool layer: deterministic capabilities such as admissions data retrieval, rank conversion, major database queries, and school profiling, exposed as tool calls.
    5. Governance layer: content safety filtering, result consistency checks, logging, and monitoring alerts.

    The key design principle: anything that can be done with deterministic computation should not be generated by a model. Score-line conversion, rank-range matching, and enrollment plan filtering are verifiable computations and belong in the tool layer; the model handles semantic understanding, preference summarization, plan explanation, and expression.

    1. def handle_turn(session, user_msg):
    2. intent, slots = orchestrator.parse(session, user_msg)
    3. session.merge_slots(slots) # accumulate slots across turns
    4. if intent == "recommend":
    5. candidates = tools.search_plans(
    6. score=session.score,
    7. rank=session.rank,
    8. subjects=session.subjects,
    9. regions=session.regions # empty means no restriction
    10. )
    11. results = {}
    12. for name, model in models.items():
    13. results[name] = model.compose(session.profile, candidates)
    14. return reconciler.compare(results) # compare multi-model results
    15. return models["chat"].reply(session, user_msg)

    3. User Profile and Slot Modeling

    Profile modeling sets the upper bound on recommendation quality. Slots can be grouped into three categories:

    • Hard constraints: score, rank, subject combinations, enrollment plan type. Anything that fails is filtered out and not left to the model.
    • Soft preferences: region, school tier, tuition range, program length, and whether joint programs with foreign institutions are acceptable. These participate in ranking as weights.
    • Implicit traits: personality tendencies, subject interests, and career orientation, acquired gradually through multi-turn dialogue or questionnaire-style follow-ups.

    Follow-up questions for missing slots need pacing: ask only one or two of the most critical missing items at a time to avoid losing users during the question stage. In practice, maintain an “information completeness” score and trigger follow-ups only below a threshold.

    1. completeness = Σ(filled hard constraint weights) + 0.5 × Σ(filled soft preference weights)
    2. if completeness < 0.6 → ask follow-up; otherwise proceed to recommendation

    4. Multi-Model Collaboration and Result Comparison

    The value of multiple models is not “more answers” but reducing the risk from single-point fluctuation. Three common collaboration patterns:

    • Parallel generation with side-by-side display: multiple models generate plans from the same input, differences are shown side by side, and users can switch views. The differences are often exactly where users must weigh trade-offs, such as “safe choices” versus “reach for a top school.”
    • Primary-auxiliary division of labor: a reasoning model handles constraint satisfaction and logic checks, while a general conversational model handles natural-language explanation and follow-ups, reducing overall latency and cost.
    • Voting and consistency checks: normalize multiple outputs into structured form, extract “school-major-gradient” triples, count frequency, and flag low-frequency items as to-be-confirmed.
    1. def normalize(plan_text):
    2. return [tuple(x) for x in parser.extract_triples(plan_text)]
    3. votes = Counter()
    4. for name, text in raw.items():
    5. votes.update(set(normalize(text)))
    6. stable = [k for k, v in votes.items() if v >= 2]

    Note that gradient reasonableness (the ratio of reach, match, and safety picks) should be quantified by a rule engine; the model only explains it rather than deciding the ratio itself.

    5. Engineering Notes on Prompts and Tool Calls

    The system prompt should define role boundaries and prohibited behavior: never promise admission outcomes, never fabricate nonexistent enrollment plans, and explicitly state when data is missing. Tool calls should use structured descriptions with semantically clear parameter names:

    1. {
    2. "tool": "search_plans",
    3. "arguments": {
    4. "rank_min": 12000, "rank_max": 18000,
    5. "subjects": ["Physics", "Chemistry"],
    6. "region_pref": ["in-province"],
    7. "tuition_max": 30000
    8. }
    9. }

    School and major names returned by the model must go through entity alignment to internal standard codes, avoiding duplicates or mismatches from variant spellings of the same school. Retrieval results should be truncated and reranked before entering the prompt to control context length and improve relevance.

    6. Safety, Compliance, and Observability

    Application planning is a highly sensitive decision scenario with higher governance requirements than ordinary Q&A:

    • Disclaimer and positioning: state clearly that system output is reference advice and the final decision is made by the user and their guardians.
    • Content safety: filter both input and output, blocking discriminatory, inducement-based, or policy-boundary-crossing statements.
    • Data minimization: collect profile data on demand, encrypt sensitive fields, and set retention periods for session data.
    • Traceability: log each turn’s intent, slots, tool arguments, model version, and output summary for review and attribution.
    • Monitoring and alerts: build dashboards and threshold alerts for latency, tool failure rate, empty recall rate, and number of follow-up rounds.

    7. Evaluation Approach

    Evaluation should have two layers. The offline layer uses historical labeled data to measure slot extraction accuracy, entity alignment accuracy, and constraint satisfaction rate. The online layer tracks follow-up rounds, plan adoption rate, comparison feature usage, and how often users actively modify preferences. Because admission outcomes are delayed and uncontrollable, admission success should not be a direct metric of model quality; instead, use “constraints correctly satisfied, explanations clear, no factual errors” as the core evaluation dimensions.

    8. Conclusion

    The key to a multi-model college application planning agent is not replacing the decision with a model, but turning unstructured expression into structured constraints, leaving deterministic computation to tools, leaving semantic understanding and explanation to models, and making uncertainty explicit through multi-model comparison. This architecture also applies to other strongly constrained advisory scenarios and has good reuse value.