Skip to main content

crewai-autom

CrewAI tool for Autom, a SERP API that returns live search engine results as JSON.

AutomSearchTool lets an agent search the web with Google (the default), Google News, Bing, Brave, DuckDuckGo or Yahoo.

Installation

pip install crewai-autom

Get an API key at app.autom.dev and set it in the environment:

export AUTOM_API_KEY="your-api-key"

Usage

from crewai import Agent, Crew, Task
from crewai_autom import AutomSearchTool

search = AutomSearchTool(n_results=5)

researcher = Agent(
    role="Researcher",
    goal="Find current facts on the web",
    backstory="You check recent sources before answering.",
    tools=[search],
)
task = Task(
    description="What changed in the latest Python release?", expected_output="A short summary", agent=researcher
)
Crew(agents=[researcher], tasks=[task]).kickoff()

The tool returns a JSON list of results. Each result has title, link, snippet and position; news results also have date and source.

Option Default Description
engine google google, bing, brave, duckduckgo or yahoo
search_type search news searches Google News
n_results 5 Results returned, 1 to 10
country Two-letter country code, such as us (Google only)
language Language code, such as en (Google only)
location City or region to search from (Google web search only)
api_key AUTOM_API_KEY Autom API key
timeout 60 Seconds to wait for Autom

API errors are returned to the agent as text, and the key never appears in them. Autom reports a rate limit as HTTP 401 with "Rate limit exceeded"; the tool says "rate limit exceeded" in that case.

Development

pip install -e ".[test]"
pytest

License

MIT

Metadata

Release files for crewai-autom 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crewai-autom 0.1.0
File Size Uploaded Provenance Actions
crewai_autom-0.1.0.tar.gz 6.1 kB Without provenance Details for crewai_autom-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for crewai-autom 0.1.0
File Interpreter ABI Platform Actions
crewai_autom-0.1.0-py3-none-any.whl Python 3 none any Details for crewai_autom-0.1.0-py3-none-any.whl

Total release size: 11.8 kB

Release files / crewai_autom-0.1.0.tar.gz

Download URL crewai_autom-0.1.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
70d3c311ab8e341c6472f2c6a27c45f201a6c4331efc4753f5cfd5119bb26bcc
BLAKE2b-256 checksum
How to use checksums
4e0c9bd902758a1636ef9c61ecafd6abb0e94e0bcbf151b13d765e758c09e247
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / crewai_autom-0.1.0-py3-none-any.whl

Download URL crewai_autom-0.1.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fff9d9e349c43bfa3ed791a61129dcb2c8f27a1c3345d19b72a65c2e1be2db65
BLAKE2b-256 checksum
How to use checksums
81aa02a20da3e56dff81ff8af830b56028e9ccf95ba589cb5088b2a3fb0aca6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for crewai-autom 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page