Skip to content

Feat: Local LLM Support + Auto Mode + Dev Server#60

Open
LaansDole wants to merge 18 commits intopablodelucca:mainfrom
LaansDole:main
Open

Feat: Local LLM Support + Auto Mode + Dev Server#60
LaansDole wants to merge 18 commits intopablodelucca:mainfrom
LaansDole:main

Conversation

@LaansDole
Copy link

@LaansDole LaansDole commented Mar 1, 2026

  1. Local LLM Support
  • Built-in Local Agent (src/localAgent.ts): Standalone Node.js script that talks directly to any OpenAI-compatible endpoint using the openai npm package
  • VS Code Settings: New configuration options under pixel-agents.local.*:
    • enabled - Toggle local mode
    • baseUrl - Endpoint URL (e.g., http://localhost:1234/v1)
    • apiKey - API key for the endpoint
    • model - Model name to use
    • maxTokens - Max tokens per response (512-4096)
  • Environment Configuration (.env.example): Template for dev server configuration
  1. Auto Mode (Multi-Agent Debates)
  • Persona Templates: 8 distinct AI personas (Pragmatist, Innovator, Skeptic, Architect, Operator, Minimalist, Researcher, Shipper)
  • Walk-to-Agent Interaction: Characters physically walk to the responding agent during debates
  • Termination Detection: [DONE] keyword to end debates
  • UI Components:
    • AutoModeConfigDialog.tsx - Configure agent count, topic, timeout
    • ConversationPanel.tsx - Live conversation view
    • AgentInfoPanel.tsx - Agent status display
  1. Dev Server (webview-ui/devServer.ts)
  • WebSocket bridge for standalone webview development
  • Spawns localAgent.js processes
  • JSONL transcript polling and event forwarding
  • Auto mode orchestration
  1. Build Tools (Makefile)
  • make dev - Start both dev server and Vite
  • make stop - Kill all servers
  • make restart / make status / make clean

Documentation Updates

  • README.md: Added Local Models section with Option A (Direct Connection) and Option B (Built-in Local Agent)
  • webview-ui/README.md: Added project context, dev server instructions, and local model configuration

@gaby
Copy link

gaby commented Mar 1, 2026

@LaansDole Got screenshots or a video showing this?

@LaansDole LaansDole changed the title Local LLM Support + Auto Mode + Dev Server Feat: Local LLM Support + Auto Mode + Dev Server Mar 2, 2026
@LaansDole
Copy link
Author

local-pixel-agents1 local-pixel-agents2

Hi @gaby, here are the screenshots of the implementations. Let me know if you have any questions

@gaby
Copy link

gaby commented Mar 2, 2026

@LaansDole What happened to the original layout, colors, and graphics? This version doesn't look as polished.

@LaansDole
Copy link
Author

LaansDole commented Mar 2, 2026

@LaansDole What happened to the original layout, colors, and graphics? This version doesn't look as polished.

@gaby It is the original layout, colors and graphics. Maybe because I did not buy the UI kit? But I did not change any layouts, I only focus on the logic enhancement

@gaby
Copy link

gaby commented Mar 2, 2026

@LaansDole What happened to the original layout, colors, and graphics? This version doesn't look as polished.

@gaby It is the original layout, colors and graphics. Maybe because I did not buy the UI kit? But I did not change any layouts, I only focus on the logic enhancement

Makes sense!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants