% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/agent__initialize.R
\name{.create_agent}
\alias{.create_agent}
\title{Create the LangGraph Agent}
\usage{
.create_agent(
  llm,
  tools,
  use_memory_folding,
  memory_threshold,
  memory_keep_recent,
  fold_char_budget = ASA_DEFAULT_FOLD_CHAR_BUDGET,
  min_fold_batch = ASA_DEFAULT_MIN_FOLD_BATCH,
  min_fold_chars = ASA_DEFAULT_MIN_FOLD_CHARS,
  min_fold_tokens_est = ASA_DEFAULT_MIN_FOLD_TOKENS_EST,
  summarizer_max_output_tokens = ASA_DEFAULT_MEMORY_SUMMARIZER_MAX_OUTPUT_TOKENS,
  om_config = NULL,
  langgraph_node_retries = FALSE,
  langgraph_cache_enabled = FALSE
)
}
\arguments{
\item{llm}{LLM instance}

\item{tools}{List of tools}

\item{use_memory_folding}{Whether to use memory folding}

\item{memory_threshold}{Messages before folding}

\item{memory_keep_recent}{Exchanges to keep}

\item{fold_char_budget}{Char budget before fold triggers}
}
\description{
Create the LangGraph Agent
}
\keyword{internal}
