New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

agentmap

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agentmap

Generate a YAML map of your codebase for AI agent context

latest
Source
npmnpm
Version
0.11.0
Version published
Weekly downloads
9
-75%
Maintainers
1
Weekly downloads
 
Created
Source

agentmap

TypeScript CLI and library for generating a compact YAML codebase map for coding agents.

Install

bun add agentmap

CLI

agentmap
agentmap . --output agentmap.yaml

If the repo root contains .agentmapignore, matching paths are excluded automatically. For example:

foldername
dist
generated/**

This keeps both CLI output and the OpenCode plugin context shorter without needing repeated --ignore flags.

Library

import { generateMapYaml } from 'agentmap'

const yaml = await generateMapYaml({ dir: process.cwd(), diff: true })

Keywords

ai

FAQs

Package last updated on 05 May 2026

Related posts