Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

agentinputlab

Latest version: v0.1.0a18

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: chuang1998
0 Stars
0 Forks
18 Versions
1.7K Downloads
Python Repo language

Scan summary

agentinputlab was last scanned on 23 Nov 2026 at version 0.1.0a18. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 18 versions; the latest 4 were published on 23 Nov 2026.
  • Findings: No rules fired in version 0.1.0a18.
  • Downloads: 1,726 downloads.

Versions

18 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0a18 LATEST 23 Nov 2026 No rules fired
0.1.0a17 23 Nov 2026 No rules fired
0.1.0a16 23 Nov 2026 No rules fired
0.1.0a15 23 Nov 2026 Not shown
0.1.0a14 13 Nov 2026 Not shown

No rules fired in 0.1.0a18

Findings

Findings for v0.1.0a18. 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 score describes 0.1.0a18; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

AgentInputLab

English · 简体中文

Step-by-step tutorial · 中文教程 · Configuration reference · Troubleshooting

A Python toolkit and typed JavaScript client for composing and evaluating input interventions for LLM agents.

This public repository contains reusable library code, worker adapters, synthetic tests and documentation. It contains no paper results, experiment logs, datasets, trained weights or private execution configuration.

Website · PyPI · Source

Install

Start with one of these routes:

Goal Entry point What you get
Try an intervention without a model config init, then config run A transformed input; no generated answer or benchmark score
Rewrite, retrieve and answer with your API API tutorial Two real model calls and a small BM25 retrieval
Run a dataset and obtain native scores Native evaluation tutorial Per-case predictions, scores, usage and retained failures
Edit and run through a browser Studio A local UI over the same configuration/workflow APIs

Methods have explicit release profiles: some are immediately runnable, while trained or native profiles need their declared weights, sources or runtime. Use show RELEASE --parameters and workflow inspect to check those inputs before execution. An API key alone does not supply a trained retriever or a benchmark environment. The acceptance guide distinguishes interface checks, replay and live execution.

The commands below work without GitHub access. All Markdown guides are bundled in the installed package, including a real HTTP backend example and troubleshooting.

Python 3.10+; optional model dependencies have their own Python/platform constraints.

python -m pip install agentinputlab==0.1.0a18
python -m agentinputlab --version
python -m agentinputlab doctor --offline --json
python -m agentinputlab smoke --json
python -m agentinputlab docs getting-started
python -m agentinputlab docs configuration
python -m agentinputlab docs acceptance-coverage

Use agentinputlab docs --list and agentinputlab docs TOPIC to read the guides locally, with no repository account, source extraction or optional dependencies.

To obtain the public source and included documentation from PyPI:

python -m pip download --no-deps --no-binary=agentinputlab agentinputlab==0.1.0a18
tar -xzf agentinputlab-0.1.0a18.tar.gz
cd agentinputlab-0.1.0a18
python -m pip install .

Alternatively, use the public Git checkout:

git clone https://github.com/Data-Designer/AgentInputLab-toolkit.git
cd AgentInputLab-toolkit
python -m pip install .
agentinputlab doctor --offline
agentinputlab smoke --json

The Python distribution is an initial alpha. The JavaScript SDK remains source-only while npm publication is deferred. To build local Python and SDK artifacts:

python -m pip install build
python -m build
python -m pip install dist/agentinputlab-0.1.0a18-py3-none-any.whl
cd packages/sdk
npm ci
npm test
npm pack
# From a JavaScript application:
npm install /absolute/path/to/agentinputlab-sdk-0.1.0-alpha.2.tgz

Python: apply a real intervention

Discover before running (0.1.0a3+)
agentinputlab list --releases --search query2doc
agentinputlab show plan.plan_and_solve.ps_prompt --parameters
agentinputlab datasets list --search beir
agentinputlab datasets show beir.arguana

These commands inspect metadata and constructor parameters without running an algorithm or downloading data. Dataset details include source sizes and native runtime prerequisites. Start with the first-run guide and dataset walkthrough.

Edit a run configuration (0.1.0a6+)
agentinputlab config init > run.json
# Edit run.json: budget, seed and the selected method's parameters.
agentinputlab config validate run.json
agentinputlab config run run.json --query "Find a suitable flight"

The starter is a prompt-only Plan-and-Solve intervention, not a model answer. RunConfig.from_file("run.json").run(...) provides the same interface in Python. The configuration guide explains model endpoints, temperature, per-call output caps, cumulative budgets, BM25 and custom/dense retrievers. Parameter inspection includes nested configuration fields. Unknown fields and conflicting generation overrides are rejected instead of ignored.

Prepare, execute and score together (0.1.0a12)

Version 0.1.0a12 adds a unified workflow entrypoint over the existing native executors:

agentinputlab workflow init --run-config run.json --benchmark bfcl.v3.simple_python --limit 1 > workflow.json
agentinputlab workflow inspect workflow.json
agentinputlab workflow launch workflow.json --execute --allow-network --output-dir workflow-run

Missing inputs, incompatible budgets and unavailable resources are reported before generation. Preparation acquires bounded pinned assets and uses owned environments. Completed attempts, including real failures, are not retried by --resume. Exact profiles that require a native Python runtime or explicit training configuration are identified by workflow recipes; they are not silently replaced with file-configured variants.

