# Archon Prompt Builder Architecture for AI Assistant Interactions

> Explore Archon's prompt builder architecture. Discover how it creates deterministic system prompts using project metadata, workflow definitions, and routing rules via modular formatters.

- Repository: [Cole Medin/Archon](https://github.com/coleam00/Archon)
- Tags: architecture
- Published: 2026-04-10

---

**Archon’s prompt builder assembles deterministic system prompts by combining project metadata, workflow definitions, and routing rules through modular formatter functions located in [`packages/core/src/orchestrator/prompt-builder.ts`](https://github.com/coleam00/Archon/blob/main/packages/core/src/orchestrator/prompt-builder.ts).**

The **prompt builder for AI assistant interactions** in the coleam00/Archon repository provides a structured approach to contextualizing LLM conversations. Located in the core orchestrator package, this TypeScript module transforms database records and workflow definitions into markdown system prompts that guide Claude or Codex models in routing user requests between direct answers and workflow invocations.

## Architecture of the Prompt