Runner that provisions subagents from configs
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
LMSpace
LMSpace is a CLI tool for managing workspace agents across different backends. It currently supports VS Code workspace agents with plans to add support for OpenAI Agents, Azure AI Agents, GitHub Copilot CLI and Codex CLI.
Features
VS Code Workspace Agents
Manage isolated VS Code workspaces for parallel agent development sessions:
- Provision subagents: Create a pool of isolated workspace directories
- Chat with agents: Automatically claim a workspace and start a VS Code chat session
- Lock management: Prevent conflicts when running multiple agents in parallel
The project uses uv for dependency and environment management.
Prerequisites
- Python 3.12+
- uv installed locally (
pip install uv) - VS Code installed for workspace agent functionality
Quick Start
Installation
# Install lmspace as a uv-managed tool (recommended for end users)
uv tool install lmspace
# Install via uv pip (useful when managing a virtualenv manually)
uv pip install lmspace
# Or for development
uv pip install -e .[dev]
Using VS Code Workspace Agents
-
Provision subagent workspaces:
lmspace code provision --subagents 5
This creates 5 isolated workspace directories in
~/.lmspace/vscode-agents/. -
Warm up workspaces (optional but recommended):
lmspace code warmup
Opens all provisioned workspaces in VS Code so they're ready for instant use.
-
Start a chat with an agent:
lmspace code chat <agent_config_path> "Your query here"
This claims an unlocked subagent, copies your agent configuration, and opens VS Code.
-
Example agent configuration (
my-agent/directory):SUBAGENT.md- Authoritative chat mode definition; runtime launches transpile tosubagent.chatmode.mdsubagent.code-workspace- VS Code workspace settings
Command Reference
Provision subagents:
lmspace code provision --subagents <count> [--refresh] [--template <path>] [--target-root <path>]
--subagents <count>: Number of workspaces to create--refresh: Rebuild unlocked workspaces--template <path>: Custom template directory--target-root <path>: Custom destination (default:~/.lmspace/vscode-agents)--dry-run: Preview without making changes
Warm up workspaces:
lmspace code warmup [--subagents <count>] [--target-root <path>] [--dry-run]
--subagents <count>: Number of workspaces to open (default: 1)--target-root <path>: Custom subagent root directory--dry-run: Show which workspaces would be opened
Start a chat with an agent:
lmspace code chat <agent_config_path> <query> [--attachment <path>] [--dry-run]
<agent_config_path>: Path to agent configuration directory<query>: User query to pass to the agent--attachment <path>: Additional files to attach (repeatable)--dry-run: Preview without launching VS Code
Development
# Install deps (from repo root)
uv pip install -e . --extra dev
# Run tests
uv run --extra dev pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lmspace-0.1.2.tar.gz.
File metadata
- Download URL: lmspace-0.1.2.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba0b17e5aa569f3875aaf14ec712a656f5317768f1a5e692d0c2bcaa16fef01a
|
|
| MD5 |
874498a0397a84b62e0474af5597bcde
|
|
| BLAKE2b-256 |
1d42783c5507cbf4f01464fca781464a8e5df7b09d81af4717eb08810cf34990
|
File details
Details for the file lmspace-0.1.2-py3-none-any.whl.
File metadata
- Download URL: lmspace-0.1.2-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c008262aaff304c2dcdd709cf23944a112827ce239713074095766f7d9fd8bf
|
|
| MD5 |
a851624da44e32c17e8f39cb328964f6
|
|
| BLAKE2b-256 |
212f5e59ca2fb2406d094be9763d547027c9538fa23d2728ae3269a075f9a48f
|