Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.63 KB

File metadata and controls

56 lines (38 loc) · 1.63 KB
layout default
title Chapter 6: Client/Server and Remote Workflows
nav_order 6
parent OpenCode Tutorial

Chapter 6: Client/Server and Remote Workflows

Welcome to Chapter 6: Client/Server and Remote Workflows. In this part of OpenCode Tutorial: Open-Source Terminal Coding Agent at Scale, you will build an intuitive mental model first, then move into concrete implementation details and practical production tradeoffs.

OpenCode's client/server architecture enables remote control patterns beyond a single terminal session.

Why This Matters

Remote-capable architecture supports:

  • persistent coding sessions
  • device handoff workflows
  • desktop/mobile companion clients
  • shared team operations patterns

Operational Design Considerations

Concern Practice
session persistence define lifecycle and timeout policy
auth short-lived credentials and rotation
transport security encrypted channel and boundary controls
remote execution risk policy-gated command surfaces

Source References

Summary

You now understand how OpenCode can evolve from local tooling into a remote-capable agent platform.

Next: Chapter 7: Integrations: MCP, LSP, and Extensions

How These Components Connect

flowchart LR
    A[Remote Client] --> B[OpenCode Server]
    B --> C[Session Manager]
    C --> D[Agent Runtime]
    D --> E[Shared Workspace]
    B --> F[Auth Layer]
    F --> C
Loading