Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>Build AI Context (baic)New to Visual Studio Code? Get it now.
Build AI Context (baic)

Build AI Context (baic)

asjnaang

|
1 install
| (0) | Free
Build AI Context (baic). Search baic or build-ai-context. The CLI and PyPI package stay build-ai-context. Export a workspace into AI-readable text bundles without Python.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Build AI Context (baic)

Export the open workspace into AI-readable text bundles. No Python install.

The AI Context view is one export-first panel: search, file format, Export N files, a checkable file tree, Options, and Last export.

gzip (tar-gz) is the default. Export writes bundles, a manifest, and baic_prompt.md. Restore unpacks a previous gzip export. The Host stays on your machine: it reads a trusted workspace and writes the folder you choose.

Install

Search for Build AI Context (baic) in the VS Code Extensions view. To build from a checkout with dependencies installed, run:

npm --prefix ide/vscode run package

In the Command Palette, run Extensions: Install from VSIX…, select the baic-*.vsix file generated in ide/vscode/, and reload.

Use

  1. Open and trust a folder. The catalog loads in the background.
  2. Open Build AI Context in the Activity Bar.
  3. Search files matches path, filename, or category. File format narrows by extension (All formats clears it).
  4. Uncheck files you do not want, or use Select all results. Oversized files start unchecked and show large.
  5. Click Export N files. Only checked files in the current results are exported.
  6. Restore gzip unpacks a previous export. Refresh reloads the catalog.

Options holds package (gzip/text), categories, content keywords, paths, and Advanced (ignored paths, large files, split gzip, extra formats). Last export opens the folder, manifest, and baic_prompt.md.

Mapping to baic

This Host covers the same workflow as the baic CLI: catalog, search and file-format filtering, selection by category / path / content keyword, gzip or text transport, restore, redact, secret skip, oversized-file handling, filetree, code graph, and project overview.

Settings live under Build AI Context (baic.*). An empty baic.outputDir writes under .gen_files/, the same folder as the CLI, and Reveal output opens it. For sample projects, set baic.updateGitignore to false and baic.outputDir outside the project tree.

Privacy

Scan and export run in the VS Code extension host for a trusted workspace. Export writes to disk. Before sharing, review the selected files and manifest for personal data, credentials, and private paths. Gzip preserves original file bytes. Text redaction covers common credential patterns in file contents.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft