pigo runtime layered architecture: user to CLI to agent loop to provider to LLM gateway, with tool path, session store and context compaction

pigo two-tier agent loop flowchart: inner turn loop and outer follow-up loop converging on a single finish() exit