Skip to content

docs: document shared provider list in AGENTS.md - #174

Merged
edenreich merged 2 commits into
mainfrom
agents-md-provider-list
Jul 22, 2026
Merged

edenreich merged 2 commits into
mainfrom
agents-md-provider-list

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

What

Adds a "Shared provider list" section to AGENTS.md: how the supported provider identifiers are generated from the canonical inference-gateway/schemas enum into internal/providers/zz_generated_providers.go, that adding/removing a provider is task generate:providers + commit (verified by task verify-shared-types), that no CRD change is needed because ProviderSpec.Name validation is runtime via providers.IsSupported, and the offline fallback (hand-edit the sorted list, run the network-free provider tests, let CI run the real drift check).

Why

This is long-term guidance that was living only in the maintainer bot's private memory. Neither AGENTS.md nor CLAUDE.md currently mentions the shared provider list at all, so an agent asked to add a provider has no pointer to the one-line generated file, the drift test, or the fact that no CRD enum needs touching.

Kept intentionally minimal (ponytail pass): one section covering the normal task generate:providers path first, with the offline fallback second.

Notes

Once this merges, the operator-specific part of the maintainer bot's inference-gateway-ci-sandbox memory (adding a provider as an alphabetical one-line edit, no CRD change, the offline test subset, and the TestSupportedProvidersMatchSchema CI-hard-fail behaviour) is redundant and can be trimmed from memory.

@inference-gateway-maintainer
inference-gateway-maintainer Bot requested a review from a team as a code owner July 22, 2026 19:01
@edenreich

Copy link
Copy Markdown
Contributor

@infer Can you create a symlink CLAUDE.md -> AGENTS.md ?

@inference-gateway-maintainer

inference-gateway-maintainer Bot commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor Author

Model: ollama_cloud/deepseek-v4-flash · View Job

Todos

  • Create symlink CLAUDE.md -> AGENTS.md
  • Commit and push the symlink

Pull Request

#174

✅ Infer Result: Success

Done. Here's what I did:

Committed e403ae5 - docs: symlink CLAUDE.md to AGENTS.md

  • Replaced the standalone CLAUDE.md (62 lines of its own content) with a symlink pointing to AGENTS.md
  • This means Claude Code will now read the same guidance as other agents - the AGENTS.md file that already contains the shared provider list docs from the previous commit (659aaa4)
  • All pre-commit checks passed (manifests, generate, lint, fmt, vet, test)

Model: ollama_cloud/deepseek-v4-flash · Exit Code: 0 · Duration: 4m 11s

Tokens: 405,853 in · 4,396 out · 410,249 total (16 requests)

Tool calls: 17 total · 94% success rate

Traces
Session: 1784748183-aedc98ae

session (standard, success)                  4m9s
├── chat ollama_cloud/deepseek-v4-flash      2.0s
├── execute_tool Read call_dotb487l         455µs
├── execute_tool Read call_biw6zz46         403µs
├── chat ollama_cloud/deepseek-v4-flash      2.2s
├── execute_tool TodoWrite call_fikfl9r6     61µs
├── chat ollama_cloud/deepseek-v4-flash      7.0s
├── execute_tool Delete call_r8fztpxi       129µs
├── chat ollama_cloud/deepseek-v4-flash      1.5s
├── chat ollama_cloud/deepseek-v4-flash      8.1s
├── execute_tool Write call_evmuwq0r        670µs
├── chat ollama_cloud/deepseek-v4-flash      1.5s
├── execute_tool Bash call_8kyww1qv         174ms
├── chat ollama_cloud/deepseek-v4-flash      3.0s
├── execute_tool Bash call_b3ydm83j           3ms
├── chat ollama_cloud/deepseek-v4-flash      1.5s
├── execute_tool Bash call_w6gwdd1t           3ms
├── chat ollama_cloud/deepseek-v4-flash      2.1s
├── execute_tool TodoWrite call_uoxnxrn3     53µs
├── chat ollama_cloud/deepseek-v4-flash      1.9s
├── chat ollama_cloud/deepseek-v4-flash      2.3s
├── execute_tool Bash call_0rkjarfx           5ms
├── chat ollama_cloud/deepseek-v4-flash      1.5s
├── execute_tool Bash call_v426shen         2m53s [error: tool_error]
├── chat ollama_cloud/deepseek-v4-flash      2.1s
├── execute_tool Bash call_f9r04yzg         29.4s
├── chat ollama_cloud/deepseek-v4-flash      1.9s
├── execute_tool Bash call_te2ntzdr          2.4s
├── chat ollama_cloud/deepseek-v4-flash      1.8s
├── execute_tool TodoWrite call_1c5z8hro     65µs
├── chat ollama_cloud/deepseek-v4-flash      1.8s
╰── chat ollama_cloud/deepseek-v4-flash      1.5s
Stats
Tool Calls

