KQML as an agent communication language
Timothy W. FininR. FritzsonD. McKayR. McEntire
Presents the Knowledge Query and Manipulation Language (KQML), an extensible, speech-act-based communication protocol and facilitator architecture that enables autonomous, heterogeneous software agents to exchange knowledge and coordinate in distributed systems.
The article addresses the challenges of building large-scale, distributed information systems in environments like the National Information Infrastructure, where nodes are heterogeneous, dynamic, and autonomous. Traditional client-server models limit initiative and flexibility, while maturing technologies such as knowledge-based reasoning and information retrieval lack effective tools for agent-based integration.
The work set out to design and test KQML, a language and protocol that enables intelligent software agents to exchange information and knowledge at runtime, supporting cooperative problem solving across diverse systems.
The approach centered on defining an extensible set of performatives that represent speech acts, combined with a supporting architecture of communication facilitators that handle routing, matchmaking, and mediation. Prototypes were implemented in Lisp and C, then applied in testbeds for concurrent engineering, military logistics planning, and heterogeneous information integration, using content languages such as KIF, LOOM, and SQL.
The main findings are that KQML supports a range of interaction patterns including one-shot queries, streaming replies, subscriptions, and brokered requests; facilitator agents successfully locate and connect agents without requiring direct knowledge of each other; the separation of communication and content languages allows flexible integration of existing tools; and the language has been deployed successfully in multiple distributed demonstrations without mandating a single system architecture.
These results show that agent communication can be standardized at a pragmatic level that reduces integration costs and enables new forms of cooperation in large-scale information systems.
Next steps include evolving KQML alongside emerging standards such as CORBA and OLE2, developing hierarchical directory services for national-scale deployment, and continuing experimentation in additional application domains.
The findings rest on prototype implementations and selected testbeds rather than large-scale production use, so results should be interpreted as evidence of feasibility rather than proven scalability.
- Paper: Intention = Choice + Commitment, Philip R. Cohen et al. (1987). This seminal paper formalizes agent intention and persistent commitment, providing the foundational theoretical framework for intentional states and speech-act-based communication upon which KQML performatives build.
- Paper: A Roadmap of Agent Research and Development, NICHOLAS R. JENNINGS et al. (2004). It provides a broad retrospective roadmap of multi-agent systems and agent-based computing, contextualizing early communication protocols like KQML within modern negotiation, coordination, and architecture frameworks.
- Paper: BDI Agents: From Theory to Practice, Anand S. Rao (1995). It operationalizes the Belief-Desire-Intention (BDI) architecture for executing autonomous reasoning agents that utilize communication languages like KQML to coordinate in dynamic environments.
- Paper: AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation, Qingyun Wu et al. (2023). It modernizes agent-to-agent communication paradigms introduced by KQML by implementing multi-agent conversation frameworks centered around large language models.
