Manuscript Offprint
arXiv:2608.29063Agent2UCB: Agentic System for Generative Engine Optimization
Sheldon Yu
UC San Diego
La Jolla, CA, USA
Rui Wang
Adobe Research
San Jose, CA, USA
Tong Yu
Adobe Research
San Jose, CA, USA
Sungchul Kim
Adobe Research
San Jose, CA, USA
Doga Dogan
Adobe Research
San Jose, CA, USA
Junda Wu
Adobe Research
San Jose, CA, USA
Julian McAuley
UC San Diego
La Jolla, CA, USA
Abstract—Large language model driven search engines such as Google AI Overviews and Perplexity have created new opportunities for Generative Engine Optimization (GEO)—the practice of refining content to increase its likelihood of being cited or summarized by generative systems. We demonstrate Agent2UCB, an agentic GEO system that autonomously improves content visibility through customized, feedback-driven optimization. For each content item, the system evaluates nine GEO strategies, identifies the most effective method, and accelerates selection using a bandit-based Agent2UCB policy that integrates LLM priors with online reward signals. To monitor side effects, the system also provides a lightweight, text-only SEO readiness evaluation covering readability, topical coverage, and EEAT-style credibility. Experiments on GEO-Bench show consistent visibility gains while preserving SEO quality. The demo allows users to choose the websites of interest, observe the optimization workflow and compare GEO/SEO outcomes across methods.
I. INTRODUCTION
While LLM-powered features such as Google AI Overviews, Perplexity, and ChatGPT's deep research are increasingly surfacing web content in generative answers, site operators currently have little control over how their pages are selected and cited. Early work on Generative Engine Optimization has shown that rewriting a page can change its likelihood of being used by generative systems, but the tooling remains primitive compared to traditional SEO: most pipelines apply a single, category-level "best" rewrite strategy, ignore item level variation, and offer no feedback beyond aggregate benchmark scores. In practice, content owners need a system that can adaptively choose optimization methods for each page, expose the trade offs between generative visibility and SEO style quality, and do so under realistic budget constraints on LLM calls.
However, existing GEO pipelines [1] are largely generic and non-generalized. Benchmarks such as the KDD 2024 GEO suite typically identify a single, category-level optimization strategy that performs best on average within a topical group [1]. While such methods establish valuable baselines, they overlook the fact that the most effective optimization method can vary dramatically across individual content items even within the same category. In practice, current systems either (i) apply a fixed, one-size-fits-all strategy per category, or (ii) rely on exhaustive evaluation, testing all available optimization tools for every query and then picking the best. Both patterns limit generalization and are computationally expensive for large-scale or interactive deployment.
At the same time, GEO optimization today is static and offline. Once a strategy is chosen, it is applied uniformly without leveraging verifiable feedback from generative engines or offline simulators. Recent advances in agentic and feedback driven optimization [2] and bandit and adaptive control for LLM systems [3], [4] suggest a more powerful alternative: agentic controllers that iteratively try different tools, observe visibility gains, and adapt their decisions over time using multi-armed bandit policies [5]. Yet these ideas have mostly appeared as algorithms and simulation studies, rather than as deployable systems that practitioners can experiment with and integrate into their workflows.
A further gap lies in the human-facing analytics for GEO. Traditional SEO already offers mature tooling, such as Lighthouse [6], Search Console [7], and third party dashboards—that explain why a page performs well or poorly and suggest actionable improvements. In contrast, existing GEO work typically exposes only offline evaluation scripts and aggregate metrics. There is, to our knowledge, no end-to-end GEO system that (i) runs generative optimization, (ii) selects among multiple optimization tools dynamically, and (iii) surfaces interpretable analyses and recommendations to human users in a Lighthouse-style interface, including both GEO and SEO signals.
In this demo paper, we present Agent2UCB, an experimentation-augmented GEO system that turns these ideas into a practical, interactive tool. Agent2UCB treats each content item as a self-contained optimization task: it applies nine GEO optimization strategies, obtains verifiable feedback from a GEO-style evaluator, and learns to select the most effective method for that specific item. To avoid brute-force exploration, the system employs a bandit-based Agent2UCB controller

