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

@dcp-ai/autogen

v2.0.0

Published

DCP-AI bridge for Microsoft AutoGen — digital citizenship for multi-agent conversations

Readme

DCP-AI ↔ Microsoft AutoGen Bridge

Enables Microsoft AutoGen agents to carry DCP digital citizenship, providing identity, audit trails, and post-quantum security for multi-agent conversations.

Supported DCP Specifications

DCP-01 through DCP-09.

Overview

This bridge integrates DCP-AI with Microsoft's AutoGen framework for multi-agent orchestration. It provides:

  • DCP-aware agent configs — extend AutoGen agent definitions with DCP identity, capabilities, and security tiers.
  • Message auditing — generate DCP audit entries for every message exchanged between AutoGen agents.
  • GroupChat sessions — bind all agents in a group chat to a shared DCP session nonce for correlated audit trails.
  • Function call intents — convert AutoGen function calls into DCP Intents for policy evaluation before execution.

Functions

| Function | Description | |---|---| | createDcpAutoGenAgent(config) | Create a DCP-aware AutoGen agent configuration | | auditAutoGenMessage(message, sender, recipient) | Generate a DCP audit entry for a message | | createDcpGroupChat(agents, config) | Create a DCP GroupChat with shared session nonce | | autoGenFunctionToIntent(functionCall, agentConfig) | Convert a function call to a DCP Intent | | delegateGroupChatRole(groupChat, agentConfig, authorityScope) | Delegate authority scope to an agent in a GroupChat (DCP-09) |

Usage

import {
  createDcpAutoGenAgent,
  auditAutoGenMessage,
  createDcpGroupChat,
  autoGenFunctionToIntent,
} from './index.js';

// Create DCP-aware agents
const coder = createDcpAutoGenAgent({
  name: 'Coder',
  system_message: 'You write code.',
  capabilities: ['code_generation', 'code_review'],
  security_tier: 'standard',
});

const reviewer = createDcpAutoGenAgent({
  name: 'Reviewer',
  system_message: 'You review code.',
  capabilities: ['code_review'],
  security_tier: 'elevated',
});

// Set up a group chat with shared session nonce
const chat = createDcpGroupChat([coder, reviewer], {
  security_tier: 'elevated',
  max_rounds: 20,
});

// Audit a message exchange
const auditEntry = auditAutoGenMessage(
  { role: 'assistant', content: 'Here is the code...' },
  coder,
  reviewer,
);

// Create an intent before executing a function
const intent = autoGenFunctionToIntent(
  { name: 'execute_code', arguments: { code: 'print("hello")' } },
  coder,
);

Security Tier Resolution

When two agents with different security tiers communicate, the audit entry uses the higher of the two tiers. This ensures that elevated-security agents always receive appropriately classified audit trails.

Notes

  • The content_hash field in audit entries is set to null by default; integrate with DCP's cryptographic layer to compute SHA-256 hashes of message content.
  • Session nonces are 256-bit random hex strings shared across all agents in a GroupChat.
  • This bridge is compatible with both AutoGen and Semantic Kernel agent patterns.