Scan your whole stack
Are you using argus-agents?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.19.0
argus-agents was last scanned on 29 Nov 2026 at version 0.19.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.19.0 LATEST | 29 Nov 2026 | 1 rule fired |
| 0.18.0 | 20 Nov 2026 | 1 rule fired |
| 0.17.0 | 31 Oct 2026 | 1 rule fired |
| 0.16.0 | 21 Oct 2026 | Not shown |
| 0.15.0 | 16 Oct 2026 | Not shown |
Findings for v0.19.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The code obtains a function through a computed property lookup whose key is not a plain literal, calls it, and then calls the value it returns. Obfuscated loaders use this double indirection to reach the Function constructor without its name appearing in the source. This is a code shape, not evidence of intent, and is shown to help review obfuscated code.
MEDIUMThe score describes 0.19.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Catch silent failures in AI agent pipelines before production.
Your LangGraph pipeline runs fine — no exception. But three nodes later, something crashes with a KeyError. The real cause? A node upstream silently dropped a field. ARGUS catches this.
Beta, and under active development. ARGUS is early. Expect rough edges and bugs, and expect things to move. Issues and pull requests are welcome. Contributors: join the Discord before opening a PR — that is where updates land.
1. Install
pip install argus-agents
2. Init
argus init
Writes .cursor/skills/argus-debug/ and .claude/skills/argus-debug/. Commit them. The skill already contains the setup prompt.
3. Attach
Ask your editor agent to wire ARGUS. (The skill already contains this AI setup prompt; the landing-page copy is just a fallback.)
from argus import ArgusRecorder
app = ArgusRecorder().attach(graph)
attach() returns the app you invoke. Nothing about your graph is patched or
rewritten — ARGUS rides LangGraph's own callback stream. See
Which entry point? if you are on the older ArgusWatcher.
4. Run
Same as always. Failures print in the terminal; clean runs stay silent.
[argus] run 8f3a1c02 silent_failure on retrieve
missing: documents (dropped by search)
argus show last | argus ui
5. Inspect
argus show last
argus fix <id> # paste-ready prompt for the root-cause node
argus ui
argus replay <id> <node> --app mypkg.graph:build # build() returns your compiled graph
Empty dashboard → wrong directory or no run yet. Check the project root, or set $ARGUS_DIR to the folder that contains .argus/ (not the .argus folder itself: ARGUS_DIR=/p/.argus would write /p/.argus/.argus/runs).
No code change at all: pytest --argus records every LangGraph run your tests make and fails a test whose run was not clean. In CI, argus check last (or the GitHub Action) is the gate.
Dropped or blanked fields (a node forgets audience, writes contact.email: "") are checked once you say who reads them: ArgusRecorder(consumers={"audience": ["write"]}). argus consumers last --write argus.consumers.json drafts the map from a run. See Declaring who reads what.
Telemetry sends the shape of each run, never its values, and is on by default. Turn it off with argus telemetry off or ARGUS_TELEMETRY=0 (details).
Optional — argus key set for the LLM judge. Skip it and you still get heuristics.
Optional — argus key set + one-line node purposes (ArgusRecorder(purposes={...}), or draft them with argus baseline --purposes) turns on the run reviewer: an LLM pass over the whole pipeline that confirms rule hits and catches hallucinated values and contradictions no rule can see.
AI-powered detection (the run reviewer, the semantic judge, LLM investigator, learned trends) uses your own key from the provider of your choice — OpenAI, Anthropic (Claude), or Google (Gemini). Set it once and it's saved locally for every future session:
argus key set # OpenAI by default — prompts, hidden input
argus key set --provider anthropic # or Anthropic (Claude)
argus key set --provider google # or Google (Gemini)
# pass it directly instead of being prompted:
argus key set sk-... --provider openai
# or just export it (env wins over the saved key):
export OPENAI_API_KEY=sk-... # or ANTHROPIC_API_KEY / GEMINI_API_KEY
Configured more than one? Switch the active provider anytime:
argus key use anthropic # activate a provider you already have a key for
argus key show # list configured providers (masked); * marks the active one
argus doctor # reports BYOK provider / hosted / heuristic-only mode
You pick the provider; ARGUS picks a sensible balanced model for each internal call (a cheap model for the frequent per-node checks, a stronger one for root-cause reasoning). Per-provider resolution order: env var (OPENAI_API_KEY / ANTHROPIC_API_KEY / GEMINI_API_KEY) → saved key → (hosted proxy, only with ARGUS_HOSTED_LLM=1: the prompts carry your pipeline's real values and pass through ARGUS servers) → heuristic-only.
No key? ARGUS still works — it falls back to heuristic-only detection, no crashes.
Hosted cloud sync is opt-in. argus login alone uploads nothing; full runs (every node input and output) go up only with ARGUS_CLOUD_SYNC=1. To keep a field out of the run file entirely, ArgusRecorder(redact_keys={"ssn", "api_key"}).
Telemetry is on by default and sends the shape of each run, never its data. Read Telemetry: shapes, never values before you run Argus on real data.
[!IMPORTANT] Argus never sends your data. After each run it sends one anonymous shape card: what kind of thing each node returned, never what it returned. No prompt, model output, state value, tool input or output, exception message, node name, field name, tool name, API key, file path or email address leaves your machine through telemetry.
Why it exists: we use these cards to measure which rules catch real failures and which fire on healthy runs. Without them, we can't tell whether Argus is right.
Example. Your node returns:
{"customer": {"email": "ana@acme.com"}, "refund_status": "scheduled"}
The card carries only this:
{"t": "object", "keys": {
"k_91c2…": {"t": "object", "keys": {"k_4be0…": {"t": "string", "len": 12, "f": ["email_like"]}}},
"k_e11d…": {"t": "string", "len": 9, "f": ["done_word"]}}}
empty, multiline, json_like, url, email_like, numeric, done_word, pending_word, error_word, refusal, placeholder). The features are computed on your machine, and the text itself is never sent.int or float, and its value is never sent.true/false, because ok: false is the signal we're measuring.customer becomes k_91c2…. The hash uses a secret stored only on your machine (~/.argus/telemetry.json) that is never sent, so nobody who reads the card can check a guess such as "is this customer?".empty_output), which hashed node was blamed, node and edge counts, step timings, and the Argus, LangGraph and Python versions.How you can check this:
.argus/outbox/ before it's sent. argus telemetry show-last prints the last one exactly as it was sent.Turn it off. Any one of these works:
argus telemetry off # this machine
export ARGUS_TELEMETRY=0 # this shell / CI job
export DO_NOT_TRACK=1 # every tool that honours it
argus telemetry status shows whether telemetry is on and why. Cards are deleted after 12 months.
Telemetry is separate from cloud sync: full runs, with real values, are uploaded only if you set ARGUS_CLOUD_SYNC=1. Every field and the full list of what is never sent: docs/DATA.md.
from argus import ArgusRecorder
app = ArgusRecorder().attach(compiled_graph) # returns the app you invoke
result = app.invoke(initial_state) # run is persisted automatically
ARGUS records every node, grades the run, and saves it. No changes to your node functions, and no changes to the graph either.
What it keeps is the dict each node returned — its update, before LangGraph
merges it into shared state. That is the whole trick. A node that searches,
throws the result away and returns {} leaves a full-looking merged state
behind; only the update shows the silent no-op, and only then can blame land on
the node that caused it instead of whoever crashes three steps later.
invoke, ainvoke, stream, astream and batch all work. One attach()
serves many runs — each invoke, and each .batch() item, gets its own run
file and its own verdict.
ArgusRecorder (use this) |
ArgusWatcher (legacy) |
|
|---|---|---|
| How it captures | Listens to LangGraph callbacks | Patches compile() and rebinds invoke / stream / batch |
| Touches your graph | No | Yes |
| Contract for "who needs this field" | Declared — consumers= |
Read from successor type hints |
| Status | The path under active development | Still supported, not being extended |
ArgusWatcher keeps working and its docs below still apply to it. New code
should use ArgusRecorder.
A recording carries state, not code, so it cannot know that write three steps
later needs the audience field plan produced. Tell it:
app = ArgusRecorder(consumers={"audience": ["write"]}).attach(graph)
Now a field that is never written, written empty, or written and then
dropped fails on the node responsible — not on the node that happened to
notice. Without a declaration ARGUS still catches empty updates, tool failures,
crashes and degraded output; consumers= is what adds long-range field
contracts.
A key can be a dotted path into nested state:
consumers={"email.body": ["send_email"]}
A top-level declaration means the whole value, so {"email": {"subject": "Re: order", "body": ""}}
counts as a non-empty email — blanking a leaf is only caught if you declare the leaf.
Loops. Every visit of a reader is checked, not just the first. A field present on pass 1 and dropped before pass 2 fails on the node that dropped it. A field that only shows up by a later pass (filled in as the loop goes) is fine.
Two subgraphs with a node of the same name (two copies of one sub-agent, each
with a retrieve) are kept apart as a:retrieve / b:retrieve, the subgraph name
followed by the node name. Findings name them that way, and a consumer map must
too ({"docs": ["b:retrieve"]}). Names that appear only once stay bare.
On a healthy run, argus consumers lists every later node that was handed a
field and did not write it. Delete the nodes that only saw the field in shared
state, then pass the file yourself. ARGUS does not load it, and does not fail
CI on the guess.
It only sees what that one run did. A reader on a branch the run did not take is not listed, so record one healthy run per branch and merge the files. Fields you passed in as the graph's input are not listed either. Add them by hand when a later node depends on them.
argus consumers last --write argus.consumers.json
import json
from pathlib import Path
consumers = json.loads(Path("argus.consumers.json").read_text())
app = ArgusRecorder(consumers=consumers).attach(compiled_graph)
Fields that are legitimately empty. A PR review's issues: [] is the LGTM; a clean
sanctions screen is hits: []. Declare them presence-only and absence alone fails:
consumers={"hits": {"readers": ["decide"], "allow_empty": True}}
That declaration also covers the tool responses of the node that writes the field, not just
its own update — the OFAC tool returns {"hits": []} on a clean customer, and grading that
critically failed every healthy KYC onboarding. A tool that raised, or a 4xx/5xx body, still
fails hard. Undeclared empty retrieval lists keep the RAG default: critical.
Fields read on some paths only. draft_reply reads order when the ticket
is a refund; on the FAQ path nothing writes it, and that is the design. Say so,
and a field that was never written is fine, while one that was written and then
dropped or blanked still fails:
consumers={"order": {"readers": ["draft_reply"], "required": False}}
Without that, "never written" blames the first step of the run, because a recording cannot say who was meant to write the field. That blame is a guess. When a node before the reader already failed, the guess lands on that node instead. With the run reviewer on, the guess only fails CI if the reviewer verified a problem on that step or on a node declared to read the field.
A final node is different: empty_output only fires when a node has a
successor waiting, so a last node that returns {} is exempt by design (a
terminal send_email legitimately returns nothing), and no later node reads its
field. A healthy baseline closes that gap: a node that stops
writing a key it writes on every healthy run fails.
Record what healthy runs write, per node, and pass it in. A later run that drops a key the node
always writes, changes a field's type, or writes N/A / unknown / -1 where healthy runs held
data then fails CI:
argus baseline <run-id> <run-id> --write argus.baseline.json # one healthy run per branch
baseline = json.loads(Path("argus.baseline.json").read_text())
app = ArgusRecorder(consumers=consumers, baseline=baseline).attach(compiled_graph)
Only what every given run agrees on is kept, so a key written on one branch is not required on
another. The file holds kinds (text, nonneg, object), never values. Without it those three
checks are off; everything else runs.
ARGUS files every tool call LangChain reports, and grades its payload as strictly as a node's
own update. Under langgraph 1.x, code running inside a node function can hold an empty
callback manager — so a tool the node invokes directly never fires on_tool_start, leaves
tool_calls empty, and a 404 body or a raised exception has nothing to be found in. File it
yourself:
from argus import report_tool_call
def fetch(state):
try:
hits = search_tool.invoke(state["query"])
except Exception as exc:
report_tool_call("search", input=state["query"], error=exc)
raise
report_tool_call("search", input=state["query"], output=hits)
return {"hits": hits}
It writes the call in the exact shape the callback path uses, onto the node step currently open,
so the graders cannot tell the two apart. The active recorder is resolved for you — pass
recorder= or config= to be explicit. It never raises into your code: a call that cannot be
placed logs one warning on the argus logger and returns False.
Async nodes on Python 3.9 / 3.10. Before 3.11, asyncio cannot hand LangChain's callback
context to a child task. A tool awaited inside async def node(state) therefore fires no
callback, and its errors are never graded. Pass the node's config on
(async def node(state, config) … await tool.ainvoke(args, config)), call
report_tool_call, or run 3.11+. attach logs a warning naming your async nodes when this
applies.
attach() keeps the compiled app's checkpointer, store, cache and interrupt settings. ARGUS
tracks each graph run by its own run_id; it does not key off your thread_id. Invoke and
resume exactly as you would without ARGUS:
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.