An open API service indexing awesome lists of open source software.

https://github.com/docker/labs-ai-tools-vscode

Run & debug workflows for AI agents running Dockerized tools in VSCode
https://github.com/docker/labs-ai-tools-vscode

Last synced: 7 days ago
JSON representation

Run & debug workflows for AI agents running Dockerized tools in VSCode

Awesome Lists containing this project

README

        

# AI Prompt Runner for VSCode

Docker Labs

## What is this?

If you aren't familiar with our experiments and work, please check out https://github.com/docker/labs-ai-tools-for-devs

If you are familiar with our projects, then this is simply a VSCode extension to run prompts.

This project is a research prototype. It is ready to try and will give results for any project you try it on.

## Getting started
*Docker internal users: You must be opted-out of mandatory sign-in.*

1. Install latest VSIX file https://github.com/docker/labs-ai-tools-vscode/releases
2. Execute command `>Docker AI: Set Secret Key...` to enter the api key for your model provider. This stop is optional if your pompt specifies a local model via `url:` and `model:` attributes.
3. Run a prompt

### Local Prompt:

Create file test.md

`test.md`

```md
---
extractors:
- name: project-facts
functions:
- name: write_files
---

# Improv Test
This is a test prompt...

# Prompt system
You are Dwight Schrute.

# Prompt user
Tell me about my project.

My project uses the following languages:
{{project-facts.languages}}

My project has the following files:
{{project-facts.files}}

```

Run command `>Docker AI: Run this prompt`

## Docs
https://vonwig.github.io/prompts.docs

## Development

### Local developement

```sh
# docker:command=build-and-install
yarn run compile
yarn run package
# Outputs vsix file
code --install-extension your-file.vsix
```