计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 260500128-1009.doi: 10.11896/jsjkx.260500128
王献昌
WANG Xianchang
摘要: 接口描述语言(IDL)经历了从面向对象的OMG IDL,到基于流式传输的gRPC IDL、面向Agent交互的JSON RPC IDL,华为鸿蒙IDL等多条技术路线的演进。与OMG IDL不同,gRPC将stream作为核心关键字引入其IDL体系中。随着大模型驱动的智能体交互日益依赖文件操作,当前主流IDL,无论是OMG IDL,gRPC IDL,JSON RPC IDL,还是鸿蒙IDL,均未将file纳入关键字或原生类型。因此在智能体大规模协作的今天,这一设计选择是否依然合理?通过梳理OMG IDL与gRPC在文件传输上的实现方式,发现两者均严格遵循“机制与策略分离”的原则,但当AI Agent需要频繁交换文件时,开发者不得不在应用层反复实现分块、校验和断点续传等逻辑。结合SWE-agent,AWCP,CBCL等前沿工作,认为重新审视file在IDL中的抽象地位恰逢其时。基于此,提出了基于引用传递语义的file原生类型方案,并探讨了该关键字在智能体协作场景中的潜在应用前景。
中图分类号:
| [1] WANG X C.KIS-ORB ISL/IDL Manual and KIS-ORB Mapping Tools[R].Mission Center of State Key Laboratory of Complex Critical Software Environment,Shenyang Aerospace University. [2] gRPC Docs.gRPC Documentation[EB/OL].https://grpc.io/docs/. [3] ISO/IEC 19500-1, Information Technology Open Distributed Processing-Common Object Request Broker Architecture(CORBA) Specification-PART 1:CORBA INTERFACES[S].2012. [4] JSON-RPC Working Group.JSON-RPC 2.0 Specification [S/OL].http://www.jsonrpcorg. [5] HENNING M,VINOSKI S.Advanced C++CORBA Programming [M].Beijing:Tsinghua University Press,2000. [6] Hua Wei IDL Usage Guideline [EB/OL].https://developer.hua-wei.com/consumer/en/doc/harmonyos-references-V3/idl-overview-0000001050762835-V3. [7] LIU J.Files are all you need.LlamaIndex Blog[EB/OL] https://www.llamaindex.ai/blog/files-are-all-you-need. [8] PISKALA D B.From “Everything is a file to “files Are All You need” How Unix Philosophy Informs the Design of Agentic AI Systems[J].arXiv:2601.11672,2026. [9] NYSTROM R.Game Programming Patterns[M].Genever Benning,2014. [10] gRPC-Gateway.gRPC-Gateway Documentation[EB/OL].ht-tps://grpc-ecosystem.github.io/grpc-gateway/. [11] HOOD C.Agentic Grammar and Interface Specification(AGIS)[R].2026. [12] O’CONNOR H.CBCL:Safe Self-Extensible Agent Communication[J].arXiv:2604.14512,2026. [13] REN Y,DOMINGO D,ZHANG J,et al.Poly Store:Exploiting combined capabilities of heterogeneous storage[C]//Procee-dings of the 23rd USENIX Conference on File and Storage Technologies(FAST 25).USENIX Association,2025:539-555. [14] YANG J,CARLOS E J,ALEXANDER W,et a..SWE-agent:Agent-Computer Interface Enable Software Engineering[C]//38th Advances in Neural Information Processing Systems.NeurIPS,2024:50528-50652. [15] AgentsRoot Team.AgentsRoot:Adding Agent-Readable/Writeable Surface to Your Application[EB/OL].https://npmjs.com/package/agentsroot. [16] CHEN J,UNNIBHAVI H,KOSHIBA A,et al.vFPIO:A Virtual I/O Abstraction for FPGA-accelerated I/O Devices[C]//Proceedings of the 2024 USENIX Annual Technical Conference(USENIX ATC’24).USENIX Association,2024:1167-1184. [17] NIE X,GUO Z,CHEN Y,et al.AWCP:A Workspace Delegation Protocol for Deep-Engagement Collaboration across Remote Agents[J].arXiv:2602.20493,2026. |
|
||