The installed package includes an editable Studio workflow builder: start agentinputlab-studio --workflow-root ./studio-workflows and open /workflows. It generates/imports/exports workflow.json and run.json, checks prerequisites, executes the native pipeline and resumes saved runs. Studio runs locally; the public website does not receive credentials or execute models.

Apply a prompt intervention
from agentinputlab import FrozenAgentState, InterventionContext
from agentinputlab.api import create_intervention, run_intervention

method = create_intervention("plan.plan_and_solve.ps_prompt")
result = run_intervention(method, FrozenAgentState(query="Find a suitable flight"),
                          InterventionContext(seed=17))
print(result["state"]["instruction"])

This executes the Plan-and-Solve prompt intervention. It is not an LLM response or a scored benchmark result. For model-driven methods, supply an explicit backend, retriever or external worker in InterventionContext; constructors retain their documented method-specific parameters. See real execution.

from agentinputlab.api import catalog
from agentinputlab.registry import AlgorithmRegistry

print(catalog()["benchmarks"])
registry = AlgorithmRegistry.default()
for method, profile in registry.list_releases():
    print(method.method_id, profile.id, profile.status.value, profile.blocking_reasons)

The catalog exposes 27 method identities and 31 benchmark entries, including ToolTalk and datasets outside the paper's reporting subset. Choose a release profile and provision its declared code, checkpoints, environment and native scorer. Profile registration and real execution are separate compatibility dimensions; see validation and profile prerequisites. Composite agents retain their native interfaces.

For Rewrite-Retrieve-Read (RRR), start with rewrite.rrr.common_support_prompt: the controlled prompt adapter uses your configured backbone and retriever for the rewrite → retrieve → reader chain. Author warm-up/PPO checkpoints are separate, optional external profiles.

For offline optimization, see Q-RAG value-policy training and R²AG reader-aligned training and generation. These recipes save fitted artifact identities and separate training costs from subsequent inference.

JavaScript / TypeScript

The SDK connects to the same Python execution core; it does not reimplement algorithms. In Python, configure a server with explicit profile factories and dependency contexts. The CLI exposes only NO_OP and Plan-and-Solve by default:

# Set a newly generated local token of at least 24 characters in your shell.
export AGENTINPUTLAB_API_TOKEN="$(python -c 'import secrets; print(secrets.token_urlsafe(32))')"
agentinputlab-serve --port 8765
import { AgentInputLab } from '@agentinputlab/sdk';
const client = new AgentInputLab({ token: process.env.AGENTINPUTLAB_API_TOKEN! });
const inventory = await client.catalog();
const result = await client.intervene({
  release_id: 'plan.plan_and_solve.ps_prompt',
  state: { query: 'Find a suitable flight', budget: { max_model_calls: 8, max_output_tokens: 4096 } },
  seed: 17,
});
console.log(result.state);

The bundled HTTP server is authenticated and loopback-only. It is a development bridge, not a public multi-tenant hosting service. Browser CORS is intentionally disabled. Do not expose its token in browser bundles. See API contract.

Tests versus real measurements

From the unpacked PyPI source distribution, run the dependency-free consumer contract audit against the installed package (not against a source-path override):

python tools/check_consumer_contracts.py

It checks every profile's discovery interface, every dataset's setup metadata, the five command-line entrypoints, Python prompt execution, authenticated HTTP transport and malformed requests. It reports missing runtime prerequisites separately; it does not download data, call models or certify task accuracy. See feature guarantees and their checks.

The full development test suite below is for a Git checkout; tests/ is not included in the Python sdist. The sdist does include packages/sdk with its TypeScript source and protocol tests, so the SDK build instructions above work without access to the private repository.

python -m pip install '.[dev]'
pytest
python tools/check_distribution.py dist/*.whl dist/*.tar.gz
python tools/compatibility_inventory.py --output /tmp/agentinputlab-compatibility.json

Offline tests exercise algorithm behavior with explicit synthetic fixtures, transport, budgets, typed failures and worker contracts. The compatibility inventory checks every registered method, benchmark and requested backbone identity; it does not run models and labels untested cells as untested. Model names are user-configured, not hardcoded as a supported-model allowlist.

Real acceptance requires licensed data, pinned assets, an actual serving endpoint and the benchmark's native scorer. A patch, a synthetic fixture, a mock HTTP reply or an imported adapter is never an official score. See the staged validation policy.

The catalog is not an all-combinations support guarantee. Real acceptance was run within a declared, owner-approved scope; paused, training-dependent, environment-blocked and failed configurations remain distinct. See coverage boundaries before choosing a profile.

Credits

AgentInputLab toolkit: Chuang Zhao. The preferred research citation and upstream copyright/license notices are separate from software authorship.

License

MIT for this repository's code. External dependencies retain their own licenses; consult THIRD_PARTY_NOTICES.md before downloading or distributing them. Registry publication follows the acceptance and ownership checks.

OX Radar and Response Center

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.

Where it’s listed

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).

  • pypi-releases agentinputlab

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229