Agent Wealth HubFree public resources
中文 EN العربية

Back to catalog / Agent workflows

Compare service information across cities in a difference matrix

Create a DocumentAgent per city and compare the same service dimensions with source-backed differences.

Goal

Create a DocumentAgent per city and compare the same service dimensions with source-backed differences.

Steps

  1. Index documents by city with summary/vector tools and source metadata. [source-anthropic-compare-city-service-options-across-documents]
  2. Query each city with fixed questions and build a normalized comparison table. [source-anthropic-compare-city-service-options-across-documents]
  3. Distinguish missing data from real differences; cite every table cell. [source-anthropic-compare-city-service-options-across-documents]

How to verify

Check that every city/service cell links to a document passage and date; show conflicting values side by side instead of merging them.

Troubleshooting

If a city has missing fields, inspect its document index and retrieval scope; mark unsupported cells unknown rather than filling them in.

Permissions

Prerequisites

Permissions

Limitations

Run the source on isolated test data, then check outputs and dependency versions before adapting it.

Pinned upstream source

https://github.com/anthropics/anthropic-cookbook/blob/9c1e493ddd2b82df399d2a61b9c806c539e18be6/third_party/LlamaIndex/Multi_Document_Agents.ipynb

Repository
anthropics/anthropic-cookbook
File path
third_party/LlamaIndex/Multi_Document_Agents.ipynb
Pinned commit
9c1e493ddd2b82df399d2a61b9c806c539e18be6
Source checked
2026-10-14 · Reviewed against the pinned upstream source

Repository metrics

These values describe the upstream repository, not popularity or likes for an individual skill or playbook.

Stars
Not collected
Forks
Not collected
Observed at
Not collected

No metrics snapshot is available yet.

License: MIT

Main topic

Turn ecommerce campaign materials into a reviewable weekly brief

Related resources