Repository navigation
Description
Summary
inference-gateway/cli#936 (resolves inference-gateway/cli#932) adds recurring liveness probes for A2A agents. Both external URL-configured agents and locally started (docker) agents are now re-probed periodically for the lifetime of the session instead of being checked only once at startup: an agent that was down at startup turns green automatically when it becomes reachable, and an agent that goes down mid-session turns the A2A: n/m indicator red and shows the failure detail in the /a2a view. Status updates are emitted only on state changes, and probes shut down cleanly with the session.
This introduces two new user-facing config fields under a2a in config.yaml that are currently undocumented:
a2a:
enabled: true
agents:
- http://localhost:8081
liveness_probe_enabled: true # default: true
liveness_probe_interval: 30 # seconds, default: 30Env var overrides follow the standard scheme: INFER_A2A_LIVENESS_PROBE_ENABLED, INFER_A2A_LIVENESS_PROBE_INTERVAL.
Behavior worth documenting alongside the fields:
- External agents (
a2a.agentsURLs) are probed via their agent card; local docker agents viaGET <url>/health. - The
A2A: n/mstatus bar indicator and the/a2aagents view stay live: failed agents count downn, recovered agents count back up and show a "Recovered" detail. - Setting
liveness_probe_enabled: falserestores the old one-shot startup check.
Affected pages: cli.md (CLI configuration reference) and a2a.md (A2A agents guide).
Source: inference-gateway/cli#936
Acceptance Criteria
-
liveness_probe_enabledandliveness_probe_intervalare documented in the CLI configuration reference (cli.md) with defaults and the env var override names - The A2A guide (
a2a.md) describes the recurring probe behavior for external and local agents, including theA2A: n/mindicator and/a2aview staying live - A config example shows disabling the probes and tuning the interval
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Jul 18, 2026
@infer Can you work on this?
inference-gateway-maintainer commentedon Jul 18, 2026
Model:
ollama_cloud/deepseek-v4-flash· View JobTodos
Pull Request
#425
❌ Infer Result: Failed
Both files are updated. Now let me run validation checks:
Model:
ollama_cloud/deepseek-v4-flash· Exit Code:1· Duration: 3m 10sTokens: 1,282,174 in · 5,552 out · 1,287,726 total (22 requests)
Tool calls: 23 total · 96% success rate
Traces
Stats
Triggered by edenreich · Infer Action
fix: resolve #424
docs(cli,a2a): document A2A agent liveness probes (#425)
chore(release): 🔖 0.9.2 [skip ci]
inference-gateway-releaser commentedon Jul 18, 2026
🎉 This issue has been resolved in version 0.9.2 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