Skip to content

JetBrains-Research/rocqstar-agentic-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

JetBrains Research

RocqStar Agentic System

RocqStar is an autonomous agentic system for Rocq (Coq) — the first framework to explore applying multi-stage AI agents to interactive theorem proving (ITP).
It builds on top of Rocq’s coq-lsp and extends it with a Model Context Protocol (MCP) layer, enabling AI agents to check, debug, and drive Rocq proofs programmatically.

The RocqStar Agentic System combines planning, execution, and reflection phases into a complete end-to-end proof generation loop.
Incorporating multi-agent debates (MAD) significantly improves reasoning and robustness — an ablation study shows that planning and multi-agent reflection are key to its success.
Our full agent solves 60% of the theorems in the CoqPilot benchmark dataset.

All components — from the MCP interaction layer to the Kotlin-based agent implementation — are open-sourced in this repository.

📎 Agent implementation: rocqstar-agent
🧩 MCP server: rocqstar-mcp-server

Components

  • koogAgent An AI agent written entirely in Kotlin using the innovative Koog framework by JetBrains. The agent communicates with the Rocq-MCP server, explores the context, and iteratively builds the proof.

  • mcpServer A lightweight pair of services that expose a Model Context Protocol (MCP) interface around Rocq’s coq-lsp, making it simple for autonomous or human-in-the-loop agents to check, debug, and drive Rocq proofs programmatically.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5