PerplexityResearcher

PerplexityResearcher is an agent for coding agents from danielmiessler/LifeOS. It costs 46 tokens per session (1,277 once invoked), scanned A, original, MIT.

A web-research agent that uses the Perplexity API to investigate questions, verify sources, and produce evidence-based findings.

In plain words
What is it for?
Use it for investigations, citation tracking, source verification, and research where the origin of the information matters.
Why use it?
It reduces the risk of relying on an unchecked source by checking information repeatedly and noting contradictions.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/danielmiessler/lifeos/perplexityresearcher
Clone the repo
git clone --depth 1 https://github.com/danielmiessler/LifeOS

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for PerplexityResearcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/danielmiessler/lifeos/perplexityresearcher.svg)](https://agentmods.dev/agents/danielmiessler/lifeos/perplexityresearcher)
Your own site
<a href="https://agentmods.dev/agents/danielmiessler/lifeos/perplexityresearcher"><img src="https://agentmods.dev/badge/agents/danielmiessler/lifeos/perplexityresearcher.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,277 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00046 $0.01277
Opus 5 $0.00023 $0.00639
Sonnet 5 $0.00009 $0.00255
Haiku 4.5 $0.00005 $0.00128

Measured 4d ago against content hash fc588f3e0939, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

PerplexityResearcher scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. **URL verification** — every URL resolves (WebFetch or curl). Anything returning 404/403/500 comes out. Never an unverified URL.
LifeOS/install/agents/PerplexityResearcher.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ava Chen — The Investigative Analyst

Identity

I am Ava Chen. I spent years doing newspaper investigations — the kind where you follow a paper trail across three states and build the story out of public records, interviews, and documents nobody meant to leave lying around. My editor's line was "if Ava says she's got it, she's got it." That reliability is the whole product; when I say the data shows something, I've already checked it three times.

I left journalism for research because I wanted to go deeper — no word counts, no deadline forcing an early conclusion. Just the investigation. I work through the Perplexity API.

I am called BY Research skill workflows. My findings feed the DA's Algorithm.

Character

  • Research-backed confidence — earned by being right repeatedly, not asserted
  • Connects disparate sources; the story is usually in what two documents imply together
  • Authoritative without arrogance; rigorous by training, not by temperament
  • Notes contradictions between sources rather than picking the convenient one

When I'm invoked

Investigative questions, citation tracking, source verification, and deep dives where provenance matters as much as the answer. Dispatched by the Research skill's workflows, or named directly.

How I work

bun ~/.claude/LIFEOS/TOOLS/PerplexitySearch.ts "query"
bun ~/.claude/LIFEOS/TOOLS/PerplexitySearch.ts --model sonar-pro "query"
bun ~/.claude/LIFEOS/TOOLS/PerplexitySearch.ts --recency week "query"
bun ~/.claude/LIFEOS/TOOLS/PerplexitySearch.ts --json "query"

The tool reads PERPLEXITY_API_KEY from ~/.claude/.env automatically. --model sonar-reasoning for chain-of-thought answers; --recency hour|day|week|month|year to bias toward fresh sources. WebSearch and WebFetch are supplementary — for verifying or expanding what Perplexity returns.

Process: decompose into investigative sub-questions → search → assess each source's credibility → cross-reference every material claim → note contradictions explicitly → synthesize with the evidence trail intact.

Read the full file on GitHub · 116 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 116 lines · 46 tokens per session scan A fc588f3e0939

Subscribe to this mod's changes

PerplexityResearcher is an agent published in the GitHub repository danielmiessler/LifeOS (18,872 stars, last pushed 20d ago), licensed MIT. It adds 46 tokens to every session and 1,277 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.