# batprem/--ccaf architecture

> Architecture diagram of the GitHub repository batprem/--ccaf, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/batprem/--ccaf
- Repository: https://github.com/batprem/--ccaf

## Overview

This repository is a documentation collection about agentic systems, not an executable application. Its two directories organize material on agent orchestration and tool design/integration. The PDFs are represented as document nodes; the supplied tree does not establish a reading sequence or runtime relationships, and no README or source excerpts were provided, so no edges are asserted.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_agent_workflows["Agent workflows"]
  node_agentic_loop["Agentic loop"]
  node_orchestration_patterns["Orchestration patterns"]
  node_subagent_context["Subagent invocation"]
  node_workflow_handoff["Workflow handoff"]
  node_sdk_hooks["SDK hooks"]
  node_task_decomposition["Task decomposition"]
  node_session_resumption["Session resumption"]
end

subgraph group_tool_design["Tool design"]
  node_tool_schema["Tool schemas"]
  node_structured_errors["Structured errors"]
  node_tool_distribution["Tool distribution"]
  node_mcp_integration["MCP integration"]
  node_built_in_tools["Built-in tools"]
end

click node_agentic_loop "https://github.com/batprem/--ccaf/blob/main/domain_1/1.1_agentic_loop.pdf"
click node_orchestration_patterns "https://github.com/batprem/--ccaf/blob/main/domain_1/1.2_orchestration_patterns.pdf"
click node_subagent_context "https://github.com/batprem/--ccaf/blob/main/domain_1/1.3_subagent_invocation_context.pdf"
click node_workflow_handoff "https://github.com/batprem/--ccaf/blob/main/domain_1/1.4_workflow_enforcement_handoff.pdf"
click node_sdk_hooks "https://github.com/batprem/--ccaf/blob/main/domain_1/1.5_agent_sdk_hooks.pdf"
click node_task_decomposition "https://github.com/batprem/--ccaf/blob/main/domain_1/1.6_task_decomposition.pdf"
click node_session_resumption "https://github.com/batprem/--ccaf/blob/main/domain_1/1.7_session_state_resumption.pdf"
click node_tool_schema "https://github.com/batprem/--ccaf/blob/main/domain_2/2.1_tool_schema_design.pdf"
click node_structured_errors "https://github.com/batprem/--ccaf/blob/main/domain_2/2.2_structured_error_responses.pdf"
click node_tool_distribution "https://github.com/batprem/--ccaf/blob/main/domain_2/2.3_tool_distribution_choice.pdf"
click node_mcp_integration "https://github.com/batprem/--ccaf/blob/main/domain_2/2.4_mcp_server_integration.pdf"
click node_built_in_tools "https://github.com/batprem/--ccaf/blob/main/domain_2/2.5_built_in_tools.pdf"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_agentic_loop,node_orchestration_patterns,node_subagent_context,node_workflow_handoff,node_sdk_hooks,node_task_decomposition,node_session_resumption toneBlue
class node_tool_schema,node_structured_errors,node_tool_distribution,node_mcp_integration,node_built_in_tools toneAmber
```

## Components

### Agent workflows

- [Agentic loop](https://github.com/batprem/--ccaf/blob/main/domain_1/1.1_agentic_loop.pdf): `domain_1/1.1_agentic_loop.pdf`
- [Orchestration patterns](https://github.com/batprem/--ccaf/blob/main/domain_1/1.2_orchestration_patterns.pdf): `domain_1/1.2_orchestration_patterns.pdf`
- [Subagent invocation](https://github.com/batprem/--ccaf/blob/main/domain_1/1.3_subagent_invocation_context.pdf): `domain_1/1.3_subagent_invocation_context.pdf`
- [Workflow handoff](https://github.com/batprem/--ccaf/blob/main/domain_1/1.4_workflow_enforcement_handoff.pdf): `domain_1/1.4_workflow_enforcement_handoff.pdf`
- [SDK hooks](https://github.com/batprem/--ccaf/blob/main/domain_1/1.5_agent_sdk_hooks.pdf): `domain_1/1.5_agent_sdk_hooks.pdf`
- [Task decomposition](https://github.com/batprem/--ccaf/blob/main/domain_1/1.6_task_decomposition.pdf): `domain_1/1.6_task_decomposition.pdf`
- [Session resumption](https://github.com/batprem/--ccaf/blob/main/domain_1/1.7_session_state_resumption.pdf): `domain_1/1.7_session_state_resumption.pdf`

### Tool design

- [Tool schemas](https://github.com/batprem/--ccaf/blob/main/domain_2/2.1_tool_schema_design.pdf): `domain_2/2.1_tool_schema_design.pdf`
- [Structured errors](https://github.com/batprem/--ccaf/blob/main/domain_2/2.2_structured_error_responses.pdf): `domain_2/2.2_structured_error_responses.pdf`
- [Tool distribution](https://github.com/batprem/--ccaf/blob/main/domain_2/2.3_tool_distribution_choice.pdf): `domain_2/2.3_tool_distribution_choice.pdf`
- [MCP integration](https://github.com/batprem/--ccaf/blob/main/domain_2/2.4_mcp_server_integration.pdf): `domain_2/2.4_mcp_server_integration.pdf`
- [Built-in tools](https://github.com/batprem/--ccaf/blob/main/domain_2/2.5_built_in_tools.pdf): `domain_2/2.5_built_in_tools.pdf`
