Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>InVectNew to Visual Studio Code? Get it now.
InVect

InVect

pAIrprog

|
2 installs
| (0) | Free
Context Framework for Agentic Development
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Invect - by pAIrprog

Context Framework for Agentic Development

Prompt architecture

  • ./invect.config.json - The configuration file for the Invect framework
  • ./.invect/modes.json - The modes configuration file
  • ./llm - The directory containing the LLM prompts
  • ./llm/**/*.pattern.md - The pattern prompts
  • ./llm/**/*.workflow.md - The workflow prompts
  • ./llm/**/*.issue.md - The issue prompts

Query system

The query system is a reversed query. Given a context, it will look up *.pattern.md, *.workflow.md, *.issue.md files with queries that match the context.

Base predicates

  • and: Array<Predicate> - Logical AND
  • or: Array<Predicate> - Logical OR
  • not: Predicate - Logical NOT
  • always: true - Always match
  • never: true - Never match
  • contains: string - Content contains a string
  • regex: string - Content matches a regex pattern, can be "/my-regex/g" or "my-regex"

Pattern + Workflow predicates

  • workspace: string - File is from a specific workspace declared in the config
  • glob: Array<string> - Glob patterns against the relative file path from workspace root, prefix with ! to negate
  • isEmpty: boolean - Should the content be empty or whitespace only

Sample query

---
query:
  and:
    - workspace: "my-workspace"
    - or:
      - glob: "src/tools/*.tool.ts"
      - glob: "src/tools/*.tool.js"
---

<instructions>
Say "Hi"
</instructions>

Available commands

⚠️ It is recommended to re-map both View: Pin Editor and View: Pin Unpin Editor to a more accessible shortcut like Ctrl+R Ctrl+R

  • Run Context (Ctrl+Alt+K R): Start an LLM agent based on the pinned files

Available settings

  • invect.claude.bin: Path to the claude binary
  • invect.agent.cwd: Force the CWD for LLM agents, defaults to the workspace with invect.config.json
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft