Observed since 20 Oct, 22:34 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Seamlessly Integrating AI with the Web
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 📕.
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 📕.
Prompt: Find flights on kayak.com from Zurich to Beijing from 25.12.2024 to 02.02.2025.
For more examples see the examples folder
Contributions are welcome! Feel free to open issues for bugs or feature requests.
To learn more about the library, check out the local setup 📕.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.1 | 10 Jan 2025 | 18 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:34 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:e8a02e5b0bae3ee2b2716c5f4b279ab98a2d736faab3142dacb2fa4ddc139fc7