Agent-native search client: smart search for agents, however you build them
Project description
meyhem
Smart search for agents, however you build them.
Install
pip install meyhem
Quickstart
from meyhem import Meyhem
m = Meyhem('my-agent')
res = m.search("Python testing frameworks")
m.select(res[0])
m.report(res[0], True)
API
Meyhem(agent_id, base_url)— create a clientm.search(query, num_results=5)— returns list ofSearchResultm.select(result)— report which result your agent pickedm.report(result, success, details=None)— report if it worked
SearchResult fields
url, title, snippet, score, source_domain, provider, position
Context manager
with Meyhem('my-agent') as m:
res = m.search("best practices for async Python")
print(res[0].title, res[0].score)
Links
- API docs: https://api.rhdxm.com/docs
- Homepage: https://api.rhdxm.com
- GitHub: https://github.com/c5huracan/meyhem
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
meyhem-0.1.0.tar.gz
(2.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file meyhem-0.1.0.tar.gz.
File metadata
- Download URL: meyhem-0.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
232d5012e463f7c6dbba08ad13bf2956a336d4be0e4f44f809690424de2f57b3
|
|
| MD5 |
e593ab9a75aef498ce04a7626eefa973
|
|
| BLAKE2b-256 |
d2773e353d16c11c00351c5a99a8b4bb8f52f28e43f81d941826fe292b1b3615
|
File details
Details for the file meyhem-0.1.0-py3-none-any.whl.
File metadata
- Download URL: meyhem-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e142c9e7fe2d66614fd1aa0670841e3a846ab099d1ec68476f11306ace6dd0c
|
|
| MD5 |
743ac2e6dd9402523195263bbe0dad20
|
|
| BLAKE2b-256 |
56a9130015e1ab7bce611cdb95241d47f56de4172d530884204d5120e3ba613e
|