Agent Hub
Run Agent-Hub from VS Code and send coding, research, and explanation requests
to your local Agent-Hub server.
Quick Start
Open the Agent-Hub repository in VS Code.
Make sure the Python package works:
python -m agent_hub doctor
Install the extension from the packaged .vsix:
cd vscode-extension
npm run package
$env:LOCALAPPDATA\Programs\Microsoft VS Code\bin\code.cmd --install-extension .\agent-hub-vscode-0.3.6.vsix --force
Reload VS Code.
Run an Agent Hub command from the Command Palette.
Commands
@agenthub in the VS Code Chat view
Agent Hub: Open Chat
Agent Hub: Start Server
Agent Hub: Show Status
Agent Hub: Ask Agent
Agent Hub: Run Local Coding Agent
Agent Hub: Research Web
Agent Hub: Explain Selection
Agent Hub: Explain Current File
When agentHub.autoStart is enabled, the extension starts the local server for
you before sending a request.
Common Settings
agentHub.serverUrl: local Agent-Hub server URL. Default:
http://127.0.0.1:8787
agentHub.pythonPath: Python executable. Default: python
agentHub.configPath: config file path. Default: agent-hub.config.json
agentHub.agentProviderMode: local, hybrid, or cloud. Default: local
agentHub.autoStart: automatically start the server when needed. Default:
true
Local And Cloud Models
Agent Hub uses local/free providers by default. Cloud providers are opt-in and
must be enabled in agent-hub.config.json.
To see available local model servers, run:
python -m agent_hub local-models
After changing provider settings, restart the Agent-Hub server.
Development
To test the extension from source:
- Open
vscode-extension in VS Code.
- Press
F5 to launch an Extension Development Host.
- In the new VS Code window, open the Agent-Hub repository folder.
To package the extension:
cd vscode-extension
npm run package