Metadata-Version: 2.4
Name: diplomat-agent-ts
Version: 0.1.0
Summary: Scan TypeScript AI agent code for unguarded tool calls — pip wrapper for diplomat-agent-ts
Project-URL: Homepage, https://github.com/Diplomat-ai/diplomat-agent-ts
Project-URL: Repository, https://github.com/Diplomat-ai/diplomat-agent-ts
Project-URL: Issues, https://github.com/Diplomat-ai/diplomat-agent-ts/issues
Project-URL: Changelog, https://github.com/Diplomat-ai/diplomat-agent-ts/blob/main/CHANGELOG.md
License: Apache-2.0
Keywords: agent,ai,governance,owasp,security,static-analysis,typescript
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# diplomat-agent-ts

> Scan TypeScript AI agent code for unguarded tool calls — pip wrapper for [`@diplomat-ai/diplomat-agent-ts`](https://github.com/Diplomat-ai/diplomat-agent-ts).

Requires Node.js >= 20 on PATH. The scanner runs via Node; this package is a zero-dependency Python shim.

## Install

```bash
pip install diplomat-agent-ts
```

## Usage

```bash
diplomat-agent-ts scan ./src
diplomat-agent-ts scan ./src --output-registry toolcalls.yaml
diplomat-agent-ts scan ./src --fail-on-unchecked   # for CI
diplomat-agent-ts scan ./src --format json
```

## Programmatic use

```python
from diplomat_agent_ts import run
run(["scan", "./src", "--format", "json"])
```

## Requirements

- Python >= 3.9
- Node.js >= 20 (install via [nodejs.org](https://nodejs.org) or [nvm](https://github.com/nvm-sh/nvm))

## Links

- [Full documentation and TypeScript-native install](https://github.com/Diplomat-ai/diplomat-agent-ts)
- [OWASP Agentic Top 10](https://owasp.org/www-project-top-10-for-large-language-model-applications/)
