h-codex — Cursor Agents | Neura Market
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityExtensionsTrendingGenerate
    CursorAgentsh-codex
    Back to Agents
    h-codex

    h-codex

    hpbyte June 21, 2025
    27 copies 0 downloads

    A semantic code search tool for intelligent, cross-repo context retrieval.

    Agent Definition
    # h-codex
    
    A semantic code search tool for intelligent, cross-repo context retrieval.
    
    ## ✨ Features
    
    - **AST-Based Chunking**: Intelligent code parsing using Abstract Syntax Trees for optimal chunk boundaries
    - **Embedding & Semantic Search**: Using OpenAI's `text-embedding-3-small` model (support for `voyage-code-3` planned)
    - **Vector Database**: PostgreSQL with pgvector extension for efficient similarity search
    - **Multi-Language Support**: TypeScript, JavaScript, and extensible for other languages
    - **Multi-Project Support**: Index and search multiple projects
    - **MCP Integration**: Seamlessly connects with AI coding assistants through Model Context Protocol
    
    ## 🚀 Demo
    
    ![demo](./assets/demo-1.gif)
    
    ## 💻 Getting Started
    
    h-codex can be integrated with AI assistants through the Model Context Protocol.
    
    ### Example with Claude Desktop
    
    Edit your `claude_mcp_settings.json` file:
    
    ```json
    {
      "mcpServers": {
        "h-codex": {
          "command": "npx",
          "args": ["@hpbyte/h-codex-mcp"],
          "env": {
            "LLM_API_KEY": "your_llm_api_key_here", 
            "LLM_BASE_URL": "your_llm_base_url_here (default is openai baseurl: https://api.openai.com/v1)",
            "DB_CONNECTION_STRING": "postgresql://postgres:password@localhost:5432/h-codex"
          }
        }
      }
    }
    ```
    
    ## 🛠️ Development
    
    ### Prerequisites
    
    - [Node.js](https://nodejs.org/) (v18+)
    - [pnpm](https://pnpm.io/) - Package manager
    - [Docker](https://www.docker.com/) - For running PostgreSQL with pgvector
    - OpenAI API key for embeddings
    
    ### Getting Started
    
    1. **Clone the repository**
    
       ```bash
       git clone https://github.com/hpbyte/h-codex.git
       cd h-codex
       ```
    
    2. **Set up environment variables**
    
       ```bash
       cp packages/core/.env.example packages/core/.env
       ```
    
       Edit the `.env` file with your OpenAI API key and other configuration options.
    
    3. **Install dependencies**
    
       ```bash
       pnpm install
       ```
    
    4. **Start PostgreSQL database**
    
       ```bash
       cd dev && docker compose up -d
       ```
    
    5. **

    Tags

    abstract-syntax-treeagentaiclaude-codecode-indexingcode-searchcursorembeddingjavamcp

    Comments

    More Agents

    View all
    documentation

    Documentation & Onboarding Agent

    Agent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.

    C
    Community
    debugging

    Cursor Bug Triage Agent

    Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.

    C
    Community
    api

    API Integration Agent

    Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.

    C
    Community
    coding

    Cursor Agent Mode

    Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.

    C
    Cursor Team
    cloud

    Cursor Background Agent

    Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.

    C
    Cursor Team
    composer

    Cursor Composer Agent

    Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.

    C
    Cursor Team

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.