Agentrepl.jl
AgentREPL.jl is a tool that provides a persistent Julia REPL session for AI agents through the MCP protocol, solving the problems of Julia startup and compilation delays and enabling AI agents to execute code efficiently.
rating : 2.5 points
downloads : 7.0K
What is AgentREPL?
AgentREPL is a persistent Julia REPL (Interactive Programming Environment) designed specifically for AI agents. Through the Model Context Protocol (MCP), AI assistants like Claude Code can continuously execute code in the same Julia session, avoiding the waiting time for restarting Julia each time code is executed.How to use AgentREPL?
Using AgentREPL is very simple: After installing the plugin, Claude Code will automatically start the Julia server. You can directly ask Claude to execute Julia code, and it will use the persistent session. Variables and functions will be retained until you manually reset them.Applicable Scenarios
AgentREPL is particularly suitable for AI workflows that require frequent execution of Julia code, such as data science analysis, machine learning experiments, and scientific computing. When an AI assistant needs to call Julia multiple times for complex calculations, AgentREPL can significantly improve efficiency.Main Features
Persistent Session
The Julia process remains running, and variables, functions, and loaded packages persist across multiple calls without the need for repeated initialization.
STDIO Transmission
Communicate using standard input and output without opening network ports, making it more secure and reliable.
Automatic Startup
The Claude Code plugin automatically configures and starts the Julia server without the need for manual MCP connection settings.
Hard Reset Function
You can completely reset the Julia session, clearing all variables and type definitions to solve the problem of type redefinition.
Package Management Integration
Supports full package management operations: installation, update, testing, switching to development mode, etc.
Real-time Log Viewing
You can open a terminal window to view Julia's output in real-time, which is convenient for debugging long-running calculations.
Advantages
Significantly reduce the waiting time for code execution - Avoid the 1 - 2 second Julia startup time each time
State persistence - Variables and functions persist across multiple calls
No network ports required - STDIO transmission is more secure with no network attack surface
Support for type redefinition - Solve the limitations of Julia's type system through a hard reset
Full package management - Support modern workflows such as testing and development mode
Automatic configuration - The Claude Code plugin provides a zero-configuration experience
Limitations
Only supports the Julia language - Designed specifically for Julia and does not support other programming languages
Requires a Julia environment - Users must install Julia 1.10 or a higher version
Memory usage - The persistent process will continuously occupy memory
Dependent on AI agents - Mainly designed for AI agents, and may not be as convenient for direct human use as a traditional REPL
How to Use
Install AgentREPL
Install the AgentREPL package in Julia, or use the Claude Code plugin to install it automatically.
Install the Claude Code Plugin
Add the AgentREPL plugin in Claude Code, and the plugin will automatically configure the MCP server.
Start Using
Start a new Claude Code session, and AgentREPL will start automatically. Now you can ask Claude to execute Julia code.
Manage the Environment
Use the activate command to switch project environments and the pkg command to manage package dependencies.
Usage Examples
Data Analysis Workflow
Claude assists in data cleaning, analysis, and visualization, and all steps are completed in the same Julia session.
Machine Learning Experiment
Iteratively train and evaluate machine learning models, adjust hyperparameters, and compare results.
Scientific Computing Project
Perform complex numerical calculations, such as solving differential equations or optimization problems.
Frequently Asked Questions
What is the difference between AgentREPL and a regular Julia REPL?
Do I need to manually start the Julia server?
How do I reset the session state?
Can I use multiple Julia environments simultaneously?
Is AgentREPL secure?
Which versions of Julia are supported?
Related Resources
GitHub Repository
The source code and latest version of AgentREPL
MCP Protocol Documentation
The official specification of the Model Context Protocol
Julia Official Website
The official website of the Julia programming language
Claude Code Documentation
The usage guide for Claude Code
Comparison with Alternatives
A comparison of AgentREPL with other similar tools

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
20.4K
4.5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
72.2K
4.3 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
24.6K
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
35.5K
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
64.5K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
31.2K
5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
22.1K
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
48.0K
4.8 points




