Workspace, Runtime, and Directories – Designing an Agent Orchestration Library A developer is designing an agent-orchestration library with a three-directory structure separating artifacts, secrets, and workspaces. The system uses agent identifiers with a prefix, name, and unique letter to manage branches and directories. A subcommand copies credentials from the host into a shared secrets directory for automatic authentication in containers. This is the first in a series of documents where I work through the architecture of an agent-orchestration library I'm building. This first one is about the environment in which the agent runs. The problem with one workspace is that it forces very different kinds of things to live in the same place: the code the agent works on, the artifacts it produces that I want to look at, and the secrets I hand it. For this I defined three directories: .artifacts/ agents/