DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to chat with a local model in the AWP desktop app with Agent Workflow Platform

Connect the Electron desktop workbench to an OpenAI-compatible local endpoint and get streamed replies.

Short answer: Install desktop dependencies with npm --prefix apps/desktop ci; then on macOS or Linux, launch with AWP_AGENT_MODEL=llama3.2 npm --prefix apps/desktop run openai-compatible:electron; on Windows PowerShell, set $env:AWP_AGENT_MODEL='llama3.2' and then run npm --prefix apps/desktop run openai-compatible:electron. All steps.

Authorization notice. Agent Workflow Platform is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Who it is forA developer who has a local model running and wants a real desktop chat interface with streaming, history, and session resume around it.

The problemA bare model endpoint gives no desktop UI, streaming pipeline, or persisted conversation state for a product prototype.

The outcomeA streamed model reply appears in the Electron app, and the model-native session can resume after a restart.

What you need first

  • Docker Engine or Docker Desktop with Compose, and Python 3.12, for the local round trip
  • Node.js 22.12 or newer, for the desktop workbench
  • A compatible Agent CLI or model endpoint, such as a local Ollama-compatible endpoint, for real model responses
  • Python 3.10 or newer, for the standalone workflow runtime

Steps

  1. Install desktop dependencies with npm --prefix apps/desktop ci.
  2. On macOS or Linux, launch with AWP_AGENT_MODEL=llama3.2 npm --prefix apps/desktop run openai-compatible:electron.
  3. On Windows PowerShell, set $env:AWP_AGENT_MODEL='llama3.2' and then run npm --prefix apps/desktop run openai-compatible:electron.
  4. Send a message in the desktop window and confirm the streamed reply renders.
  5. Restart the app and confirm the session resumes.

Prompt for your agent

In the agent-workflow-platform repository, install the desktop app dependencies and launch the OpenAI-compatible Electron path with AWP_AGENT_MODEL set to the model name served by my local endpoint. Report whether a streamed reply appears in the window, and confirm that the conversation is still there after a restart.

Caveat. The README says the reference adapter needs an OpenAI-compatible Chat Completions endpoint, and the example model name llama3.2 is only an example you must replace with a model your endpoint actually serves.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for primorLee/agent-workflow-platform and "Chat with a local model in the AWP desktop app"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer