# Specification and Review Scaffolding for AI Agent Workflows

## Documentation for package ‘agentr’ version 0.2.8.4

- DESCRIPTION file.
- Package NEWS.

## Help Pages

A B C D E I K L M N P R S T V W

## -- A --

add_child_task_node | Add a child task to a task-family workflow
AEConfig | AEConfig
AffectiveConfig | AffectiveConfig
AffectiveState | AffectiveState
AgentCore | AgentCore
agentr_workspace_paths | Return standard 'agentr' workspace paths
AgentScaffoldState | AgentScaffoldState
AgentSpec | AgentSpec
append_decision_trace | Append a decision trace
append_reflection_trace | Append a reflection trace
apply_design_feedback | Apply structured design feedback
apply_initial_spec_message | Apply an initial LLM response into a workspace proposal state
apply_knowledge_message | Apply a knowledge message
apply_memory_message | Apply a memory message
apply_node_detail_message | Apply a node-detail LLM response into a workspace workflow proposal
apply_revision_message | Apply a revision LLM response into a workspace proposal state
apply_scaffolder_message | Apply a machine-readable scaffolder message
approve_workspace_proposal | Approve a workspace proposal
article_workflow_specs_from_json | Build workflow specifications from article extraction JSON

## -- B --

backup_agent | Backup an 'agentr' object with a timestamped filename
build_agent_design_prompt | Build an LLM prompt for agent design decisions
build_article_workflow_extraction_prompt | Build a workflow extraction prompt from an article
build_design_review_data | Build design-review data
build_implementation_prompt | Build an implementation prompt for a coding agent
build_initial_spec_prompt | Build an initial design prompt into a workspace
build_knowledge_conflict_check_prompt | Build a knowledge conflict-check prompt
build_knowledge_design_prompt | Build a knowledge design prompt
build_knowledge_elicitation_prompt | Build a knowledge elicitation prompt
build_knowledge_normalization_prompt | Build a knowledge normalization prompt
build_memory_revision_prompt | Build a memory revision prompt
build_memory_schema_prompt | Build a memory schema prompt
build_node_detail_prompt | Build a node-detail revision prompt
build_revision_prompt | Build a revision prompt into a workspace
build_scaffolder_prompt | Build an LLM prompt for scaffolding decisions
build_workflow_extraction_prompt | Build a workflow extraction prompt from existing code
build_workspace_implementation_prompt | Build an implementation handoff prompt from workspace artifacts

## -- C --

child_task_node | Create a child-task workflow node
CognitiveConfig | CognitiveConfig
CognitiveState | CognitiveState
collect_scaffolder_questions | Collect human-facing questions from scaffolding output
combine_emotions | Combine two emotion values
compute_blended_emotions | Compute blended emotions from primary emotions
create_decision_trace | Create a decision trace
create_reflection_trace | Create a reflection trace

## -- D --

decay_emotion_state | Apply time-based decay to an affective state
default_emotion_state | Create a default affective state
define_random_emotion_state | Create a randomized affective state
describe_emotional_state | Describe an affective state in natural language
DesignReviewSpec | DesignReviewSpec
design_feedback_item | Create a structured design-feedback item
design_review_html | Build standalone design-review HTML
discover_task_specs | Discover task-local spec files

## -- E --

export_design_review_html | Export standalone design-review HTML
export_workspace_design_review | Export workspace design-review HTML

## -- I --

IACConfig | IACConfig
import_extracted_workflow | Import extracted workflow JSON into agentr
inferencer_available | Check whether 'inferencer' is available
inferencer_integration | Build optional integration metadata for 'inferencer'
init_agentr_proposal_states | Initialize proposal-state artifacts for an 'agentr' workspace
init_agentr_workspace | Initialize a generic 'agentr' lifecycle workspace
IntelligentAgent | IntelligentAgent

## -- K --

KnowledgeProposal | KnowledgeProposal
KnowledgeProposalState | KnowledgeProposalState
KnowledgeSpec | KnowledgeSpec
knowledge_action_methods | List LLM-callable knowledge methods
knowledge_graph_data | Build graph data from knowledge, memory, or a graph representation
knowledge_graph_from_spec | Build a graph representation from a knowledge or memory spec

## -- L --

LAConfig | LAConfig
list_workspace_proposals | List workspace proposals
load_agent | Load an 'agentr' object from a file
load_agent_spec | Load an 'AgentSpec' from a file
load_design_feedback | Load structured design feedback
load_design_review_spec | Load a design-review specification
load_json_file | Load a JSON file
load_knowledge_proposal | Load a knowledge proposal
load_knowledge_spec | Load a knowledge specification
load_knowledge_spec_json | Load a knowledge specification from JSON
load_knowledge_spec_yaml | Load a knowledge specification from YAML
load_memory_spec | Load a 'MemorySpec' from a file
load_memory_spec_json | Load a 'MemorySpec' from JSON
load_memory_spec_yaml | Load a 'MemorySpec' from YAML
load_subsystem_spec | Load a 'SubsystemSpec' from a file
load_task_specs | Load task-local specs
load_workflow_proposal | Load a workflow proposal
load_workflow_spec | Load a workflow specification
load_workflow_spec_json | Load a workflow specification from JSON
load_workflow_spec_yaml | Load a workflow specification from YAML
load_yaml_file | Load a YAML file