Fig. 1: Overview of the Agent2UCB pipeline. The Text Retrieval / GEO score block computes baseline generative-visibility scores for each candidate URL; the Target content analysis block runs EEAT-R diagnostics on the selected page; the Tool selection block lets the bandit controller apply a GEO optimization tool to produce a new draft; and the Optimized content analysis block re-scores that draft on both GEO and SEO readiness, closing the loop back to the user-facing dashboard.
that integrates LLM-based priors with online visibility feedback, achieving high GEO performance within only a small number of iterations. On top of this optimization engine, Agent2UCB provides a GEO+SEO analytics dashboard that reports generative visibility, a lightweight text-only SEO readiness score, and tool-level attribution, giving practitioners a GEO analogue to SEO Lighthouse. We summarize our contributions as follows:
- Customized Agentic Optimization. We implement an agentic GEO engine that automatically applies and evaluates nine optimization tools per content item, selecting the best-performing method through feedback-driven comparison. This enables per-item customization beyond prior category-level GEO baselines.
- Bandit-Enhanced Efficiency. We integrate a bandit-based Agent2UCB controller that models each optimization method as an arm and uses LLM-informed priors with online visibility rewards to balance exploration and exploitation, identifying effective tools within about 15 iterations, 10× more efficient than brute-force search.
- Human-Centric GEO + SEO Analytics. We build a text-only SEO readiness evaluation pipeline that quantifies readability, topical coverage, and credibility, and expose these signals alongside GEO scores in an interactive dashboard. This allows users to inspect how optimization affects both generative visibility and SEO-style quality, closing the loop between automated GEO and human decision-making.
Together, these contributions introduce a scalable and adaptive framework for real-time content optimization in generative
search, and demonstrate a practical, Lighthouse-style system that bridges agentic reasoning, online learning, and human-centric analytics for GEO.
-
Input and GEO scoring. The system takes a single user query and multiple website links that the user wishes to compare or optimize. Given a query and a set of URLs , Agent2UCB retrieves each page , extracts a clean text representation with an LLM-based extractor, and runs a GEO evaluator that simulates generative search: an LLM is prompted to answer the query using all candidate pages, and we measure how often and how prominently each page is cited. These signals are aggregated into a GEO score for each URL (Text Retrieval / GEO score block in Figure 1), providing the baseline visibility against which future improvements are measured.
-
EEAT-R analysis. For the chosen target page, a text-only SEO readiness analyzer scores the content along five dimensions: Experience, Expertise, Authoritativeness, Trustworthiness, and Readability (EEAT-R) [8].
The resulting scores and explanations (Target content analysis in Figure 1) highlight strengths and weaknesses, such as low trustworthiness, and generate concrete natural-language suggestions (e.g., add citations, clarify authorship, simplify language). These insights guide which optimization tools are likely to be effective.
- Agentic GEO engine and tool library. At the core of Agent2UCB is an agentic GEO engine that treats each content item as its own optimization task. Given the query and target document , the engine coordinates a library of GEO tools , including:
-
authoritative rewriting to strengthen expertise,
-
evidence injection to increase factual grounding,
-
quote and citation to highlight credible sources,
-
readability tuning for clearer explanations,
-
SEO-friendly structuring.
Each tool is an LLM prompt template that takes and produces an optimized draft (Tool selection block in Figure 1). When a tool is applied, the GEO evaluator re-runs the generative search simulation on and the SEO readiness module recomputes its metrics, exposing any gains or regressions to the user. In a purely exhaustive pipeline, the system would apply all tools to every item before choosing the best; Agent2UCB instead lets its bandit controller decide which tools to try and when to stop exploring, reducing the number of LLM calls per item.
- Agent2UCB Bandit Controller. To make tool selection adaptive and sample-efficient, Agent2UCB models GEO optimization as a multi-armed bandit problem. For a fixed query-document pair , each tool is an arm with an (unknown) expected reward , the observed visibility gain. We adopt an upper confidence bound (UCB) style policy [5], where the score for arm at iteration is
with the empirical mean reward, the selection count, and a tunable exploration parameter. Beyond standard UCB, Agent2UCB incorporates LLM-based priors by querying a lightweight tool-selection agent before online interaction; in the dual-UCB variant used in our system, these priors warm-start under-explored arms while still letting the controller override poor priors based on observed GEO gains, as visualized by the bar charts in Figure 2. In practice, we run the controller for at most 10–15 iterations per item, after which it typically converges to a stable, high-reward tool choice, avoiding the need to evaluate all tools exhaustively.
Together, these components implement a closed loop: baseline GEO and EEAT-R analysis diagnose the current state of a page, the bandit controller selects promising GEO tools from the library, the agentic engine generates optimized drafts, and
Algorithm 1 Agent2UCB: Agent-Assisted Dual Upper Confidence Bounds
Require: Tool-selection agent , Content-analysis agent , target content , horizon , arms , bandit hyperparameter , auxiliary size .
1: Offline prediction: Estimate for each , using agent samples.
2: Initialization: For all , set , , .
3: for to do
4: First UCB: .
5: Second UCB: .
6: Action: .
7: Observe reward and update: , , .
8: end for

