Skip to content
| Marketplace
Sign in
Visual Studio Code>Education>Conversations APINew to Visual Studio Code? Get it now.
Conversations API

Conversations API

ForeverLearning AI

|
1 install
| (0) | Free
Put conversation practice in your app with the Conversations API. Your coding assistant gets the guide, the contract and the verified kits, plus a test turn with your own key.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Conversations API for VS Code

Conversation practice inside your product.

The Conversations API runs a practice room: one to five characters who answer in character and to the whole conversation, a Coach whose note arrives with every turn in its own channel, a safety status on every turn, and a debrief and Insights after. This extension puts it in VS Code chat. Ask your coding assistant to "add a practice room to this app", and it reads the Conversations API's own guide and contract, follows a Build with Conversations kit whose prompt we verify before we publish it, and sends a test turn with your key to show you the reply exactly as written.

Install

  1. Install Conversations API from the Marketplace.
  2. Open chat. Conversations API is in your MCP servers, with its tools ready.
  3. Ask: "Add a page to this project where a user rehearses a hard conversation with the Conversations API."

Nothing else to install: no Node.js, no npm, no configuration file. The extension runs the Conversations server with VS Code's own runtime.

What your assistant gets

Tool Needs your key What it does
conversations_kits, conversations_kit no The Build with Conversations kits: each kit's prompt word for word, what the finished app should show, and its finished checkpoint folder.
conversations_guide no The Conversations integration guide, whole or by topic, and its runnable examples.
conversations_contract no The OpenAPI contract: every operation a Conversations integration uses, or one operation with its schemas filled in.
conversations_starter_file no One file of a kit's checkpoint folder in conversations-room-starter (MIT).
conversations_test_turn yes One real test turn, the room's opening or one message, with the cost stated first and your agreement required.
conversations_lookup_request yes Looks up a turn by its request id. Free.

The server also offers two prompts, first-practice-room and embed-practice-room, the verified prompts for "Your first practice room" and "Embed a practice room in your app". To paste the first one into any chat, run Conversations: Copy the first-room prompt.

Your key

The guide, the contract and the kits need no key. For test turns:

  1. Get a server key and your assignment id from My APIs in the developer console.
  2. Run Conversations: Set API key from the Command Palette and paste the key. It then asks for your assignment id, which every test turn names.

VS Code keeps your key in its secret storage. It never goes into your settings, a workspace file or the server's configuration. The extension hands it to the Conversations server's own process over a private local channel, and the server sends it only to the Conversations API. It never shows the key in a reply, a log or an error. Conversations: Remove API key takes it out again, at once. Your assignment id is a user setting, conversations.assignmentId.

Already keep your key in FOREVERLEARNING_API_KEY in your environment, with your assignment in FOREVERLEARNING_ASSIGNMENT_ID? With no key saved in VS Code, the server uses those.

The app your assistant builds reads its own key from FOREVERLEARNING_API_KEY and its assignment from FOREVERLEARNING_ASSIGNMENT_ID in the environment it runs in. Never commit a key or paste it into a conversation.

Test turns: what they cost

  • Test assignment: each test turn uses one of your workspace's fifty free text attempts and no money. The attempts last for the life of the workspace and are shared by all its keys. A turn that fails after it is sent also uses one.
  • Live assignment: 3¢ per text turn from your workspace balance. On a production host the server cannot tell which kind your key's assignment is, so your assistant asks you first and sends only when you say so.
  • Staging: a staging key spends staging credit, never real money.
  • Before every turn, your assistant shows you the cost and asks. VS Code also asks you to confirm in a dialog.
  • At most 2 test turns each time the server starts. The room's opening is a turn of its own.
  • One test user per project. The server keeps one pseudonymous user and one session for each project folder, so repeated testing opens no new sessions. It never ends a session itself and never sends a turn twice. If a turn is not confirmed, it gives you the request id to look up, free. The API closes a user's earlier open session when their next one opens, and that closeout is charged like a turn.

Your assistant shows the reply exactly as written: each character's line under their name, the Coach's note, the safety status and the receipt.

Commands

Command What it does
Conversations: Set API key Saves your server key in VS Code's secret storage, then asks for your assignment id if none is set.
Conversations: Set assignment id Saves your assignment id in your user settings.
Conversations: Remove API key Removes the key.
Conversations: Open Build with Conversations Opens the Build with Conversations kits.
Conversations: Copy the first-room prompt Copies the verified prompt for your first practice room. Paste it into chat in a new, empty folder.

Settings

Setting Default What it does
conversations.apiBaseUrl Production The Conversations API host for test turns. Staging is for testing with a staging key only.
conversations.assignmentId none Your Conversations API assignment id, from My APIs. Every test turn names it.

Both are user settings, so a workspace cannot change where your key goes.

What it sends

The extension itself sends nothing and collects nothing. The Conversations server reads the docs bundled with it, and calls the Conversations API only for a test turn you agree to, and for the free reads that turn needs.

The guide, contract, examples and kits are a dated snapshot of the developer site, bundled with each release. The live guide is always at developers.foreverlearning.ai/docs/conversation-practice.

Learn more

  • Build with Conversations
  • The Conversations API

License

MIT. The packages bundled with the Conversations server are listed with their licenses in dist/THIRD_PARTY_NOTICES.txt.

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