惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
U
Unit 42
IT之家
IT之家
Y
Y Combinator Blog
T
Tailwind CSS Blog
B
Blog
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
I
InfoQ
J
Java Code Geeks
F
Fortinet All Blogs
T
The Blog of Author Tim Ferriss
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
H
Hackread – Cybersecurity News, Data Breaches, AI and More
人人都是产品经理
人人都是产品经理
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LangChain Blog

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - gmarland/Agent-Context: Attach external codebase...
gamerdrome · 2026-04-27 · via Hacker News: Show HN

Give your AI coding tools access to your best reference code — without copying anything into your repo.


Why this exists

Modern AI tools like GitHub Copilot, Cursor, and ChatGPT are only as good as the context they can see.

But your most valuable code usually lives somewhere else:

  • previous services
  • internal starter projects
  • architecture patterns
  • experimental repos

Agent Context lets you attach those projects directly to your workspace — so both you and your AI tools can use them immediately.


What it does

  • Attach external folders as live references
  • Expose them inside your workspace via symlinks
  • Keep your repo clean (no copying, no vendoring)
  • Maintain a shared instructions file for humans and AI
  • Provide a sidebar to manage all attached context

Built for AI-assisted development

Agent Context turns your past work into usable AI context.

When you attach folders, it can generate a shared instructions block that:

  • Lists available reference projects
  • Describes what each one is useful for
  • Helps AI tools generate better, more consistent code

Example

You’re working on:

/projects/current-app

You attach:

/projects/reference-apps/nest-auth-example

Agent Context creates:

/projects/current-app/.examples/nest-auth-example

Now:

  • Browse it directly in VS Code
  • Reference it in prompts
  • Let AI tools use it as context

Example prompt:

"Implement authentication similar to the nest-auth-example in .examples"


Features

  • Activity Bar icon + sidebar view
  • Add folders from anywhere on disk
  • Remove folders safely (no impact on originals)
  • Store descriptions for each reference
  • Auto-managed .gitignore block
  • Generated instructions file for team + AI awareness
  • Fast, lightweight, zero-copy workflow

How it works

When you attach a folder, the extension:

  1. Creates a symlink inside a workspace folder (default: .examples/)
  2. Stores metadata in .symlinks.json
  3. Updates .gitignore with a managed block
  4. Optionally updates an instructions file

The generated instructions section is safely wrapped:

...


Sidebar workflow

Open Agent Context from the Activity Bar.

Available actions:

  • Add Context Folder
  • Refresh
  • Open Agent Context Directory
  • Remove Context Folder
  • Edit Description
  • Reveal Original Folder

Configuration

agentContext.targetFolder

  • Default: .examples

agentContext.updateAgentInstructions

  • Default: true

agentContext.instructionsFile

  • Default: AgentContext.AGENTS.md

Intended use

Agent Context is ideal when:

  • You reuse patterns across projects
  • You want AI tools to follow real examples
  • You want to avoid copying code into repos
  • You want teams aligned on reference implementations

Installation

  1. Open VS Code
  2. Go to Extensions
  3. Search for Agent Context
  4. Click Install

Or install via .vsix:

code --install-extension agent-context.vsix


Development

Requirements

  • Node.js
  • npm
  • VS Code 1.85+

Install dependencies

npm install

Build

npm run compile

Watch mode

npm run watch

Lint

npm run lint

Run extension

Open the project in VS Code and launch the Extension Host via debugger.


License

MIT