Catalog PyPI
PACKAGE EXPLORERView in registry

agent-lens-core

PyPI

Seamlessly Integrating AI with the Web

Versions collected1
Direct dependencies18From release 0.1.1
Last observed20 Oct, 22:34 UTC

README

Version 0.1.1 documentation
Agent Lens Logo

Documentation Twitter Follow

Make websites accessible for AI agents 🤖.

Agent lens is the easiest way to connect your AI agents with the browser.

To learn more about the library, check out the documentation 📕.

Quick start

With pip:

pip install agent_lens_core

(optional) install playwright:

playwright install

Spin up your agent:

from langchain_openai import ChatOpenAI
from agent_lens_core import Agent
import asyncio

async def main():
    agent = Agent(
        task="Find a one-way flight from Bali to Oman on 12 January 2025 on Google Flights. Return me the cheapest option.",
        llm=ChatOpenAI(model="gpt-4o"),
    )
    result = await agent.run()
    print(result)

asyncio.run(main())

And don't forget to add your API keys to your .env file.

OPENAI_API_KEY=

For other settings, models, and more, check out the documentation 📕.

Demo

Prompt: Find flights on kayak.com from Zurich to Beijing from 25.12.2024 to 02.02.2025.

flight search 8x 10fps



More examples

For more examples see the examples folder

Contributing

Contributions are welcome! Feel free to open issues for bugs or feature requests.

Local Setup

To learn more about the library, check out the local setup 📕.


Made with ❤️ in Zurich and San Francisco

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.110 Jan 202518

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:34 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:e8a02e5b0bae3ee2b2716c5f4b279ab98a2d736faab3142dacb2fa4ddc139fc7