Scan your whole stack
Are you using api-operator?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.0.0
api-operator was last scanned on 23 Nov 2026 at version 1.0.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.0.0 LATEST | 23 Nov 2026 | No rules fired |
| 0.11.0 | 23 Nov 2026 | No rules fired |
Findings for v1.0.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 score describes 1.0.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Turn any OpenAPI / adapter.yaml into an AI agent that can reason and act on your APIs with policy, dry-run, audit, and quota hooks.
Retrieve (optional later) → Reason → Act — with permission, cost, and audit boundaries.
Works with Laravel, Go, or any REST API. First-class example: laravel-tenant-kit.
pip install api-operator==1.0.0
# optional OpenAI planner
pip install "api-operator[llm]==1.0.0"
Development:
git clone https://github.com/mohammedelkarsh/api-operator.git
cd api-operator
pip install -e ".[dev]"
api-operator demo
api-operator tools --adapter mock
api-operator chat --adapter mock --dry-run
Public API demo (no Laravel):
api-operator chat \
--adapter yaml \
--config examples/jsonplaceholder-adapter/adapter.yaml \
--dry-run
| In core | In your projects |
|---|---|
| Agent runtime (plan → policy → quota → execute) | adapter.yaml + optional policy.yaml |
Dry-run (--dry-run / dry_run=true) |
OpenAPI specs |
| AuditSink + redaction | API tokens in .env |
| QuotaGateway hooks | Host billing (e.g. tenant-kit meters) |
| Optional keyword knowledge (L0) | Doc paths / per-tenant FAQ |
mock + yaml adapters |
Optional custom adapters |
No hard dependency on Laravel, Postgres, or vector DBs. Knowledge is off until you enable it (docs/knowledge.md).
policy.yaml (allow / deny / confirm, session caps, roles)Docs: policy · dry-run · audit · quotas · roadmap
api-operator scaffold-adapter my-api --output examples
# writes adapter.yaml + policy.yaml + README
Write methods (POST/PATCH/PUT/DELETE) are marked dangerous. Tag-based abilities are suggested. A draft policy.yaml is written next to the adapter.
api-operator generate-from-openapi openapi.yaml \
--output adapter.yaml \
--base-url http://api.example.test \
--path-prefix /api
| Example | Purpose |
|---|---|
examples/tenant-kit-adapter/ |
Laravel Tenant Kit |
examples/jsonplaceholder-adapter/ |
Public REST demo |
export TENANT_KIT_API_TOKEN="your-sanctum-token"
api-operator chat \
--adapter yaml \
--config examples/tenant-kit-adapter/adapter.yaml \
--base-url http://laravel-tenant-kit.test
name: my_project
description: My API adapter
base_url: http://api.example.test
auth:
type: bearer
env_token: MY_PROJECT_API_TOKEN
tools:
- name: list_items
description: List items
method: GET
path: /api/items
requires_ability: items:read
- name: create_item
description: Create item
method: POST
path: /api/items
dangerous: true
requires_ability: items:write
parameters:
title:
type: string
required: true
body:
title: "{title}"
Optional sibling policy.yaml loads automatically when you pass that adapter path.
api-operator serve --port 8100
POST /v1/chat
{
"adapter": "yaml",
"config_path": "examples/tenant-kit-adapter/adapter.yaml",
"adapter_config": { "token": "YOUR_TOKEN" },
"message": "list workspaces",
"abilities": ["workspaces:read"],
"dry_run": false
}
pytest -q
Live Tenant Kit (optional):
python scripts/integration_tenant_kit.py
pytest -m integration -q
Copy .env.example → .env. Notable vars: API_OPERATOR_PLANNER, API_OPERATOR_POLICY_PATH, API_OPERATOR_AUDIT_PATH, API_OPERATOR_QUOTA_BUDGET, API_OPERATOR_DRY_RUN.
api-operator (Safe API Agent) your hosts
├── plan → policy → quota → act ├── adapter.yaml + policy.yaml
├── dry-run + audit hooks ├── OpenAPI
└── mock / yaml adapters └── Laravel / any REST API
MIT — see LICENSE.
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.