Skip to main content
Give the agent a list of partial records (just company names) and let Antigravity browse the web to fill in the missing fields. The response is parsed into a Pydantic model so the enriched data is ready to drop into a spreadsheet, database, or downstream pipeline.
data_enrichment.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your Google API key

4

Choose how to run the example

Leave RUN_DEMO unset to serve AgentOS. Set RUN_DEMO=1 to run the inline demonstration instead.
5

Run the example

Save the code above as data_enrichment.py, then run:
Full source: cookbook/05_agent_os/antigravity/data_enrichment.py