paper-with-me

홈 › Papers

PrologMCP: A Standardized Prolog Tool Interface for LLM Agents

2026-06-12 · Agnieszka Mensfelt, Adarsh Prabhakaran, Adrian Haret, Vince Trencsenyi, Kostas Stathis arxiv

Frontier reasoning-tuned language models still fail on deductive tasks at depth, and the cost of improved performance through extended internal reasoning scales poorly. Symbolic delegation offers a complementary route: a language model translates the problem, while a solver performs the inference. However, current autoformalization pipelines for logic programming are typically bespoke integrations tied to particular tasks or agents. We introduce PrologMCP, a task-agnostic, open-source server that exposes Prolog as a stateful tool through the Model Context Protocol (MCP). Its compact tool interface, structured error reporting, and per-session isolation make the translate-run-inspect-repair loop a reusable primitive for MCP-capable agents. We evaluate a formalizer agent enhanced with PrologMCP against standard and reasoning LLMs (Claude Sonnet 4.6, GPT-4.1, and o4-mini) on two subsets of PARARULE-Plus: a general-purpose sample and a more challenging one targeting a specific failure mode of natural-language reasoning. On the general sample, the formalizer matches or exceeds reasoning LLMs (accuracy 1.00 vs.\ 1.00 / 0.998), with the largest gains over standard models (0.762 for GPT-4.1). On the challenging subset, the formalizer remains near-perfect (1.00 / 0.99) while reasoning LLMs drop to 0.95 / 0.94. These results suggest that delegating inference to Prolog via MCP is a robust and inspectable alternative to extended natural-language reasoning.

📄 PDF Abstract BibTeX arXiv:2606.14935

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Euclid-MCP: A Model Context Protocol Server for Deterministic Logical Reasoning via Prolog

2026-07-23 · Bartolomeo Bogliolo arxiv

Large Language Models (LLMs) excel at natural language understanding and generation but remain unreliable for multi-step logical reasoning, especially in safety-critical or compliance-sensitive domains. Recent neuro-symb…

Natural Language UnderstandingLogical Reasoning

SWISH: SWI-Prolog for Sharing

2015-11-03 · Jan Wielemaker, Torbjörn Lager, Fabrizio Riguzzi

Recently, we see a new type of interfaces for programmers based on web technology. For example, JSFiddle, IPython Notebook and R-studio. Web technology enables cloud-based solutions, embedding in tutorial web pages, atra…

Prolog Technology Reinforcement Learning Prover

2020-04-15 · Zsolt Zombori, Josef Urban, Chad E. Brown

We present a reinforcement learning toolkit for experiments with guiding automated theorem proving in the connection calculus. The core of the toolkit is a compact and easy to extend Prolog-based automated theorem prover…

Automated Theorem Provingreinforcement-learningReinforcement LearningReinforcement Learning (RL)

Mind the Gaps: Logical English, Prolog, and Multi-agent Systems for Autonomous Vehicles

2025-02-13 · Galileo Sartor, Adam Wyner, Giuseppe Contissa

In this paper, we present a modular system for representing and reasoning with legal aspects of traffic rules for autonomous vehicles. We focus on a subset of the United Kingdom's Highway Code (HC) related to junctions. …

Autonomous Vehicles

ROS-X-Habitat: Bridging the ROS Ecosystem with Embodied AI

2021-09-16 · Guanxiong Chen, HaoYu Yang, Ian M. Mitchell

We introduce ROS-X-Habitat, a software interface that bridges the AI Habitat platform for embodied learning-based agents with other robotics resources via ROS. This interface not only offers standardized communication pr…