Skip to content

feat(config): Prefer AGENTS.md over README.md in system prompt - #113

Merged
edenreich merged 5 commits into
mainfrom
claude/issue-110-20250824-0224
Aug 24, 2025
Merged

edenreich merged 5 commits into
mainfrom
claude/issue-110-20250824-0224

Conversation

@edenreich

Copy link
Copy Markdown
Contributor

Updates the default system prompt to align with OpenAI's AGENTS.md standard:

  • Changes instruction to prefer AGENTS.md when available
  • Maintains fallback to README.md for backwards compatibility
  • Updates corresponding test expectations

Addresses issue #110 to adopt the vendor-agnostic AGENTS.md convention for project-specific LLM instructions.

Generated with Claude Code

claude Bot and others added 2 commits August 24, 2025 02:28
Updates the default system prompt to align with OpenAI's AGENTS.md standard:
- Changes instruction to prefer AGENTS.md when available
- Maintains fallback to README.md for backwards compatibility
- Updates corresponding test expectations

Addresses issue #110 to adopt the vendor-agnostic AGENTS.md convention
for project-specific LLM instructions.

Co-authored-by: Eden Reich <[email protected]>
@edenreich

Copy link
Copy Markdown
Contributor Author

I think I'll not pre-processes the AGENTS.md file because I want to keep the agent dynamic, this agent might run on multiple repositories during a single task and each repository will have their own AGENTS.md. Pre-processing the MD might be unnecessary, will let the agent decide when to read it. I might just need to specify in the System prompt what sections there might be inside of the file, so it can query those sections more effectively.

edenreich and others added 3 commits August 24, 2025 04:59
…trategy

Changes reading approach from fixed 300-line limit to strategic grep-based navigation using headings hierarchy.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Add comprehensive AGENTS.md documenting agent patterns, workflows, and best practices
- Update CLAUDE.md to reference AGENTS.md for detailed information
- Include JSON output format examples and configuration guidance
- Document tool execution patterns and integration workflows

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@edenreich
edenreich merged commit 1ea1f1e into main Aug 24, 2025
@edenreich
edenreich deleted the claude/issue-110-20250824-0224 branch August 24, 2025 03:20
inference-gateway-releaser Bot pushed a commit that referenced this pull request Aug 24, 2025
## [0.40.0](v0.39.0...v0.40.0) (2025-08-24)

### 🚀 Features

* **config:** Prefer AGENTS.md over README.md in system prompt ([#113](#113)) ([1ea1f1e](1ea1f1e)), closes [#110](#110)
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.40.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Aug 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant