agentsmith automates the creation of AGENTS.md files by scanning your codebase, providing essential context for AI coding tools effortlessly. This open standard is already adopted by over 60,000 projects, making it a vital addition for any development team looking to enhance their AI integrations.
agentsmith simplifies the process of generating an AGENTS.md file from an existing codebase, eliminating the need for manual entry. By automatically scanning the project, agentsmith creates a comprehensive context file that AI coding tools can utilize immediately, streamlining integration and improving accuracy in code suggestions and implementations.
AGENTS.md serves as an open standard that helps AI coding assistants understand the context and structure of a project. This standard is utilized by over 60,000 projects and is compatible with tools such as:
AI tools can automatically locate and interpret AGENTS.md files without any configuration, enhancing their effectiveness.
Rather than crafting AGENTS.md files manually, agentsmith efficiently scans the codebase and generates the necessary documentation. Here’s a quick overview of what agentsmith can detect and document:
npx @jpoindexter/agent-smith
agentsmith
Scanning /Users/you/my-project...
✓ Found 279 components
✓ Found 5 components with CVA variants
✓ Found 37 color tokens
✓ Found 14 custom hooks
✓ Found 46 API routes
✓ Found 87 environment variables
✓ Detected Next.js (App Router)
✓ Detected shadcn/ui (26 Radix packages)
✓ Scanned 1572 files (11.0 MB, 365,599 lines)
✓ Generated AGENTS.md
~11K tokens (9% of 128K context)
agentsmith provides various modes for output customization to suit different needs:
# Default - comprehensive output (~11K tokens)
agentsmith
# Compact - fewer details (~20% smaller)
agentsmith --compact
Additionally, features such as the ability to preview output without writing (--dry-run), customizing the output file name, and more, allow for flexible configurations.
AGENTS.md saves time and reduces potential errors compared to manual documentation.For developers seeking to optimize their code integration with AI tools, agentsmith stands as a crucial asset that generates rich contextual documentation needed to foster intelligent interactions between AI systems and codebases, ensuring optimal usage of existing components and design tokens.
No comments yet.
Sign in to be the first to comment.