Invar β€” Cursor Agents | Neura Market
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityExtensionsTrendingGenerate
    CursorAgentsInvar
    Back to Agents
    Invar

    Invar

    Tefx December 17, 2025
    2 copies 0 downloads

    From AI-generated to AI-engineered code. Guides AI agents to write verifiable code through contracts and structured workflows.

    Agent Definition
    <p align="center">
      <img src="docs/logo.svg" alt="Invar Logo" width="128" height="128">
    </p>
    
    <h1 align="center">Invar</h1>
    
    <p align="center">
      <strong>From AI-generated to AI-engineered code.</strong>
    </p>
    
    <p align="center">
    Invar brings decades of software engineering best practices to AI-assisted development.<br>
    Through automated verification, structured workflows, and proven design patterns,<br>
    agents write code that's correct by constructionβ€”not by accident.
    </p>
    
    <p align="center">
      <a href="https://badge.fury.io/py/invar-tools"><img src="https://badge.fury.io/py/invar-tools.svg" alt="PyPI version"></a>
      <a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.11+-blue.svg" alt="Python 3.11+"></a>
      <a href="#license"><img src="https://img.shields.io/badge/License-Apache%202.0%20%2B%20GPL--3.0-blue.svg" alt="License"></a>
    </p>
    
    <p align="center">
      <a href="#why-invar"><img src="https://img.shields.io/badge/πŸ€–_Dogfooding-Invar's_code_is_100%25_AI--generated_and_AI--verified_using_itself-8A2BE2?style=for-the-badge" alt="Dogfooding"></a>
    </p>
    
    ### What It Looks Like
    
    An AI agent, guided by Invar, writes code with formal contracts and built-in tests:
    
    ```python
    from invar_runtime import pre, post
    
    @pre(lambda items: len(items) > 0)
    @post(lambda result: result >= 0)
    def average(items: list[float]) -> float:
        """
        Calculate the average of a non-empty list.
    
        >>> average([1.0, 2.0, 3.0])
        2.0
        >>> average([10.0])
        10.0
        """
        return sum(items) / len(items)
    ```
    
    Invar's Guard automatically verifies the codeβ€”the agent sees results and fixes issues without human intervention:
    
    ```
    $ invar guard
    Invar Guard Report
    ========================================
    No violations found.
    ----------------------------------------
    Files checked: 1 | Errors: 0 | Warnings: 0
    Contract coverage: 100% (1/1 functions)
    
    Code Health: 100% β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ (Excellent)
    βœ“ Doctests passed
    βœ“ CrossHair: no counterexamples found
    βœ“ 

    Tags

    ai-agentsai-codingclaude-codecode-generationcursordesign-by-contractformal-verificationhypothesisllmmcp

    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.