M
MercyNews
HomeCategoriesTrendingAbout
M
MercyNews

Your trusted source for the latest news and real-time updates from around the world.

Categories

  • Technology
  • Business
  • Science
  • Politics
  • Sports

Company

  • About Us
  • Our Methodology
  • FAQ
  • Contact
  • Privacy Policy
  • Terms of Service
  • DMCA / Copyright

Stay Updated

Subscribe to our newsletter for daily news updates.

Mercy News aggregates and AI-enhances content from publicly available sources. We link to and credit original sources. We do not claim ownership of third-party content.

© 2025 Mercy News. All rights reserved.

PrivacyTermsCookiesDMCA
Home
Technology
Mantic.sh Launches Structural Code Search for AI Agents
Technology

Mantic.sh Launches Structural Code Search for AI Agents

January 6, 2026•5 min read•864 words
Mantic.sh Launches Structural Code Search for AI Agents
Mantic.sh Launches Structural Code Search for AI Agents
📋

Key Facts

  • ✓ Mantic.sh achieved over 700 organic downloads within 48 hours of release via MCPMarket.
  • ✓ The 'Git Accelerator' optimization reduced search time from 6.6s to 200ms on the Chromium codebase.
  • ✓ Search latency is now sub-500ms, making it viable for AI agents.
  • ✓ Installation is supported for Cursor, VS Code, and CLI environments.

In This Article

  1. Quick Summary
  2. Performance and Optimization
  3. Availability and Usage
  4. Capabilities and Limitations

Quick Summary#

A new tool named Mantic.sh has entered the market as a structural code search engine tailored for AI agents. The release occurred recently, with the tool automatically listed on the MCPMarket directory. Within just 48 hours, it achieved over 700 organic downloads, suggesting that developers were actively seeking this specific solution without the need for marketing.

The primary technical challenge addressed by Mantic.sh is search latency. Initial testing on the Chromium codebase revealed a 6.6-second search time using standard file walkers. Profiling indicated that 90% of this delay was caused by filesystem I/O. The solution implemented involves using git ls-files, which returns 480,000 paths in roughly 200ms. This optimization, combined with heuristics for untracked files, reduces total search time to sub-500ms, a threshold considered essential for AI agents to explore codebases effectively.

Performance and Optimization#

The development of Mantic.sh centered on overcoming the performance bottlenecks inherent in traditional file system searches. The author identified that for AI agents, waiting 10 seconds for a search result is unacceptable. The goal was to achieve a response time that feels instant, thereby changing how agents explore codebases.

The specific optimization story involves the Chromium repository. The initial implementation used a file walker that took 6.6 seconds to complete. Profiling tools revealed that 90% of this time was spent on filesystem I/O operations.

To resolve this, the developer switched to using the git ls-files command. This command was able to return 480,000 paths in approximately 200ms. Additionally, smart heuristics were added to handle untracked files, ensuring that only relevant directories are scanned. This brings the total search latency to sub-500ms, a critical metric for agent-driven workflows.

Availability and Usage#

Mantic.sh is available for integration into several popular development environments. The installation process is standardized across platforms, allowing developers to quickly adopt the tool for their specific workflows.

The supported platforms include:

  • Cursor: Install via npx mantic.sh@latest
  • VS Code: Install via npx mantic.sh@latest
  • CLI: Install via npm i -g mantic.sh

The tool was automatically listed on MCPMarket, a directory for MCP tools. The surge of 700+ downloads occurred without any active marketing campaigns, driven purely by organic search traffic from developers looking for this specific functionality.

Capabilities and Limitations#

While highly effective for specific use cases, Mantic.sh has defined capabilities and limitations based on its architecture. It is explicitly optimized for precise queries where code structure is paramount.

The tool excels when users search for specific patterns, such as "find stripe webhook". In these scenarios, the structural search provides accurate results quickly.

However, the author notes that for fuzzy exploratory search, traditional embeddings might still be the superior choice. The developer is currently curious about potential hybrid approaches that could combine the speed of structural search with the flexibility of embeddings, inviting the community to contribute ideas.

Original Source

Hacker News

Originally published

January 6, 2026 at 01:48 PM

This article has been processed by AI for improved clarity, translation, and readability. We always link to and credit the original source.

View original article

Share

Advertisement

Related Articles

AI Transforms Mathematical Research and Proofstechnology

AI Transforms Mathematical Research and Proofs

Artificial intelligence is shifting from a promise to a reality in mathematics. Machine learning models are now generating original theorems, forcing a reevaluation of research and teaching methods.

May 1·4 min read
China Claims US Trade War Fueled Innovationpolitics

China Claims US Trade War Fueled Innovation

According to the ruling party's official newspaper, China's economy has weathered US tariffs and technology restrictions, turning challenges into a drive for independent innovation.

Jan 8·4 min read
Police Killings in São Paulo Rise for Third Consecutive Yearcrime

Police Killings in São Paulo Rise for Third Consecutive Year

Deaths committed by military police officers in São Paulo increased in 2025, marking the third consecutive year of growth. The rise coincides with changes to body camera policies.

Jan 8·5 min read
Netflix's 'His & Hers' Thriller Reviewentertainment

Netflix's 'His & Hers' Thriller Review

Netflix's 'His & Hers' starring Tessa Thompson and Jon Bernthal is a shocking murder thriller based on Alice Feeney's novel. Read the review.

Jan 8·5 min read