New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

agentui-wc

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agentui-wc

AI-First Web Components Framework - 50 Material Design 3 components optimized for AI agents

latest
Source
npmnpm
Version
0.1.151
Version published
Weekly downloads
151
-2.58%
Maintainers
1
Weekly downloads
 
Created
Source

AgentUI

AgentUI

57 production-ready web components. Zero dependencies. One script tag.

Live Demo

CI npm version License Zero Dependencies Bundle Size MD3 Lighthouse

W3C Web Components XSS Safe CSP Compatible No eval() 2436 Tests

<au-card variant="elevated">
  <h2>Hello AgentUI!</h2>
  <au-button variant="filled">Get Started</au-button>
</au-card>

Standard HTML. No framework. No build step.

What's Included

57 components covering everything you need:

CategoryComponents
Layoutau-stack, au-grid, au-container, au-layout, au-page, au-navbar, au-sidebar, au-drawer, au-drawer-item, au-bottom-nav, au-divider
Formau-button, au-input, au-textarea, au-form, au-dropdown, au-checkbox, au-switch, au-radio, au-chip, au-prompt-input
Displayau-card, au-tabs, au-alert, au-badge, au-callout, au-progress, au-table, au-datatable, au-avatar, au-skeleton, au-code, au-message-bubble
Feedbackau-spinner, au-modal, au-confirm, au-toast, au-tooltip, au-error-boundary, au-splash
Structuralau-if, au-show, au-repeat, au-lazy, au-virtual-list, au-fetch, au-router, au-portal, au-intersection, au-media, au-transition, au-timer
Utilityau-icon, au-theme-toggle, au-schema-form
Dev Toolsau-api-table, au-doc-page, au-example

⚡ Performance by Default

No Virtual DOM. No runtime framework overhead. Just native Custom Elements.

  • 61KB total — All 57 components, JS + CSS, gzipped. Smaller than most frameworks' "hello world".
  • Lighthouse 100/100/100/100Verify it yourself →
  • DOM Speed — 500 instantiations <8ms, 500 updates <3ms.
  • Zero Config — One <script> tag. No bundler, no build step, no npm required.

🔒 Secure by Default

Security isn't an add-on — it's baked into every component from day one.

  • XSS-safe html template — All interpolated values are auto-escaped. Details →
  • CSP-compatible — No eval(), no Function(), no document.write.
  • Zero dependencies — Nothing in node_modules. No supply chain risk.

🏛️ Built on Standards

Built on W3C Web Components — native browser APIs with zero abstraction tax.

  • W3C Custom Elements — Not a framework. Not a compiler. Native browser APIs.
  • Light DOM — No Shadow DOM. Full querySelector access. Agents can inspect and modify any element directly.
  • Zero build step — Works with a <script> tag. No bundler required.

Design Choices

DecisionAgentUI ApproachTrade-off
BundleAll 57 components in 61KB gzippedNo tree-shaking — you load everything
XSSAuto-escape html tagged templateCustom template syntax, not JSX
DependenciesZeroNo ecosystem — you build what you need
DOMLight DOM (no Shadow DOM)Full access, but no style encapsulation
StandardW3C Web ComponentsNewer ecosystem, smaller community

Try It — Zero Setup

<!DOCTYPE html>
<html lang="en">
<head>
    <link rel="stylesheet" href="https://unpkg.com/agentui-wc@latest/dist/agentui.css">
</head>
<body>
    <au-card variant="elevated">
        <h2>Hello AgentUI! 👋</h2>
        <au-button variant="filled">Get Started</au-button>
    </au-card>
    <script type="module" src="https://unpkg.com/agentui-wc@latest/dist/agentui.esm.js"></script>
</body>
</html>

💡 For Lighthouse 100 scores, use the optimized template in llms.txt (non-blocking CSS, font preload, async JS).

No npm. No config. No build step. Just HTML.

Engineering

MetricValue
Tests2436 (unit + E2E), 0 failures, 141 isolated test files
SecurityXSS-audited, CSP-compatible, no eval(), full policy →
MemoryManaged listeners (AbortController), zero leaks verified
DOM Speed500 instantiations <8ms, 500 updates <3ms
StabilityW3C Web Components — no framework version churn

📚 Resources

ResourceDescription
🤖 Agent GuideFramework concepts and component discovery
🧩 Skill GuideBuild recipes, templates, and patterns
🛠️ Dev GuideExtending framework with new components
📋 llms.txtQuick reference for LLMs/agents
💡 PhilosophyThe deeper "why" behind the design
🔒 SecuritySecurity policy
📈 RoadmapPlanned features and next steps

Contributing

Contributions of all kinds are welcome — bug reports, feature ideas, documentation improvements, and code.

See CONTRIBUTING.md to get started, or open a discussion if you want to talk first.

Status

AgentUI is an experimental library (v0.1.x) — 57 components, 2436 tests, built by a single developer. Functional and tested, but still a work in progress.

Feedback, criticism, and stress-testing are welcome — open a discussion.

Apache-2.0 © 2026 Giuseppe Scotto Lavina
Built for a world where humans and AI agents code together.

Keywords

ai-agents

FAQs

Package last updated on 17 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts