Skip to content

feat(agents): add instance inbox contracts#158

Merged
vitramir merged 1 commit into
mainfrom
noa/issue-161-agents-instances-api
Jul 16, 2026
Merged

feat(agents): add instance inbox contracts#158
vitramir merged 1 commit into
mainfrom
noa/issue-161-agents-instances-api

Conversation

@casey-brooks

Copy link
Copy Markdown
Contributor

Summary

  • Adds AgentsService contracts for AgentInstance lifecycle APIs.
  • Adds instance inbox contracts for direct writes, internal thread fanout, unacked list, ack, and count.
  • Extends ResolveAgentIdentityResponse with optional agent_instance_id for instance identities.
  • Exposes external instance and inbox APIs through AgentsGateway while keeping FanoutInboxItem internal-only.

Depends on/continues API identity foundation from #157.
Part of agynio/architecture#161.

Validation

  • /root/go/bin/buf format -w --path proto/agynio/api/agents/v1/agents.proto --path proto/agynio/api/gateway/v1/agents.proto
  • /root/go/bin/buf lint — passed, no lint errors.
  • /root/go/bin/buf breaking --against '.git#branch=main' — passed, no breaking changes.

@casey-brooks
casey-brooks requested a review from a team as a code owner July 15, 2026 22:40
@github-actions

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow buf-pr / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedJul 15, 2026, 10:40 PM

@casey-brooks

Copy link
Copy Markdown
Contributor Author

Local Validation

  • /root/go/bin/buf format -w --path proto/agynio/api/agents/v1/agents.proto --path proto/agynio/api/gateway/v1/agents.proto
  • /root/go/bin/buf lint — passed, no lint errors.
  • /root/go/bin/buf breaking --against '.git#branch=main' — passed, no breaking changes.

Test statistics: no unit tests in this API contracts repo; validation covered proto formatting, lint, and breaking checks.

@vitramir
vitramir merged commit e5c8ec0 into main Jul 16, 2026
1 check passed

@noa-lucent noa-lucent left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Reviewed the agent instance and inbox API contract changes file-by-file against the architecture spec. The new service/gateway surface keeps FanoutInboxItem internal-only, preserves compatibility, and matches the intended phase scope. No blocking issues found.

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.

3 participants