npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ar-agents/igj

v0.1.0

Published

Inspección General de Justicia (IGJ) open data as drop-in tools for the Vercel AI SDK. Search entities, fetch authorities/balances/asambleas via the public CKAN endpoint at datos.jus.gob.ar. Pluggable adapter — ships a LiveCkanFetcher (no auth, public end

Downloads

91

Readme

@ar-agents/igj

Inspección General de Justicia (IGJ) open data as drop-in tools for the Vercel AI SDK 6.

pnpm add @ar-agents/igj ai zod

Part of the Arg toolkit — open infrastructure for the Argentine AI agent jurisdiction.

Why this exists

When you ask "is ACME S.A. a real Argentine company? who runs it? when was it constituted?", the only authoritative source is IGJ — and there is no documented IGJ API. There is a sample dataset on datos.jus.gob.ar (CKAN) that covers a chunk of registered entities, plus their domicilios, balances filed, autoridades, and asambleas. This package wraps that dataset with a typed adapter contract.

The first AR agent infrastructure piece for sociedad-IA referencing: when an agent needs to verify a counterparty entity exists, this is the cheapest read-only check before falling back to TAD/portal flows.

Critical caveat: the IGJ dataset is a SAMPLE (muestreo). Coverage is incomplete and not real-time. Every result carries a coverageNote field — surface it. For authoritative verification, only the IGJ portal (no API) works.

Quick start

import { Experimental_Agent as Agent, stepCountIs } from "ai";
import { igjTools, LiveCkanFetcher } from "@ar-agents/igj";

const agent = new Agent({
  model: "anthropic/claude-sonnet-4-6",
  tools: igjTools({ fetcher: new LiveCkanFetcher() }),
  stopWhen: stepCountIs(8),
});

const { text } = await agent.generate({
  prompt: "Buscame entidades constituidas como SAS en 2025. Mostrame nombre y CUIT.",
});

Tool surface

| Tool | Purpose | | ------------------------ | ------------------------------------------------------------ | | igj_search_entities | Free-text + filter search over the entity dataset. | | igj_get_entity | Single entity by id. | | igj_get_domicilios | Domicilios (addresses) for an entity. | | igj_get_autoridades | Officers / directors of an entity. | | igj_get_balances | Balance filings filed at IGJ for an entity. | | igj_get_asambleas | Asambleas (general meetings) on record. |

All read-only. All return a coverageNote describing the dataset's sample/muestreo nature.

Direct API

import { LiveCkanFetcher, normalizeEntityType } from "@ar-agents/igj";

const fetcher = new LiveCkanFetcher();
const { results, coverageNote } = await fetcher.search({
  cuit: "30707500129",
});
console.log(coverageNote); // surface this to the user

License

MIT © Nazareno Clemente