Working examples showing how the Extract API, Capability API, and AIR SDK work together.
cd examples/agents
npm installCreate a .env file with your API key:
AIR_API_KEY=your_api_key_here
Get keys at agentinternetruntime.com/extract/dashboard
Extracts and summarizes content from multiple URLs.
npx tsx research-agent.ts "https://en.wikipedia.org/wiki/Artificial_intelligence"Browses a product site, extracts product data, compares across sources.
npx tsx price-comparison-agent.ts "wireless headphones"Discovers what actions are possible on any website using the Capability API.
npx tsx capability-scout.ts kayak.com amazon.com youtube.comMonitors a site for content changes using repeated extractions.
npx tsx site-monitor-agent.ts "https://news.ycombinator.com" --interval 60