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/gde-tad

v0.2.0

Published

TAD (Trámites a Distancia) + GDE (Gestión Documental Electrónica) as drop-in tools for the Vercel AI SDK. Notification ingestion via Domicilio Electrónico, trámite tracking, IGJ inscription pre-flight. The 4th pieza for sociedades-IA — RFC-001 § 3.4.

Downloads

70

Readme

@ar-agents/gde-tad

npm version License: MIT SLSA

TAD (Trámites a Distancia) + GDE (Gestión Documental Electrónica) primitives for the Vercel AI SDK. The 4th pieza for sociedades-IA — RFC-001 § 3.4.

What this is

Trámites a Distancia is the AR national portal where citizens and businesses file federal-government forms — IGJ inscriptions, AFIP padron updates, ministry-level authorizations, etc.

GDE (Gestión Documental Electrónica) is the back-office system that holds the resulting expediente. From an agent's POV the relevant surfaces are:

  • Domicilio Electrónico Constituido (DEC) — every legally-registered AR business has a DEC. Notifications from any federal organism (ARCA, IGJ, AFIP, Aduana, Trabajo, ANSES) are delivered here.
  • Mis Trámites — read-only listing of all expedientes the authenticated identity is a party to.
  • Pre-flight schemas — local validation of IGJ inscription payloads, catching the ~30% of rejections that are mechanical.

What this is NOT (yet)

Write-side operations (filing trámites programmatically) are intentionally NOT exposed yet. The legal liability surface is too large until RFC-001 § 3.4 lands. This package is the moat: nobody else has even shipped this much.

Install

pnpm add @ar-agents/gde-tad

Quick start

import { Experimental_Agent as Agent } from "ai";
import { gdeTadTools } from "@ar-agents/gde-tad";

const agent = new Agent({
  model: "anthropic/claude-sonnet-4.5",
  tools: { ...gdeTadTools() },
});

await agent.generate({
  prompt:
    "Validá esta inscripción IGJ antes de mandarla: SAS llamada 'ACME-AI', " +
    "sede en Florida 100 CABA C1005AAA, capital 200000, objeto 'desarrollo " +
    "de software propio', un constituyente con CUIT 20-12345678-9 que aporta 200000.",
});

The validate_igj_inscription tool runs locally — no network, no auth. It catches:

  • Reserved words in the denominación (e.g., "Nacional", "Estatal")
  • Capital below the legal minimum for the chosen tipo societario
  • Aportes that don't sum to the capital social
  • Malformed CUITs
  • Missing sede fields
  • Genérico-style objetos that IGJ rejects

Reading the DEC inbox

When you have a TAD-issued cert + the appropriate per-organism contract:

import { gdeTadTools } from "@ar-agents/gde-tad";
import { MyDomicilioAdapter, MyTramitesAdapter } from "./my-adapters";

const tools = gdeTadTools({
  domicilio: new MyDomicilioAdapter({ cert, key }),
  tramites: new MyTramitesAdapter({ cert, key }),
});

await agent.generate({
  prompt: "Cuáles son las notificaciones críticas que necesito responder esta semana?",
});

Built-in computeSeverity heuristic flags:

  • critical — intimaciones, baja de inscripción, clausura, multa, sanción, audiencia, traslado
  • important — resoluciones, providencias, vencimientos próximos
  • info — acuse de recibo, notificaciones de cortesía, circulares

Testing

import { MockDomicilioAdapter, mockCriticalIntimacionArca } from "@ar-agents/gde-tad/testing";
import { gdeTadTools } from "@ar-agents/gde-tad";

const domicilio = new MockDomicilioAdapter().seedNotifications("20111111119", [
  mockCriticalIntimacionArca(),
]);

const tools = gdeTadTools({ domicilio });

RFC-001 reference

Full pieza-4 governance plan in RFC-001 § 3.4.

License

MIT © Nazareno Clemente