> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corti.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Beginners' Guide to Agents

> How LLM agents work in the Corti Agentic Framework

export const Lottie = ({path, width = '100%', maxWidth = '800px', height = 'auto', loop = true, autoplay = true, id}) => {
  const hashString = value => {
    const str = typeof value === 'string' ? value : '';
    let hash = 5381;
    for (let i = 0; i < str.length; i += 1) {
      hash = (hash << 5) + hash + str.charCodeAt(i);
    }
    return (hash >>> 0).toString(36);
  };
  const resolvedId = id || `lottie-${hashString(path)}`;
  const initScript = `
    (function() {
      var containerId = ${JSON.stringify(resolvedId)};
      var path = ${JSON.stringify(path)};
      var loop = ${loop};
      var autoplay = ${autoplay};

      function init() {
        var el = document.getElementById(containerId);
        if (!el || !window.lottie) return;
        window.lottie.loadAnimation({
          container: el,
          renderer: 'svg',
          loop: loop,
          autoplay: autoplay,
          path: path
        });
      }

      function run() {
        if (window.lottie) {
          init();
          return;
        }

        var existing = document.querySelector('script[data-lottie-lib="true"]');
        if (!existing) {
          existing = document.createElement('script');
          existing.src = 'https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.12.2/lottie.min.js';
          existing.async = true;
          existing.dataset.lottieLib = 'true';
          document.body.appendChild(existing);
        }
        existing.addEventListener('load', init, { once: true });
      }

      if (document.readyState === 'complete') {
        setTimeout(run, 0);
      } else {
        window.addEventListener('load', run, { once: true });
      }
    })();
  `;
  return <div style={{
    width,
    maxWidth,
    height,
    margin: '2rem auto',
    display: 'flex',
    justifyContent: 'center'
  }}>
      <div id={resolvedId} style={{
    width: '100%',
    height: '100%'
  }} />
      <script dangerouslySetInnerHTML={{
    __html: initScript
  }} />
    </div>;
};

<Lottie path="https://cdn.prod.website-files.com/679910de24e675a93f045f3b/6936f1b564aa4c4b2f080040_age-hero.json" />

In healthcare, an **LLM agent** is not a chatbot trying to answer everything on its own. The language model is used primarily for reasoning and planning, understanding a request, breaking it down, and deciding which experts, tools, or data sources are best suited to handle each part of the task.

Instead of relying on internal knowledge, agents retrieve information from trusted external knowledge bases, clinical systems, and customer-owned data at runtime. When appropriate, they can also take controlled actions, such as writing structured data back to an EHR, triggering downstream workflows, or sending information to other systems.

The **Corti Agentic Framework** is the healthcare-grade platform that makes this possible in production. It provides the orchestration layer that allows agents to delegate work to specialized experts, operate within strict safety and governance boundaries, and remain fully auditable. This enables AI systems that can reason, look things up, and act, without guessing or bypassing clinical control.
