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

@workswithagents/wwa-cli

v0.2.1

Published

CLI to make your agent framework WWA-compatible — one command

Readme

wwa-cli

One command to make your agent framework WWA-compatible.

npm version License: MIT

wwa-cli generates WWA-compatible adapter code for popular agent frameworks: LangGraph, OpenAI Agents SDK, AutoGen, and CrewAI. It auto-detects your project's language (Python or TypeScript) and framework, then generates the integration layer so your agents can participate in the WWA interoperability network.

Install

npm install -g @workswithagents/wwa-cli

# or run directly without installing:
npx @workswithagents/wwa-cli init

Requires Node.js ≥ 18.

Quick Start

# In any supported agent project directory:
cd my-langgraph-agent
wwa init

That's it. wwa init will:

  1. Detect your framework (LangGraph, OpenAI, AutoGen, CrewAI) and language (Python/TypeScript)
  2. Generate a WWA adapter file with IACP message handler
  3. Generate a manifest.yaml with capability declarations
  4. Run a compliance check and show your WWA compatibility score

Commands

| Command | Description | |---------|-------------| | wwa init | Detect framework + language, generate WWA adapter files | | wwa gen <component> | Generate a specific adapter component (handoff, manifest, identity) | | wwa check [path] | Validate an existing project for WWA compliance | | wwa setup <provider> | Infra setup (Phase 2 — placeholder) |

wwa init options

wwa init [options]

Options:
  --project-dir <path>   Path to project directory (default: ".")
  --framework <name>     Framework override: langgraph, openai, autogen, crewai
  --agent-id <id>        Agent identifier for WWA registration
  --endpoint <host:port> IACP endpoint address (default: "0.0.0.0:8787")
  --no-register          Disable auto-registration with WWA registry
  --register-url <url>   Override registry URL
  --no-check             Skip compliance check after generation

wwa check options

wwa check [project-path] [options]

Options:
  --json                 Output as JSON

Supported Frameworks

| Framework | Python | TypeScript | Adapter File | |-----------|--------|------------|--------------| | LangGraph | ✅ | ✅ (via @langchain/langgraph) | wwa_handoff.py / wwa_handoff.ts | | OpenAI Agents SDK | ✅ | ✅ | wwa_handoff.py / wwa_handoff.ts | | AutoGen | ✅ | ❌ (Python-only) | wwa_agent.py | | CrewAI | ✅ | ❌ (Python-only) | wwa_crew_adapter.py |

How It Works

Architecture

wwa-cli/                     # Node.js CLI
├── src/
│   ├── cli.ts               # Commander CLI entry point
│   ├── commands/            # init, gen, check command handlers
│   ├── generators/          # Framework-specific adapters
│   │   ├── langgraph.ts     # LangGraph → WWA (Python + TS)
│   │   ├── openai_agents.ts # OpenAI Agents SDK → WWA
│   │   ├── autogen.ts       # AutoGen → WWA (Python only)
│   │   └── crewai.ts        # CrewAI → WWA (Python only)
│   ├── detectors/           # Language + framework detection
│   └── validators/          # WWA compliance checker
└── templates/               # Jinja2-style templates

Registration

By default, generated adapters auto-register with the WWA registry (https://registry.workswithagents.dev) on startup and deregister on shutdown. Control this behavior:

# Disable registration entirely
wwa init --no-register

# Override registry URL
wwa init --register-url https://my-registry.example.com

# At runtime, set env var to disable (even if compiled-in)
WWA_REGISTRY_URL="" python wwa_handoff.py

Generated Files

| File | Purpose | |------|---------| | wwa_handoff.py / .ts | HTTP server with POST /iacp/message endpoint. Handles IACP messages and routes to your framework. | | wwa_agent.py | AutoGen ConversableAgent subclass that speaks IACP. | | wwa_crew_adapter.py | CrewAI adapter wrapping Crew.kickoff() in an IACP listener. | | manifest.yaml | Capability manifest declaring your agent's capabilities, endpoint, and registered intents. |

Compliance Scoring

wwa check validates 5 spec requirements and scores your project 0–10:

  • 0–3: Minimal — consider wwa init
  • 4–6: Partial — missing handoff/discovery
  • 7–9: Good — near WWA-compatible
  • 10: Full — WWA-compatible

Checks performed:

  1. ✅ Capability Manifest (manifest.yaml)
  2. ✅ Identity Protocol
  3. ✅ IACP Endpoint (POST /iacp/message)
  4. ✅ Handoff Protocol handler
  5. ⬜ Deployment Manifest (Dockerfile, docker-compose, etc.)

Development

# Install dependencies
npm install

# Build
npm run build

# Run tests
npm test

# Development mode (watch)
npm run dev

Roadmap

Phase 1 (current)

  • [x] CLI scaffold with Commander
  • [x] Framework + language detection
  • [x] LangGraph adapter (Python + TypeScript)
  • [x] OpenAI Agents SDK adapter (Python + TypeScript)
  • [x] AutoGen adapter (Python)
  • [x] CrewAI adapter (Python)
  • [x] wwa check compliance validator
  • [x] Auto-registration with WWA registry

Phase 2 (planned)

  • [ ] Infra setup scripts (wwa setup hetzner|aws|local)
  • [ ] wwa gen handoff|manifest|identity individual component generation
  • [ ] Support for additional frameworks (Microsoft Agent Framework, etc.)
  • [ ] Template customization (wwa init --template custom)
  • [ ] CI/CD integration (GitHub Actions for compliance checks)

License

MIT — See LICENSE file.


Works With Agents — Building the interoperable agent economy.