Fig. 2: RQ1: average GEO score by method (left); RQ2: GEO score vs. bandit iterations (right); distribution of tools selected across content items (bottom).
the evaluation modules update both the reward signals and the user-facing dashboard.
III. EXPERIMENT
We evaluate Agent2UCB against an unedited baseline and a category-level GEO baseline along three research questions: (RQ1) does the bandit controller reach higher generative visibility than the baselines, (RQ2) how many iterations does it need to get there, and (RQ3) do these visibility gains come at the cost of SEO quality.
Figure 2 shows that Agent2UCB matches or exceeds both the category-level and exhaustive-search baselines on average GEO score. The right panel (RQ2) tracks GEO score against
TABLE I: Comparison of SEO quality before and after optimization under the Category baseline and Agent2UCB system.
| Metric | Original | Category | Agent2UCB |
|---|---|---|---|
| Overall SEO Score | 65.55 | 70.01 | 70.94 |
| Readability | 0.810 | 0.762 | 0.718 |
| Topical Coverage | 0.551 | 0.800 | 0.653 |
| EEAT Credibility | 0.426 | 0.396 | 0.773 |
| Avg. Word Count | 762.0 | 192.1 | 813.0 |
| Avg. Sentences | 42.3 | 11.7 | 57.9 |
Enter URLs:
Enter URL (e.g., https://example.com)
- Add URL
Select Target URL for Detailed Analysis:
Select target URL...
GEO Query (Optional):
Enter a query to calculate GEO scores (e.g., 'Best PDF editor')
EEAT-R Scores Comparison
| URL | Expertise | Experience | Authority | Trust | Readability | GEO |
|---|---|---|---|---|---|---|
| URL 1 | 18.0 | 19.0 | 19.0 | 18.0 | 19.0 | 0.432 |
| URL 2 | 12.0 | 11.0 | 13.0 | 14.0 | 15.0 | 0.208 |
| URL 3 (Target) | 16.0 | 18.0 | 17.0 | 8.0 | 18.0 | 0.360 |
Fig. 3: Agent2UCB dashboard: query/URL input view (top) and results comparison table (bottom).
the number of bandit iterations: the dual-UCB controller converges within about 15 iterations, roughly 10× fewer LLM calls than exhaustive search, while reaching comparable or higher scores. The bottom panel shows that no single tool dominates the tool-selection distribution across content items, confirming that the most effective optimization strategy varies by item rather than following one category-level rule – the motivation for a per-item bandit controller in the first place.
Table I addresses RQ3. Agent2UCB attains the highest Overall SEO Score of the three settings and raises EEAT credibility by roughly 80% over the unedited page and 95% over the category baseline, while avoiding the aggressive truncation the category baseline exhibits (192.1 vs. 813.0 average words). The trade-off is a modest readability dip relative to both the original page and the category baseline, and a topical-coverage score that improves over the original but falls short of the category baseline's. Figures 3 and 4 show the demo interface end to end: users submit a query and candidate URLs and review a summary table of GEO/SEO outcomes across methods (Figure 3), then drill into the EEAT-R analysis for a chosen page and compare its optimized draft (Figure 4).
IV. CONCLUSION
This work introduces a bandit-based framework for Generative Engine Optimization (GEO), formulating tool selection as an adaptive exploration-exploitation process rather than an
Expertise Experience Authority Trust Readability
Signal Breakdown (Total: 18.0/20)
| Signal Name | Score | Explanation |
|---|---|---|
| Bullet Or List Usage | 2.0/2 | Effective use of lists and bullet points for organization. |
| Grammar And Spelling | 2.0/2 | No grammatical errors or spelling mistakes detected. |
| Heading Structure | 2.0/2 | Clear heading hierarchy aids navigation and comprehension. |
| Jargon Explanation | 2.0/2 | Technical terms are well-explained for the target audience. |
| Logical Flow | 2.0/2 | Content flows smoothly with strong transitions between sections. |
| Paragraph Length | 2.0/2 | Paragraphs are appropriately sized for easy reading. |
| Sentence Length | 2.0/2 | Sentence length varies appropriately for clarity and engagement. |
| Summary Presence | 1.0/2 | Some summary elements but could benefit from executive summary. |
| Visual Aid Quality | 1.0/2 | Some visual aids present but more diagrams would enhance understanding. |
| White Space Usage | 2.0/2 | Good use of white space creates a comfortable reading experience. |

Fig. 4: Agent2UCB dashboard: EEAT-R analysis view (top) and optimization result view (bottom).
exhaustive search. By integrating multi-armed bandits with verifiable visibility rewards, our method significantly reduces computational cost while maintaining competitive performance. The proposed Agent2UCB controller further mitigates cold-start issues by combining offline predictions with online feedback. Experimental results demonstrate that Agent2UCB converges to the optimal optimization method within a few iterations, enabling scalable and efficient deployment in real-world generative search systems.
REFERENCES
[1] P. Aggarwal, V. Murahari, T. Rajpurohit, A. Kalyan, K. Narasimhan, and A. Deshpande, "Geo: Generative engine optimization," 2024. [Online]. Available: https://arxiv.org/abs/2311.09735
[2] D. Arumugam and T. L. Griffiths, "Toward efficient exploration by large language model agents," 2025. [Online]. Available: https://arxiv.org/abs/2504.20997
[3] D. Bouneffouf and R. Feraud, "Survey: Multi-armed bandits meet large language models," 2025. [Online]. Available: https://arxiv.org/abs/2505.13355
[4] A. Nie, Y. Su, B. Chang, J. N. Lee, E. H. Chi, Q. V. Le, and M. Chen, "Evolve: Evaluating and optimizing llms for exploration," 2024. [Online]. Available: https://arxiv.org/abs/2410.06238
[5] P. Auer, N. Cesa-Bianchi, and P. Fischer, "Finite-time analysis of the multiarmed bandit problem," Machine Learning, vol. 47, pp. 235–256, 2002.
[6] Google Chrome Team. (2024) Lighthouse: Automated auditing for web page quality. [Online]. Available: https://developer.chrome.com/docs/lighthouse
[7] Google. (2024) Google search console. [Online]. Available: https://search.google.com/search-console/about
[8] Google Search Central. (2022) Our latest update to the quality rater guidelines: E-a-t gets an extra e for experience. [Online]. Available: https://developers.google.com/search/blog/2022/12/google-raters-guidelines-e-e-a-t