devspace
AGENTS.md5.2k starsChanged 5 months agoMITView on GitHub
DevSpace is a local development execution layer for MCP hosts such as ChatGPT and Claude. It gives a remote host workspace-scoped tools for reading, editing, searching, running commands, managing Git worktrees, reviewing changes, and coordinating bounded subagents on the user's machine. Pi's SDK currently provides mature local coding primitives. DevSpace wraps those primitives in a Streamable HTTP MCP server and adds the product-specific boundaries around them: approved roots, workspace state, instructions, process sessions, worktrees, artifacts, review checkpoints, widgets, and subagent…
Trending
Steady talk.thin dataabout the whole repository
Who's talking about Waishnav/devspace
- @github-trending-js.bsky.social“🔥 Hot Repo! 🔥 (100+ new stars) 📦 Waishnav / devspace ⭐ 4,247 (+119) 🗒 TypeScript Turn ChatGPT into …”Bluesky · Aug 31, 2026 · 1 likes
- sudosubin/agents.nix“agent-skills.github.waishnav.devspace: init at 1.0.8”GitHub · Oct 3, 2026
- nurockplayer/tachiko-conductor“[Research] Converge local-agent runtime prior art before expanding Conductor”GitHub · Sep 8, 2026
- D22977/gpt-browser-bridge“[P0][ARCH] GBB-SIMPLIFICATION-DELETE-MAP-00 — DevSpace/C2C overlap, retirement map, and minimal canary”GitHub · Sep 3, 2026
- Pinggy-io/pinggy_website“Use chatgpt as a free coding agent”GitHub · Jul 13, 2026
The biggest 5 of 6 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 6
Talked about on GitHub and Bluesky (6 times).
On GitHub · 5
- Oct 3, 2026agent-skills.github.waishnav.devspace: init at 1.0.8 — sudosubin/agents.nix0 reactions
- Sep 8, 2026[Research] Converge local-agent runtime prior art before expanding Conductor — nurockplayer/tachiko-conductor0 reactions · 4 comments
- Sep 3, 2026[P0][ARCH] GBB-SIMPLIFICATION-DELETE-MAP-00 — DevSpace/C2C overlap, retirement map, and minimal canary — D22977/gpt-browser-bridge0 reactions · 12 comments
- Jul 13, 2026Use chatgpt as a free coding agent — Pinggy-io/pinggy_website0 reactions
- Jun 19, 2026🌐 Global Tech Briefing - 2026-06-19 — AtomChen0425/Global_Trends0 reactions · 1 comment
On Bluesky · 1
- Aug 31, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 Waishnav / devspace ⭐ 4,247 (+119) 🗒 TypeScript Turn ChatGPT into Codex! OR Turn Claude Web into… — @github-trending-js.bsky.social1 likes and repost
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
11 rules. About 0 are common, 7 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 38
Use these terms precisely.
- Very specific: line 46
Keep tunnel ownership and credentials with the user.
- Very specific: line 54
Do not expand DevSpace's responsibility while fixing a local symptom.
- Distinctive: line 72
When changing a cross-cutting concept, check every surface it actually reaches:
- Very specific: line 88
Only create or update a PR when explicitly asked, and read CONTRIBUTING.md first.
- Distinctive: line 90
Write the body as a few natural paragraphs explaining the problem and solution.
- Very specific: line 108
Start at the boundary named by the problem and follow the data.
- Distinctive: line 112
Prefer explicit lifecycle and state over hidden autonomy.
- Distinctive: line 114
Keep subagent execution composable and independently testable.
- Distinctive: line 116
Add compatibility behavior only for an identified consumer with a real upgrade path.
- Distinctive: line 118
Keep the execution layer small, reliable, and unsurprising.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
DevSpace
DevSpace is a local development execution layer for MCP hosts such as ChatGPT and Claude. It gives a remote host workspace-scoped tools for reading, editing, searching, running commands, managing Git worktrees, reviewing changes, and coordinating bounded subagents on the user's machine.
Pi's SDK currently provides mature local coding primitives. DevSpace wraps those primitives in a Streamable HTTP MCP server and adds the product-specific boundaries around them: approved roots, workspace state, instructions, process sessions, worktrees, artifacts, review checkpoints, widgets, and subagent execution.
DevSpace owns tooling mechanics. The model receives only meaningful and actionable choices. The user sees outcomes. Tool defination should not leak internal implementation or it shoudn't be giving unwanted options to model to choose from if tooling can handle this.
Product model
These ideas should stay true as the project evolves:
- The host is the orchestrator. DevSpace exposes clear capabilities and execution state. It should not hide the workflow inside an opaque, uninspectable agent loop.
- Everything happens in a workspace. A workspace represents one local project directory or worktree plus the instructions and state accumulated while operating in it.
- Local authority stays explicit. DevSpace runs with access to the user's machine. Roots, paths, commands, processes, credentials, and destructive operations must be treated as product boundaries.
- Subagents are bounded workers. A subagent should have an explicit task, profile, working context, lifecycle, and result that the host can inspect and coordinate.
- Adapters stay at the edges. Pi, MCP hosts, and model providers each have their own terminology and capabilities. Provider-specific behavior should not become the core domain model.
- Prefer composable primitives. Build a small set of reliable operations that can be combined into larger workflows instead of baking every workflow into the server.
Glossary
- Host — the MCP client presenting the agent experience and coordinating work.
- Server — the local DevSpace MCP server.
- Workspace — one opened directory or worktree and its accumulated instruction context.
workspace_id— the opaque handle returned byopen_workspaceand reused for calls in that workspace.- Allowed root — a configured filesystem boundary within which a workspace may be opened. It is not itself necessarily a workspace.
- Checkout mode — operating on an existing checkout supplied by the user.
- Worktree mode — operating in an isolated Git worktree.
- Tool surface — the tools exposed by a configured mode, such as minimal, full, or Codex-compatible.
- Process session — a long-running command tracked for later input, output, or termination.
- Instruction file — an
AGENTS.mdorCLAUDE.mddiscovered while navigating a workspace. - Subagent — a bounded model invocation delegated and coordinated by the host.
- Agent profile — the model, provider, tools, and instructions used for a subagent.
- Artifact — an output surfaced for the host or user to inspect.
- Review checkpoint — stored state representing a coherent set of changes.
- Widget — host-rendered UI/Cards attached to an MCP response.
Use these terms precisely. In particular, do not use workspace, allowed root, checkout, and worktree interchangeably.
Security boundaries
Filesystem tools enforce approved-root containment. Shell commands run with the local user's authority and are not a general sandbox. Never imply that shell execution is contained merely because file tools are contained.
Resolve and validate paths before destructive actions. Do not broaden an allowed root, delete application state, expose a credential, or replace an existing process as a convenient fix.
Keep tunnel ownership and credentials with the user. DevSpace may operate through a user-controlled tunnel, but it does not own tunnel lifecycle or configuration.
Diagnose the correct layer
A failure may belong to the host, MCP transport, DevSpace, a Pi adapter, a provider, a model, a tool implementation, or the target project. Preserve the original error and identify the failing boundary before changing code.
An adapter exception is not evidence that a model failed. A successful command is not evidence that a GUI opened, a host refreshed, or a user-visible workflow succeeded.
Do not expand DevSpace's responsibility while fixing a local symptom. Host UI, provider model naming, tunnel management, and duplicated review experiences require an explicit product decision.
Verify the real path
Determine how the user will consume the change and verify that path. Behavior may differ between:
- the source checkout and the packaged
npm/npxinstallation; - a direct terminal client and a real MCP host;
- a fresh process and a server or host that needs restarting;
- checkout mode and worktree mode;
- Linux, macOS, and Windows Bash environments;
- minimal, full, and Codex-compatible tool surfaces;
- widgets enabled, disabled, or limited to change review.
State clearly when only a narrower proxy was verified. For model-facing schemas, inspect what the host receives. For UI and artifacts, inspect the rendered result rather than inferring success from the producing command.
Trace affected contracts
When changing a cross-cutting concept, check every surface it actually reaches:
- MCP schema, handler, description, and response;
- workspace lifecycle and instruction loading;
- allowed-root and path-containment behavior;
- checkout and worktree modes;
- process and subagent lifecycle;
- tool-surface filtering;
- widgets, artifacts, and review checkpoints;
- persistence and migrations;
- packaged entry points, documentation, and examples.
This is a map, not a requirement to touch every surface on every change. Avoid both incomplete contracts and speculative edits.
Pull requests
Only create or update a PR when explicitly asked, and read CONTRIBUTING.md first. Keep a PR focused on one coherent concern and use a conventional title such as fix:, feat:, docs:, refactor:, or chore:.
Write the body as a few natural paragraphs explaining the problem and solution. Include verification, risk, or migration context only when it helps the reviewer. Avoid generated boilerplate, commit inventories, file-by-file narration, generic checklists, and mandatory Testing sections.
For UI changes, include before/after images and a short interaction video when behavior changes. Inspect the final diff before filing. When available, use the file-pr workflow to file the PR and babysit-pr to monitor CI and reviews.
Where code lives
src/server.ts— MCP server setup, tool registration, and response wiring.src/workspaces.ts— workspace lifecycle, instructions, skills, and profiles.src/roots.ts— allowed roots and path containment.src/process-sessions.ts— long-running process lifecycle.src/git.tsandsrc/git-worktrees.ts— Git and worktree operations.src/local-agent-*.ts— subagent configuration, providers, and execution.src/artifact-*.tsandsrc/incoming-artifacts.ts— artifact handling.src/review-checkpoints.ts— persisted change-review checkpoints.src/ui/— MCP widgets.src/db/— persisted local state and migrations.test/— behavior and regression tests.
Start at the boundary named by the problem and follow the data. Keep policy in DevSpace, provider translation in adapters, and important behavior in schemas, types, checks, or explicit tool results rather than hidden prompt conventions.
Project taste
- Prefer explicit lifecycle and state over hidden autonomy.
- Make tasks, inputs, outputs, failures, and ownership inspectable.
- Keep subagent execution composable and independently testable.
- Preserve host and provider data unless DevSpace has a concrete reason to normalize it.
- Add compatibility behavior only for an identified consumer with a real upgrade path.
- Reuse glossary terms in schemas, types, documentation, and errors.
- Keep the execution layer small, reliable, and unsurprising.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

