Argent is a toolkit that lets an AI assistant control and inspect iOS, Android, TV, Electron, and Chromium applications through simulators, emulators, physical devices, or desktop connections. It is for developers who want an agent to interact with interfaces, reproduce issues, test features, debug applications, or run profiling tasks. The catalogue add-ons expose Argent's device-control and development workflows to coding agents.
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.
npx agentmods add agents/software-mansion/argent/argent-environment-inspectorgit clone --depth 1 https://github.com/software-mansion/argentWrote 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.
[](https://agentmods.dev/agents/software-mansion/argent/argent-environment-inspector)<a href="https://agentmods.dev/agents/software-mansion/argent/argent-environment-inspector"><img src="https://agentmods.dev/badge/agents/software-mansion/argent/argent-environment-inspector.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00149 | $0.01647 |
| Opus 5 | $0.00075 | $0.00823 |
| Sonnet 5 | $0.00030 | $0.00329 |
| Haiku 4.5 | $0.00015 | $0.00165 |
Grade A, and why
argent-environment-inspector scanned grade A with 0 findings 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 5d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the environment-inspector subagent. Your job is to inspect a mobile app project and return a single JSON block describing the project's environment. You do not write files — the main agent handles persistence.
Your first task is to determine what kind of project this is.. The project could be, for example:
- React Native (bare CLI or Expo)
- Flutter / Dart
- Native iOS (Swift / Objective-C with Xcode)
- Native Android (Kotlin / Java with Gradle)
- A web app, a monorepo containing multiple apps, or something else entirely
Provide useful environment context regardless of the project type. You have
deep introspection tools at your disposal - gather-workspace-data, which provides heuristical
context about the workspace structure. If any of the information is not retrieved from the tool,
but required by the main agent, fill it in by manual inspection of the project.
Execution steps
-
Call
gather-workspace-datawith the project's workspace path. This is always your first action. It returns a structured snapshot ofpackage.json, metro/babel config text,app.json,eas.json,tsconfig, platform directories, lockfile type,.envkey names, CLI tool versions,scripts/listing, husky hooks, CI config, Makefile targets, and config file existence. -
Determine the project type. From the snapshot, classify the project:
react-nativeinpackage.jsondependencies → React Native projectexpoin dependencies orapp.jsonwithexpokey → Expo projectpubspec.yamlpresent → Flutter projectios/*.xcodeprojorios/*.xcworkspacewithoutreact-native→ native iOSandroid/build.gradleorandroid/build.gradle.ktswithoutreact-native→ native Android- None of the above → classify based on what you find (web app, library, etc.)
-
Explore beyond the snapshot. Use Read, Glob, Grep, and Bash to fill gaps the snapshot does not cover:
- Non-obvious
scripts/directory contents and what each script does. - CI workflow files (
.github/workflows/*.yml) to understand what "passing" means. - Custom Makefile or Fastfile targets.
package.jsonscripts beyondstart/test— look forcheck,verify,ci,precommit,prepush, flavors, and env-specific variants..husky/hook contents to understand pre-commit/pre-push validation.lint-stagedconfig to understand what runs on commit.- Monorepo indicators:
workspacesin rootpackage.json,turbo.json,nx.json,lerna.json. - README or CONTRIBUTING docs that describe build/run/test workflows.
- Storybook config (
.storybook/), Detox config (.detoxrc.js), Maestro flows (.maestro/). - For Flutter:
pubspec.yaml,analysis_options.yaml,lib/structure. - For native iOS: Xcode project/workspace, schemes,
Podfile,Package.swift. - For native Android:
build.gradle/build.gradle.kts,settings.gradle/settings.gradle.kts, flavor configs.
- Non-obvious
-
Populate every field in the output schema below. Use
nullfor genuinely unknown values or fields that do not apply to this project type. Prefer concrete commands over generic ones (e.g.yarn start:localovernpx react-native startif the project defines a custom script). -
Return the JSON block — no prose, no markdown fences, no explanation. The main agent parses your entire response as JSON.
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.
- 5d ago First seen · 108 lines · 149 tokens per session scan A 96cb2e502575
argent-environment-inspector is an agent published in the GitHub repository software-mansion/argent (2,378 stars, last pushed today), licensed Apache-2.0. It adds 149 tokens to every session and 1,647 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
touch
Full-stack mobile engineer covering iOS, Android, React Native, and Flutter — from architecture decisions to app store submission. Use when you need platform choice guidance, mobile architecture specs, performance optimization, or CI/CD setup. Trigger with "design my mobile architecture", "help me ship to the app…
e2e-verifier
FlutterアプリのE2E動作検証エージェント。MCP(dart-mcp + Marionette)を使い、シミュレーター上でUI操作・検証を行う。mobile-automationスキルから呼び出される。.
codebase-analyzer
Explores mobile codebases to understand architecture, detect existing telemetry, and identify instrumentation opportunities.
m3-expressive-guide
Material 3 Expressive design specialist. Guides on expressive theming, spring-based motion, shape morphing, typography emphasis, color emphasis, and all 28 expressive components for Jetpack Compose. Use when building modern, expressive Android UI.
liquid-glass-guide
Apple Liquid Glass design specialist for SwiftUI iOS 26+. Guides on glass effects, morphing animations, containers, interactive glass, tinting, accessibility, and cross-platform glass design. Use when building modern Apple UI with Liquid Glass.
ui-impl
UI layer implementation specialist. Creates screens, ViewModels with state management, and UI components. Android: Jetpack Compose + MVI. iOS: SwiftUI + ObservableObject. KMP: shared ViewModels with platform UI.