The language holding our agents back.

8 April 2026 · Original source →

ONE SENTENCE SUMMARY Bash alone isn’t enough; future AI agents require typed environments, code-driven tool calls, and safe, portable execution layers for reliability.

MAIN POINTS:

  1. Bash is a stepping stone, not the final execution layer for AI agents.
  2. Real-world tools enable models to operate systems more effectively than Bash alone.
  3. Tokenization and context windows cap usable code tokens; large contexts hurt.
  4. Dumping entire codebases into context is costly and harmful.
  5. Small, deterministic GP commands fetch needed context instead of full dumps.
  6. More tokens increase randomness; keep token pile small for reliable outputs.
  7. Code-based tool discovery beats bloated MCP repositories.
  8. TypeScript/JavaScript sandboxes offer portable, safe execution beyond Bash.
  9. Bash lacks standards for destructive actions; approvals are needed.
  10. Portable TypeScript environments enable team-wide sharing of runtimes.

TAKEAWAYS:

  1. Bash isn’t enough; adopt typed, code-driven environments for agents.
  2. Avoid dumping large codebases; fetch minimal context via targeted commands.
  3. Use TS SDKs and sandboxes to run tools safely at scale.
  4. Implement strict permission models and destruction controls.
  5. Create portable, shareable environment definitions for teams.

The language holding our agents back.

Summary

Bash is a useful starting point but insufficient for robust agent systems. Agents benefit from typed runtimes, code-driven tool usage, and safe, scalable execution layers that go beyond Bash. A shift toward TypeScript-based environments, SDKs, and sandboxed execution enables safer, more reliable automation and collaboration.

Key Wisdom

  1. Bash is a stepping stone, not the final execution layer for AI agents.
  2. Tools like Cursor, Claude Code, Codex CLI improve agents’ system access.
  3. Tokenization and context windows limit how much code context a model can use.
  4. Dumping entire codebases into context is costly and harmful.
  5. Small, deterministic GP commands fetch needed context instead of full dumps.
  6. More tokens increase randomness; keep token pile small for reliable outputs.
  7. Code-based tool discovery beats bloated MCP repositories.
  8. TypeScript/JavaScript sandboxes offer portable, safe execution beyond Bash.
  9. Bash lacks standards for destructive actions; approvals are needed.
  10. Portable TypeScript environments enable sharing and configuring agent runtimes.

Actionable Advice

  1. Avoid feeding full codebases; use targeted code queries to fetch 8–16 lines.
  2. Prefer TypeScript SDKs over MCP dumps to minimize tokens and maximize determinism.
  3. Build sandboxed environments (just JS/TS) for safe, isolated agent execution.
  4. Implement clear permission models with destructive-action controls and approvals.
  5. Create portable, shareable environment definitions for your team’s agents.