Latsagentmcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Latsagentmcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A sophisticated code investigation agent that uses Language Agent Tree Search (LATS) with Monte Carlo Tree Search to systematically explore codebases and provide intelligent insights.
# Install Ollama (if not installed)
curl -fsSL https://ollama.com/install.sh | sh
# Pull the gpt-oss model
ollama pull gpt-oss
# Start Ollama server
ollama serve# Clone the repository
git clone <repository-url>
cd lats
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt# Make the server executable
chmod +x lats_mcp_server.py
# Run the MCP server
python lats_mcp_server.pyAdd to your Claude MCP configuration (claude_desktop_config.json):
{
"mcpServers": {
"lats": {
"command": "python",
"args": ["/absolute/path/to/lats_mcp_server.py"],
"transport": "stdio"
}
}
}# Via MCP in Claude
"Investigate where error handling is implemented in the authentication module"
# Response includes:
# - Solution path with scored steps
# - File references with line numbers
# - Explored branches
# - Confidence score
# - Actionable suggestions# Analyze a specific file
"Analyze the structure of auth/login.py"
# Returns:
# - File content preview
# - Code structure (classes, functions)
# - Dependencies and imports# Search for multiple patterns simultaneously
"Search for 'login', 'authenticate', and 'session' in the codebase"
# Returns matches for each pattern with contextinvestigateFull LATS investigation of a task
get_statusGet current investigation status
search_memorySearch past investigations
get_insightsRetrieve relevant insights
analyze_fileQuick single-file analysis
parallel_searchSearch multiple patterns in parallel
Root Node
├── Action 1 (Score: 6.5)
│ ├── Action 1.1 (Score: 7.8) ← Best path
│ └── Action 1.2 (Score: 5.2)
└── Action 2 (Score: 4.3)
└── Action 2.1 (Score: 3.9)Uses Upper Confidence Bound (UCT) to balance:
Each action is evaluated on:
Edit LATSConfig in lats_core.py:
class LATSConfig:
model_name = "gpt-oss" # Ollama model
base_url = "http://localhost:11434" # Ollama URL
temperature = 0.7 # Model temperature
max_depth = 5 # Max tree depth
max_iterations = 10 # Max search iterations
num_expand = 5 # Actions per expansion
c_param = 1.414 # UCT exploration parameter
min_score_threshold = 7.0 # Solution threshold┌─────────────────┐
│ MCP Client │
│ (Claude) │
└────────┬────────┘
│ MCP Protocol
┌────────▼────────┐
│ FastMCP Server │
└────────┬────────┘
│
┌────────▼────────┐
│ LATS Algorithm │
├─────────────────┤
│ • Tree Search │
│ • Node Selection│
│ • Reflection │
└────────┬────────┘
│
┌────────▼────────────┐
│ Core Components │
├────────┬────────────┤
│Filesystem│ Memory │
│ Tools │ Manager │
└──────────┴──────────┘
│
┌────────▼────────┐
│ Ollama │
│ (gpt-oss) │
└─────────────────┘# Run unit tests
python -m pytest tests/
# Run with coverage
python -m pytest --cov=. tests/filesystem_tools.pycreate_filesystem_tools()MemoryManager.__init__# Check Ollama is running
curl http://localhost:11434/api/tags
# Verify model is available
ollama list | grep gpt-ossMIT License - See LICENSE file for details
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.