Skip to content

feat: Add llms.txt standard for AI agents#7

Merged
doITmagic merged 1 commit into
mainfrom
dev
Nov 23, 2025
Merged

feat: Add llms.txt standard for AI agents#7
doITmagic merged 1 commit into
mainfrom
dev

Conversation

@doITmagic
Copy link
Copy Markdown
Owner

  • Added llms.txt: Concise, AI-optimized project summary
  • Added llms-full.txt: Concatenated full documentation for deep context
  • Updated README.md with a hint for AI agents

This allows AI coding assistants and web crawlers to efficiently consume and understand the project's documentation and capabilities.

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Checklist:

  • I have performed a self-review of my own code
  • I have formatted my code with go fmt ./...
  • I have run tests go test ./... and they pass
  • I have verified integration with Ollama/Qdrant (if applicable)
  • I have updated the documentation accordingly

- Added llms.txt: Concise, AI-optimized project summary
- Added llms-full.txt: Concatenated full documentation for deep context
- Updated README.md with a hint for AI agents

This allows AI coding assistants and web crawlers to efficiently consume
and understand the project's documentation and capabilities.
Copilot AI review requested due to automatic review settings November 23, 2025 10:12
@doITmagic doITmagic merged commit e1b10f4 into main Nov 23, 2025
2 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for the llms.txt standard to make the RagCode MCP project more discoverable and consumable by AI agents and web crawlers.

Key Changes:

  • Added llms.txt with a concise, AI-optimized project summary covering key features, installation, tools, and configuration
  • Added llms-full.txt containing the complete concatenated documentation (README, QUICKSTART, architecture docs)
  • Updated README.md with a comment hint directing AI agents to llms.txt

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
llms.txt New concise project summary optimized for AI consumption with installation, tools list, and configuration examples
llms-full.txt New comprehensive documentation file containing full README, quickstart guide, and architecture documentation
README.md Added AI agent hint comment and updated project tagline/description for consistency

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

doITmagic pushed a commit that referenced this pull request Mar 8, 2026
Path-Scoped Search (Proposal #1):
- Results near the agent's file_path get +15% boost (same dir) or +5% (subtree)
- Results from distant subtrees (vendor, inspiration) get -20% penalty
- Pure functions in separate file: scopeDir, pathProximity, applyPathScoping
- 15 unit tests covering all proximity scenarios

Score Threshold (Proposal #7):
- New optional 'min_score' parameter (0.0-1.0) filters low-relevance results
- Auto-threshold: top > 0.70 prunes results below 40% of top score
- Documented in tool description for agent discovery
doITmagic pushed a commit that referenced this pull request Mar 9, 2026
- Fix nil panic in ContextFromWorkspaceWithStatus when wctx is nil (#7)
- Fix indentation in smart_search_pipeline.go (#1)
- Use loaded idx instead of nil in call_hierarchy.go and find_usages.go (#3, #9)
- Add backward-compat comment on JSON tag mismatch (#6)
- Create fresh IndexStatus when LoadIndexStatus returns nil (#8)
- Populate Elapsed field at completed/failed transitions (#2)
- Throttle progress I/O writes to every 10 files (#4)
- Fix test cleanup for .ragcode dir in TempDir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants