construkt: open-source MCP server gives coding agents one-call machine awareness
MattMaxBuilds · reddit · 2026-12-05
Coding agents lack proprioception — they don't know what machine they're on, so they oversubscribe GPUs, fill disks, or burn multiple shell calls probing the environment. The author open-sourced construkt, an MIT-licensed MCP server with zero runtime deps.
What it does
- One orient call returns: local hardware and load (CPU/RAM/GPU/disk), other machines reachable via ssh/Tailscale, rclone storage, local time, and current task duration
- Inside containers it reads cgroup limits, so agents see the 2 CPUs they actually get, not the host's 8
- Tasks get self-clocking: each run is named, timed, and accumulated into medians; anything over 3x the median gets flagged, giving future sessions better estimates
- Strict rules: never guess (omit what can't be measured), never scan the network (reads only from ssh config/Tailscale/rclone)
Validation: across 5 days of real Claude Code, Codex, and Antigravity sessions with zero mentions in prompts, CLAUDE.md, or AGENTS.md, agents called orient 386 times on their own.
Install: bunx @instruktlabs/construkt install claude-code (also codex, cursor, opencode, cline, gemini, vscode, antigravity).
More from coding & agent
- ResearchVC: open-source version control that links every paper claim to the run that produced it — cneuralnetwork · 2026-12-05
- ansi: open-source terminal coding agent runs Claude Code and Codex in sandboxed micro-VMs — remilouf · 2026-12-05
- Agents now run productively for 2+ hours: $3.34 for a nearly 2-hour session — MikkoH · 2026-12-05
- Orchard Linux boots real Linux on iPad and iPhone, 96 devices supported in 7 weeks — Pytlicek · 2026-12-05
- Open-source glassmux adds on-device voice: talk to your coding agents by name — gmaggiotti · 2026-12-05
- MCP vs A2A explained — and the multi-owner agent coordination gap neither covers — FulcraDynamics · 2026-12-05