LlamaIndex Tools Integration: Polias
This tool connects to Polias, a search engine with its own index, hosted in the EU. Agents can use it to search the web, news, official sources and law.
Installation
pip install llama-index-tools-polias
You need a Polias API key. Create an account at api.polias.eu/account, as a company or as a private person (private accounts: residents of Germany, Austria or Switzerland, 18 or older, non-commercial use only). Each month, 1,000 searches are free for companies and 100 for private persons. More is available as packages, see pricing.
export POLIAS_API_KEY="pol_..."
Usage
from llama_index.tools.polias import PoliasToolSpec
polias = PoliasToolSpec() # reads the key from POLIAS_API_KEY
docs = polias.search("Kündigung Eigenbedarf", areas=["web", "legal"], count=5)
for doc in docs:
print(doc.metadata["area"], doc.metadata["title"], doc.metadata["url"])
With an agent:
from llama_index.core.agent.workflow import FunctionAgent
llm = ... # any LlamaIndex LLM with function calling
agent = FunctionAgent(tools=PoliasToolSpec().to_tool_list(), llm=llm)
print(await agent.run("Which court decisions deal with rent reduction because of mould?"))
Tools
search(query, areas=None, count=10, offset=0, town=None): results with title, URL and a short snippet. The areas areweb,news(last 30 days),legal(court decisions and legislation) andofficial(websites of public authorities in Germany, Austria, Switzerland and the EU).townfocuses local results, e.g."Köln". Withweband other areas, the results are shared: each other area getscountdivided by the number of areas (rounded down), web gets the rest.areas=["web", "legal"], count=5gives 3 web and 2 legal results.ai_search(query, areas=None, count=5): results for AI answers. Each result carries licence details and, where the licence allows, a longer excerpt. Forlegalresults, the full text is included where the licence allows it.legal_search(query, country=None, court=None, count=10): court decisions and legislation from the EU and European countries, with court, case number, date, ECLI and source. Please show the source notice (notice) with the result.
Options for the whole tool: lang="de" (default) or "en" (a focus on technical topics such as developer
documentation, software and IT), and country="de", "at" or "ch" to prefer results from a country.
Documentation: api.polias.eu · Questions: hallo@polias.eu
Metadata
Release files for llama-index-tools-polias 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_tools_polias-0.1.1.tar.gz | 5.6 kB | With provenance | Details for llama_index_tools_polias-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_tools_polias-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for llama_index_tools_polias-0.1.1-py3-none-any.whl |
Total release size: 12.1 kB
Release files / llama_index_tools_polias-0.1.1.tar.gz
| Download URL | llama_index_tools_polias-0.1.1.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4cb5aa8e248d8e2a8b2cb85bbb1a78f0019db2d93f488264ad0809da6baf6e24
|
|
BLAKE2b-256 checksum How to use checksums |
10ac99939e9ab25a002b8b5313d5b589e1705ff4be2b8e09c3006914d6403bf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logRelease files / llama_index_tools_polias-0.1.1-py3-none-any.whl
| Download URL | llama_index_tools_polias-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1167c09fe3dca89c8e436b49d36be01c223d05e9f718822e975cd6fe44b9d6f7
|
|
BLAKE2b-256 checksum How to use checksums |
8e8e7f43124703d2dfa837632f66eb1f87162077c9469285d5c450034dee2c42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logSecurity for llama-index-tools-polias 0.1.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for llama_index_tools_polias-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logA 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.