@zack/sentiment-analysis

Sentiment analysis using VADER.

ToolSignedStandardLegacy · undeclaredNo license declaredpython 3.11
Z
@zack
Publication time unavailable37 installs · all versions

Get started

Install, run, or load this Tool.

Run directly with the CLI or call from an SDK

01Install

Resolve this exact Tool version and its prepared dependencies.

agentpm install @zack/sentiment-analysis@0.1.5

02Run Tool

Send JSON to its declared input contract and receive JSON output.

agentpm run @zack/sentiment-analysis@0.1.5 --input '{"text":"The text to be analyzed for sentiment"}'

Schema-derived starter input. Replace sample values with your own before running.

ORLoad via SDK

Call the installed Tool through an SDK.

import { load } from '@agentpm/sdk';
const t = await load('@zack/sentiment-analysis@0.1.5');
CLI version & updates

CLI 0.1.36+ reads and preserves standard declarations. New publications require an explicit supported standard; use the latest CLI for current authoring checks. Historical releases remain installable as published. This floor does not establish selected-release installation support or Harness readiness.

Check agentpm --version, then follow the CLI installation and update guide. See the publication compatibility requirements.

sentiment-analysis

What it does

Simple sentiment analysis over text (e.g., rule-based / lexicon) using VADER.

AgentPM manifest

See agent.json in this folder. It declares:

  • "kind": "tool", "runtime": { "type": "python", "version": "3.11" }
  • "entrypoint": { "command": "python", "args": ["-u", "sentiment_analysis/__main__.py"] }
  • JSON Schema for inputs and outputs

Quirks

Entrypoint reads JSON from stdin and prints a single JSON object to stdout.

Setup & run

# install deps (uv)
uv sync --directory tools-python/sentiment-analysis

# run
uv run --directory tools-python/sentiment-analysis \
python -m sentiment_analysis <<'JSON'
{"text":"Alan Turing is one of history's most influential computer scientists"}
JSON

Vendor Dependencies before publishing

uv pip install --target tools-python/sentiment-analysis/sentiment_analysis/_vendor "vaderSentiment>=3.3.2"
@zack/sentiment-analysis v0.1.5 · AgentPM™