Bindu
Bindu copied to clipboard
feat: Add gRPC Support Foundation and Core Methods (#67)
Overview
This PR implements foundational gRPC support for Bindu, enabling dual protocol communication (JSON-RPC + gRPC) as described in issue #67.
What's Implemented (~70% Complete)
- ✅ Protocol Buffer definitions (proto/a2a.proto)
- ✅ Complete type conversion layer (Pydantic ↔ Protobuf)
- ✅ gRPC server infrastructure with lifecycle management
- ✅ Core servicer methods: HealthCheck, SendMessage, GetTask
- ✅ Protobuf code generation script
- ✅ Generated protobuf Python code
Architecture
Both protocols share the same TaskManager through thin adapter layers, enabling protocol-agnostic business logic.
Status
- Core functionality working
- Remaining servicer methods ready to implement (same pattern)
- Streaming support pending
Related
- Addresses #67 (partial - foundation + core methods)
it looks like its part of the big PR. can you please join the discord and drive it.
yes sure i will join the discord