## -- M --

mark_node_agent_owned | Mark a workflow node as agent-owned
mark_node_human_owned | Mark a workflow node as human-owned
MemoryProposal | MemoryProposal
MemoryProposalState | MemoryProposalState
MemorySpec | MemorySpec
memory_action_methods | List LLM-callable memory methods
memory_field | Create a memory field record
memory_persistence_policies | Memory persistence policies
memory_schema_graph_data | Convert a MemorySpec into graph-ready data
memory_types | Memory types

## -- N --

new_design_review_spec | Create a design-review specification
new_task_family_workflow | Create a task-family workflow
new_workflow_spec | Create a workflow specification
normalize_subsystem_key | Normalize subsystem keys

## -- P --

parse_design_feedback_json | Parse design feedback JSON
parse_knowledge_message | Parse a knowledge message
parse_memory_message | Parse a memory message
parse_scaffolder_message | Parse an LLM scaffolder message
PGConfig | PGConfig
plot_knowledge_graph | Plot a graph-shaped knowledge or memory representation
plot_workflow_graph | Plot a workflow graph with DiagrammeR
preview_design_feedback | Preview design feedback application
preview_knowledge_message | Preview a knowledge message
preview_memory_message | Preview a memory message
preview_scaffolder_message | Preview a machine-readable scaffolder message without mutating live workflow
print.agentr_workflow_proposal | Format a workflow proposal
print.agentr_workflow_spec | Format a workflow specification

## -- R --

read_decision_traces | Read decision traces
read_reflection_traces | Read reflection traces
reject_workspace_proposal | Reject a workspace proposal
render_knowledge_graphviz | Render a graph representation as Graphviz DOT, DiagrammeR, or SVG
render_markdown_terminal | Render markdown-like text for terminal output
render_memory_schema_graphviz | Render a MemorySpec as Graphviz DOT, DiagrammeR, or SVG
render_schema_shape_graphviz | Render a schema shape as Graphviz DOT, DiagrammeR, or SVG
render_task_preview | Render one task-local design-review preview
render_task_previews | Render task-local design-review previews under a workspace
render_workflow_graphviz | Render a workflow as Graphviz DOT, DiagrammeR, or SVG
RWMConfig | RWMConfig

## -- S --

save_agent | Save an 'agentr' object to a file
save_agent_spec | Save an 'AgentSpec' to a file
save_design_feedback | Save structured design feedback
save_design_review_spec | Save a design-review specification
save_knowledge_proposal | Save a knowledge proposal
save_knowledge_spec | Save a knowledge specification
save_knowledge_spec_json | Save a knowledge specification as JSON
save_knowledge_spec_yaml | Save a knowledge specification as YAML
save_memory_spec | Save a 'MemorySpec' to a file
save_memory_spec_json | Save a 'MemorySpec' as JSON
save_memory_spec_yaml | Save a 'MemorySpec' as YAML
save_subsystem_spec | Save a 'SubsystemSpec' to a file
save_workflow_proposal | Save a workflow proposal
save_workflow_spec | Save a workflow specification
save_workflow_spec_json | Save a workflow specification as JSON
save_workflow_spec_yaml | Save a workflow specification as YAML
Scaffolder | Scaffolder
scaffolder_action_methods | List LLM-callable scaffolder methods
schema_shape_graph_data | Convert a schema shape into graph-ready data
set_workflow_node_automation_status | Set one workflow node automation status
set_workflow_node_owner | Set one workflow node owner
SubsystemSpec | SubsystemSpec

## -- T --

task_family_metadata | Create task-family metadata
task_spec_paths | Return conventional task-local spec paths
terminal_ask_node_complete | Ask for workflow-node completeness in the terminal
terminal_ask_node_rule | Ask for a node-specific rule in the terminal
terminal_ask_workflow_changes | Ask for workflow changes in the terminal
terminal_discuss_task | Capture free-form terminal feedback and record it in the scaffolder
terminal_scaffold_input | Prompt for terminal input during scaffolding

## -- V --

validate_design_feedback | Validate structured design feedback
validate_design_review_spec | Validate a design-review specification
validate_knowledge_item | Validate a knowledge specification item
validate_knowledge_proposal | Validate a knowledge proposal
validate_knowledge_spec | Validate a knowledge specification
validate_memory_field | Validate a memory field
validate_memory_proposal | Validate a memory proposal
validate_memory_spec | Validate a MemorySpec
validate_scaffolder_message | Validate a machine-readable scaffolder message
validate_task_specs | Validate task-local specs
validate_workflow_proposal | Validate a workflow proposal
validate_workflow_spec | Validate a workflow specification

## -- W --

WorkflowProposal | WorkflowProposal
WorkflowProposalState | WorkflowProposalState
workflow_edge | Create a workflow edge record
workflow_graph_data | Convert a workflow specification into graph-ready data
workflow_node | Create a workflow node record
workflow_proposal_graph_data | Convert a workflow proposal into graph-ready data
workflow_spec_from_json | Build a workflow specification from extracted JSON
workflow_spec_from_yaml | Build a workflow specification from YAML