AI-Search-py

作者 oxylabs已验证

Turn plain English queries into structured web data, featuring automated markdown extraction and full JavaScript rendering for dynamic websites.

321
Stars
1
Forks
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/oxylabs/AI-Search-py

快速入门

使用 AI-Search-py 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

AI-Search

AI-Search py

YouTube

The AI-Search app by Oxylabs AI Studio is a web search tool that allows developers to retrieve search results, optionally scrape them, and handle JavaScript-rendered content with ease. It is built to act as an intelligent search agent that simplifies the process of extracting relevant information directly into your Python applications.

Whether you need a simple list of URLs or deep content extraction, AI Search removes the complexity of building custom search scrapers from scratch.

Key features

  • Query web using plain English: Simply provide your search query in natural language and let the agent do the heavy lifting.
  • Control number of search results: Easily define exactly how many results you want to retrieve.
  • Optional content scraping for result pages: Automatically scrape and extract content snippets directly from the returned search results.
  • Python rendering for dynamic content: Enable rendering to seamlessly handle and extract data from JavaScript-heavy websites.

How it works

To use the search agent, follow these simple steps:

  1. Input the search query you want to look up.
  2. Set the desired number of results to limit or expand your search scope.
  3. Toggle content scraping and JS rendering based on whether you need deep content extraction or just URLs and titles.

Installation

TTo begin, be sure you have access to an API key (or get a free trial with 1,000 credits) and Python 3.10+ installed. You can install the oxylabs-ai-studio package using pip:

pip install oxylabs-ai-studio

Code examples (Python)

The following example demonstrates how to use the AI-Seaerch agent for data retrieval scenarios.

from oxylabs_ai_studio.apps.ai_search import AiSearch

search = AiSearch(api_key="<API_KEY>")

query = "lasagna recipes"
result = search.search(
    query=query,
    limit=5,
    render_javascript=False,
    return_content=True,
)
print(result.data)

Learn more about AI-Search and Oxylabs AI Studio Python SDK in our PyPI repository. You can also check out our AI Studio JavaScript SDK guide for JS users.

Request Parameters

ParameterDescriptionDefault Value
queryWhat to search forRequired
limitMaximum number of results to return (Maximum: 50)10
render_javascriptEnable render JavaScriptFalse
return_contentWhether to return markdown contents in resultsTrue
geo_locationProxy location in ISO2 format

Note: When limit <= 10 and return_content=False, the search automatically uses the instant endpoint (/search/instant) which returns results immediately without polling, providing faster response times.

Output Sample

[
  {
    "url": "https://www.spendwithpennies.com/easy-homemade-lasagna/",
    "title": "Easy Homemade Lasagna Recipe - Spend With Pennies",
    "description": "Rating 5.0 (3,349) · 1 hr 45 min This is the best LASAGNA RECIPE! Pasta, an easy meat sauce, and ricotta cheese are layered and then topped with more cheese before baking.",
    "content": null
  },
  {
    "url": "https://www.simplyrecipes.com/recipes/lasagna/",
    "title": "The Best Homemade Lasagna - Simply Recipes",
    "description": "Rating 4.9 (115) · 1 hr 45 min This classic lasagna recipe is made with an easy meat sauce as the base. Layer the sauce with noodles and cheese, then bake until bubbly!",
    "content": null
  },
  {
    "url": "https://www.seriouseats.com/12-lasagna-recipes-11808722",
    "title": "12 Must-Try Lasagna Recipes Featuring Crispy Edges and Gooey ...",
    "description": "Whether you have a taste for meaty classics like a lasagna alla Bolognese or an indulgent creamy vegetarian spinach lasagna, we've rounded up our favorite ...",
    "content": null
  },
  {
    "url": "https://bakerbynature.com/the-best-homemade-lasagna-recipe/",
    "title": "The Best Easy Homemade Lasagna Recipe - Baker by Nature",
    "description": "Rating 5.0 (71) · 2 hr 45 min Dec 12, 2025 · This is the ONLY lasagna recipe you'll ever need... from perfectly cooked noodles to rich tomato sauce and layers of cheese.",
    "content": null
  },
  {
    "url": "https://www.allrecipes.com/recipe/23600/worlds-best-lasagna/",
    "title": "World's Best Lasagna Recipe (with Video) - Allrecipes",
    "description": "Rating 4.8 (20,950) · 3 hr 15 min Feb 5, 2026 · This lasagna recipe from John Chandler is our most popular recipe! With sausage, ground beef, basil, and 3 types of cheese, it lives up to ...",
    "content": null
  }
]

Oxylabs promo code

Practical use cases

AI-Search can be applied to a wide variety of data discovery and collection tasks:

  1. Search for latest news or articles on a topic – Quickly gather up-to-date information, headlines, and summaries.
  2. Discover books, movies, or products – Retrieve lists of items matching specific criteria or reviews.
  3. Research competitive offerings – Find and analyze competitor pricing, features, and market positioning.
  4. Aggregate industry updates from multiple sites – Compile relevant industry changes and trends into a single, structured feed.

FAQ

1. How do I get faster search results if I only need URLs and titles?

If you don't need to extract the full page content, you can use the instant_search method (as shown in the first example) or set return_content=False in the standard search method. This bypasses the deep scraping process and returns your search results almost instantly.

2. Can I get search results from a specific country or location?

Yes, you can use the geo_location parameter to localize your search results. It supports ISO 2-letter country codes (e.g., US, DE), full country canonical names, or specific geographic coordinates, allowing you to see exactly what users in that region see.

3. Why am I not getting the full content from certain websites?

Some modern websites rely heavily on JavaScript to load their content dynamically (like Single Page Applications). If the returned content snippet is empty or missing data, try setting render_javascript=True in your request. This tells the search agent to fully render the page like a real browser before extracting the text.

4. What is the maximum number of search results I can retrieve at once?

You can retrieve up to 50 search results per query by adjusting the limit parameter. If you do not specify a limit, the search agent will return 10 results by default.

Learn more

For a deeper dive into available parameters, advanced integrations, and additional examples, check out the AI Studio documentation.

Contact us

If you have questions or need support, reach out to us at support@oxylabs.io, or through live chat, accessible via Oxylabs Dashboard, or join our Discord community. For enterprise-related inquiries, contact your dedicated account manager.

常见问题

What is AI-Search-py?

AI-Search-py is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by oxylabs. Turn plain English queries into structured web data, featuring automated markdown extraction and full JavaScript rendering for dynamic websites. It has 321 GitHub stars.

Is AI-Search-py safe to use?

Yes. AI-Search-py passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install AI-Search-py?

Clone the repository with "git clone https://github.com/oxylabs/AI-Search-py" and add it to your Claude Code skills directory (see the Installation section above).

Are there alternatives to AI-Search-py?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh AI-Search-py against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情