Skip to content

native web tools: web_search / web_fetch (assistant-shaped internet access) #215

Closed

Description

@ajianaz

Summary

Native web tools — backend = nginjen, sesuai DECISION owner 28 Aug 2026 (tercatat di uteke room tole-dev, sebelumnya terlewat saat riset koma): tole EMBEDS nginjen-lite as a library (feature-gate nginjen-core, pattern shell-tools; bukan HTTP backend). Update owner 6 Oct 2026: browserless untuk mobile + browser penuh untuk mode full — rendering berjenjang.

Why

Chat-first assistant butuh internet ("cariin...", "bukain halaman ini..."). nginjen = self-contained scraping + search platform (fleet sendiri); embed in-process = cocok mobile-embeddable track.

Design sketch (merged decision + update)

  • web_search + web_fetch via embedded nginjen-lite (Risk::Read, AUTO-APPROVE per decision 28 Aug; query+URL logged; robots.txt honored — "normal aja, tanpa nakal").
  • Rendering tiers (owner 6 Oct): lite fetch (default, embedded) → browserless (remote headless service; jalur mobile — device tidak perlu full browser) → browser penuh (desktop/full mode, halamanhostile). Tier naik via flag/config, bukan otomatis.
  • Probe-first: nginjen-core absent → one-line warning, no phantom tools.
  • HTTP/NGINJEN_KEY cloud socket stays a future monetization path (decision 28 Aug), bukan v1.

Dependencies / open items (perlu konfirmasi owner)

  • nginjen-core belum ada di crates.io (verified); repo kini private + CI di Gitea — jalur embed (path dep / vendor / publish) perlu diputuskan saat eksekusi.
  • Prasyarat lama: nginjen CI billing (chore: E9 close-out — perf thresholds + fuzz-lite + docs/perf.md (issue #9) #139) untuk merge PR upstream; local work bisa jalan duluan.
  • Pemilihan service browserless (self-host browserless/chrome vs lainnya) → diskusi terpisah.

Acceptance

  • Embedded nginjen-lite search+fetch, Risk::Read auto-approve + logging, robots honored
  • Tier flag: lite → browserless → browser penuh (desktop only)
  • Docs + threat-model row + CHANGELOG same-PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions