Add a web site to a knowledge base
- graal Agentic Platform
- Version 0.30 (actuelle)
- Open source · Apache 2.0
- Source : graalsystems/tranibor@v0.30.1
For a project owner. Procedure source.web, version 2, reviewed 2026-10-28 against the vendor’s own pages. It applies to the knowledge source kind web.
It ships with the platform. In the console it opens with How to set this up, beside the form that adds the connector and on the connector’s settings.
Addresses are written <api_url>, <public_url> and <org> here: the console shows the same text with your deployment’s own.
Before you start
Section intitulée « Before you start »- The https address of the pages to index. The crawl stays on the same scheme and host, under the start
address’s path, obeys the site’s
robots.txt, follows at most 5 levels and reads at most 500 pages. - A host that resolves to a private, loopback or link-local address is refused: a knowledge base is not a way into the platform’s network. For an internal site, use a git repository or a connector.
- A site behind a login needs a
documents/webconnector, declared once by an organisation administrator: it holds the credential (a bearer token, HTTP Basic or a named header) as a secret. - Read the site’s terms: you are copying its content into your knowledge base.
At the vendor
Section intitulée « At the vendor »Nothing to create for a public site. If the site blocks automated readers, ask its owner, or use their feed
or repository. For a site behind a login, ask its owner for a read-only credential made for an automated
reader (see the documents/web connector’s procedure).
Permissions
Section intitulée « Permissions »Without a connector the crawl is anonymous: it reads only what any visitor reads. With one, it reads what the connector’s credential reads, and the credential is sent only to the connector’s host.
In Tranibor
Section intitulée « In Tranibor »- Knowledge, the base, Add source, kind Web.
url,max_depthandmax_pages. For a single page tick This page only (depth 0, one page). Tick Include linked documents to also read the PDF, Word, PowerPoint and Excel files linked from the pages, on the same host (at most 5 MiB each).- For a site behind a login, open Advanced: authentication and HTTP headers and pick the login
connector. Plain headers (
Accept-Language: fr) go in Extra HTTP headers, one per line; a header that carries a credential is refused there. - Choose the refresh: every few hours, every day or every weekday at a time, chosen days of the week, once a month, a cron expression of your own, or manually. Web content changes: once a day is usual.
- The API must be allowed to reach the site: the network egress allowlist must open its host.
Press Sync now and open the documents that were added.
When it fails
Section intitulée « When it fails »- “resolves to a private address”: not crawled, by design.
- Nothing indexed:
robots.txtdisallows the paths, or the start page links nowhere under its path. - A redirect to another host: the crawl does not follow it, and the base is not emptied.
- A redirect to a login page when the source is added: the site needs a login connector, or the connector’s credential is wrong or expired.
- A timeout: the egress allowlist does not open the site.
| Field | What to put in it |
|---|---|
connector |
optional: a documents/web connector holding the credential of a site behind a login |
exclude |
path globs, each starting with /, that are neither fetched nor followed |
headers |
optional plain headers sent with every request, Accept-Language for example; never a credential |
include_documents |
also read the PDF, Word, PowerPoint and Excel files the pages link to (same host) |
max_depth |
how many links deep to follow, at most 5 |
max_pages |
how many pages to read, at most 500 |
url |
the https address the crawl starts from |
Network egress
Section intitulée « Network egress »Hosts the platform must be allowed to reach:
the site's host