Socket
Book a DemoInstallSign in
Socket

@new-ui/agents

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@new-ui/agents

Generate AI agent policy files for web apps and sites.

npmnpm
Version
0.5.0
Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

New UI Agents

Generate AI agent policy files (ai-policy.json, agents.json, llms.txt) for web apps and sites.

  • Generate AI agent policy files with a single command.
  • Validate generated files against JSON schemas.
  • Customize output directory and file selection.
  • Integrate into your project's build or setup process.

Installation

Install the package locally in your project:

npm install @new-ui/agents --save-dev

Usage

Add a Script to package.json to easily generate policy files:

{
  "scripts": {
    "generate-policies": "agents init"
  }
}

Generate Policy Files

npm run generate-policies

Customize Output Directory

npm run generate-policies -- --dir public/ai-config

Generate Specific Files

npm run generate-policies -- --files ai-policy.json,llms.txt

Disable Validation

npm run generate-policies -- --no-validate

Keywords

ai-policy

FAQs

Package last updated on 27 Jan 2025

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