Agentseed – Generate Agents.md from a Codebase
FrameworkFreenpx agentseed initAGENTS.md (https://agents.md) is a standard file used by AI coding agents to understand a repo (stack, commands, conventions).Agentseed generates it directly from the codebase using static analysis. Optional LLM augmentation is supported by bringing your own API key.Extra
Capabilities10 decomposed
ast-based codebase structure extraction and analysis
Medium confidenceParses source code files using Abstract Syntax Tree (AST) analysis to extract structural information including function signatures, class definitions, module exports, and dependency relationships. The tool traverses the AST to build a semantic map of the codebase architecture rather than relying on regex or simple text parsing, enabling accurate identification of public APIs and internal structure.
Uses language-specific AST parsers to build semantic codebase maps rather than simple text scanning, enabling accurate extraction of public APIs and structural relationships that can be reliably consumed by AI agents
More accurate than regex-based code scanning because it understands actual code structure; more focused than full IDE indexing because it specifically targets agent-consumable API documentation
agents.md generation from codebase metadata
Medium confidenceTransforms extracted codebase structure (functions, classes, exports, signatures) into a machine-readable Markdown document formatted specifically for AI agent consumption. The generator creates a structured Agents.md file that lists available functions, their parameters, return types, and usage context in a format optimized for LLM context windows and function-calling patterns.
Generates Agents.md specifically formatted for AI agent consumption rather than human-readable documentation, with emphasis on function signatures, parameters, and return types in a format optimized for LLM context windows
More targeted than generic documentation generators because it focuses on agent-consumable API surface; more maintainable than manual Agents.md because it auto-updates from source code
multi-language codebase support with language-specific parsers
Medium confidenceProvides pluggable AST parser support for multiple programming languages, allowing the tool to analyze codebases written in JavaScript, TypeScript, Python, and potentially other languages. Each language uses its native or optimized parser (e.g., tree-sitter, Babel for JS/TS; ast module for Python) to ensure accurate structural extraction across heterogeneous codebases.
Abstracts language-specific parsing behind a unified interface, allowing single-pass analysis of heterogeneous codebases without separate tools per language
More flexible than language-specific documentation tools because it handles multiple languages in one pass; more maintainable than custom regex patterns because it uses native language parsers
incremental codebase change detection and agents.md updates
Medium confidenceMonitors codebase changes (file additions, deletions, modifications) and regenerates only affected sections of Agents.md rather than re-parsing the entire codebase. Uses file hashing or modification timestamps to detect changes, then re-parses only modified files and updates the corresponding entries in the generated documentation.
Implements incremental parsing and selective Agents.md updates rather than full regeneration, enabling fast CI/CD integration and real-time documentation sync during development
Faster than full re-parse on every change because it only processes modified files; more practical for CI/CD than manual documentation updates because it's automated and efficient
function signature and parameter extraction with type information
Medium confidenceExtracts detailed function signatures including parameter names, types, default values, and return types from parsed code. For typed languages (TypeScript, Python with type hints), captures full type information; for untyped languages, infers or documents parameter positions. Generates structured metadata that includes arity, parameter order, and type constraints.
Extracts and preserves type information from source code to generate agent-consumable function signatures that include parameter types and constraints, not just names
More precise than simple function name extraction because it includes type information; more reliable than runtime introspection because it works statically without executing code
dependency graph and import relationship mapping
Medium confidenceAnalyzes import statements and require() calls to build a dependency graph showing which modules depend on which others. Tracks both internal dependencies (within the codebase) and external dependencies (third-party libraries). Generates metadata about module relationships that helps agents understand code organization and potential side effects.
Builds a static dependency graph from import analysis rather than runtime introspection, enabling agents to understand code organization without executing code
More comprehensive than simple import listing because it shows relationships between modules; more reliable than runtime analysis because it doesn't require code execution
docstring and comment extraction and inclusion in documentation
Medium confidenceParses docstrings, JSDoc comments, and inline comments from source code and includes them in the generated Agents.md. Extracts structured documentation (parameter descriptions, return value docs, examples) from comment blocks and associates them with the corresponding functions. Handles multiple comment formats (JSDoc, Python docstrings, Markdown comments).
Automatically extracts and includes existing docstrings and comments in Agents.md rather than requiring separate documentation, keeping docs in sync with code comments
More maintainable than separate documentation because it sources from code comments; more complete than code-only extraction because it includes human-written context and examples
export and public api surface identification
Medium confidenceIdentifies which functions, classes, and variables are exported from modules (public API) versus internal/private. Analyzes export statements, visibility modifiers (private, protected, public), and naming conventions to determine what should be exposed to agents. Filters out internal implementation details and focuses on the public contract.
Filters codebase analysis to expose only public APIs rather than all functions, enabling agents to interact with stable contracts without seeing internal implementation
More focused than full codebase documentation because it excludes internal details; more maintainable than manual API lists because it's derived from actual export statements
agents.md format standardization and schema validation
Medium confidenceGenerates Agents.md in a standardized, machine-readable format with consistent structure for function listings, parameter documentation, and type information. Validates the generated Agents.md against a schema to ensure it's properly formatted and can be reliably parsed by AI agents. Supports multiple output formats (Markdown, JSON, YAML) for different agent consumption patterns.
Enforces a standardized Agents.md schema with validation to ensure consistent, machine-readable output that agents can reliably parse and consume
More reliable than ad-hoc documentation because it validates against a schema; more flexible than single-format output because it supports multiple export formats
cli tool with configuration file support
Medium confidenceProvides a command-line interface for running codebase analysis and Agents.md generation with support for configuration files (.agentseedrc, agentseed.config.js, etc.). Allows users to specify source directories, output paths, language support, filtering rules, and documentation options via CLI flags or config files. Integrates with standard development workflows and CI/CD pipelines.
Provides both CLI and configuration file support for flexible integration into development workflows, allowing both one-off runs and persistent configuration
More flexible than programmatic-only APIs because it supports CLI usage; more maintainable than hardcoded configurations because it uses external config files
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with Agentseed – Generate Agents.md from a Codebase, ranked by overlap. Discovered automatically through the match graph.
Ex-GitHub CEO launches a new developer platform for AI agents
Ex-GitHub CEO launches a new developer platform for AI agents
Portia AI
Open source framework for building agents that pre-express their planned actions, share their progress and can be interrupted by a human....
Augment Code (Nightly)
Augment Code is the AI coding platform for VS Code, built for large, complex codebases. Powered by an industry-leading context engine, our Coding Agent understands your entire codebase — architecture, dependencies, and legacy code.
docfork
Docfork - Up-to-date Docs for AI Agents.
L2MAC
Agent framework able to produce large complex codebases and entire books
boring
Automate planning, implementation, and verification of code across your projects. Ensure reliable outcomes with spec-driven workflows, rigorous checks, and iterative auto-fix. Work seamlessly inside Cursor, VS Code, and Claude Desktop with a consistent, privacy-first experience.
Best For
- ✓developers building AI agents that need to understand existing codebases
- ✓teams documenting complex projects with many interdependent modules
- ✓developers preparing codebases for LLM-based code analysis tools
- ✓developers integrating AI agents with existing codebases
- ✓teams using LLMs for code generation or analysis who need structured API documentation
- ✓projects where codebase changes frequently and documentation must auto-update
- ✓teams with polyglot architectures (e.g., Node.js + Python + Go)
- ✓organizations migrating between languages who need unified documentation
Known Limitations
- ⚠AST parsing accuracy depends on language support — may struggle with dynamic code patterns or metaprogramming
- ⚠Requires syntactically valid code — will fail on incomplete or malformed files
- ⚠Does not capture runtime behavior or side effects that aren't visible in static structure
- ⚠Agents.md format may not capture complex type hierarchies or generic constraints
- ⚠Does not include docstring content unless explicitly extracted — relies on code structure alone
- ⚠Generated documentation is only as good as the code's naming and organization
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
About
Show HN: Agentseed – Generate Agents.md from a Codebase
Categories
Alternatives to Agentseed – Generate Agents.md from a Codebase
Search the Supabase docs for up-to-date guidance and troubleshoot errors quickly. Manage organizations, projects, databases, and Edge Functions, including migrations, SQL, logs, advisors, keys, and type generation, in one flow. Create and manage development branches to iterate safely, confirm costs
Compare →Are you the builder of Agentseed – Generate Agents.md from a Codebase?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →