Skip to main content

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.

Usage

from llama_index.tools.polias import PoliasToolSpec

polias = PoliasToolSpec(api_key="pol_...")  # or set 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 are web, news (last 30 days), legal (court decisions and legislation) and official (websites of public authorities in Germany, Austria, Switzerland and the EU). town focuses local results, e.g. "Köln". With web and other areas, the results are shared: each other area gets count divided by the number of areas (rounded down), web gets the rest. areas=["web", "legal"], count=5 gives 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. For legal results, 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.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 llama-index-tools-polias 0.1.0
File Size Uploaded Provenance Actions
llama_index_tools_polias-0.1.0.tar.gz 5.6 kB With provenance Details for llama_index_tools_polias-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-tools-polias 0.1.0
File Interpreter ABI Platform Actions
llama_index_tools_polias-0.1.0-py3-none-any.whl Python 3 none any Details for llama_index_tools_polias-0.1.0-py3-none-any.whl

Total release size: 12.1 kB

Release files / llama_index_tools_polias-0.1.0.tar.gz

Download URL llama_index_tools_polias-0.1.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
56121e78b931d0a2c3f557dc4564221112206e98b35a90df5299c8250bc2b098
BLAKE2b-256 checksum
How to use checksums
644725e816b445eb9837d93055441c4fd10b7faa2b233d749f4693a269d28440
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 22, 2026.

Transparency log

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

Download URL llama_index_tools_polias-0.1.0-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8aea44f6b8c42862308f1e20ed8065a4553ace13a602fe91b8f58e1133026d6
BLAKE2b-256 checksum
How to use checksums
80ee4d88413bd7d504ae79c40f8ddb573579bb95f39d6c55f67cfcded78f220f
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 22, 2026.

Transparency log

Security for llama-index-tools-polias 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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for llama_index_tools_polias-0.1.0.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 22, 2026.

Transparency log

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 Full 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