╭───────────┬───────┬───────┬─────────╮
│ Tool      │ Calls │ Fail% │ Avg     │
├───────────┼───────┼───────┼─────────┤
│ Bash      │ 7     │ 14%   │ 29316ms │
│ TodoWrite │ 3     │ 0%    │ 0ms     │
│ Read      │ 2     │ 0%    │ 0ms     │
│ Write     │ 1     │ 0%    │ 0ms     │
│ Delete    │ 1     │ 0%    │ 0ms     │
╰───────────┴───────┴───────┴─────────╯

Token Usage

╭────────────────────────────────┬────────┬────────┬────────────┬────────┬──────╮
│ Model                          │ Prompt │ Cached │ Completion │ Total  │ Cost │
├────────────────────────────────┼────────┼────────┼────────────┼────────┼──────┤
│ ollama_cloud/deepseek-v4-flash │ 437967 │ 0      │ 4498       │ 442465 │ -    │
╰────────────────────────────────┴────────┴────────┴────────────┴────────┴──────╯

Sessions

╭───────────┬──────────┬──────────╮
│ Execution │ Mode     │ Sessions │
├───────────┼──────────┼──────────┤
│ headless  │ standard │ 1        │
╰───────────┴──────────┴──────────╯
⚠️ 1 log(s)
  • Bash:
    exit status -1: �[32mtask: [ensure-bin-dir] mkdir -p /home/runner/work/operator/operator/bin
    �[0m�[32mtask: [ensure-controller-gen] GOBIN=/home/runner/work/operator/operator/bin go install sigs.k8s.io/controller-tools/cmd/[email protected]
    … (truncated)
    

Triggered by edenreich · Infer Action

CLAUDE.md now points to AGENTS.md so Claude Code reads the same guidance as other agents. The original CLAUDE.md content is superseded by AGENTS.md.
@edenreich
edenreich merged commit 1533f59 into main Jul 22, 2026
1 check passed
@edenreich
edenreich deleted the agents-md-provider-list branch July 22, 2026 19:31
inference-gateway-releaser Bot added a commit that referenced this pull request Jul 23, 2026
## [0.21.0](v0.20.0...v0.21.0) (2026-07-23)

### ✨ Features

* **agent:** surface ADK MCP client config as A2A_MCP_* ([#172](#172)) ([fbab300](fbab300)), closes [#171](#171)
* **gateway:** add round-robin model routing config ([#176](#176)) ([062f48a](062f48a)), closes [#175](#175)

### 🐛 Bug Fixes

* **gateway:** emit TELEMETRY_TRACING_* env vars ([#170](#170)) ([691e3a5](691e3a5))

### 📚 Documentation

* document shared provider list in AGENTS.md ([#174](#174)) ([1533f59](1533f59))

### 🔧 Miscellaneous

* add skills for both claude and regular agents ([9f3bdf4](9f3bdf4))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.21.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Jul 23, 2026
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