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

# How It Works

> Architect looks deceptively simple. Under the hood, it provides granular controls for execution strategy, data injection, and aesthetic design.

![Main Interface](https://mintcdn.com/lyzrinc/_Fzujz3BQVKbTnSc/images/architect/architect-homepage-zoomed.png?fit=max\&auto=format\&n=_Fzujz3BQVKbTnSc\&q=85\&s=d00cacbedf81e5ef8eb6e42f2d277937)

## Context Injection (RAG)

Your app shouldn't be empty. Ground your agents in your own proprietary data using the **Attach** feature.

* **Unstructured Data (PDF/Docx):** Automatically chunked and embedded into a Vector Database for semantic search.
* **Structured Data (CSV/Excel):** Loaded into a dataframe for the Data Analyst agent to query and visualize.

![Attachment Interface](https://mintcdn.com/lyzrinc/_Fzujz3BQVKbTnSc/images/architect/homepage-add-files.png?fit=max\&auto=format\&n=_Fzujz3BQVKbTnSc\&q=85\&s=85c2337cf82df3ac5b958900c4d261bd)

## Visual Personality

Architect doesn't just generate code; it designs it. The Theme Engine injects a specific design system (Tailwind Config + Fonts) into the generated code.

> [card] Heritage Premium
>
> Serif-heavy, warm backgrounds. Best for editorial, legal, or premium SaaS.

> [card] Heritage Dark
>
> High-contrast, developer-focused aesthetic. Best for dashboards.

![Theme Selector](https://mintcdn.com/lyzrinc/_Fzujz3BQVKbTnSc/images/architect/homepage-select-theme.png?fit=max\&auto=format\&n=_Fzujz3BQVKbTnSc\&q=85\&s=08feeffc65484ef46d4eff127b46057b)

## Prompt Library

Struggling to articulate your requirements? Architect provides a context-aware Prompt Library accessible from the homepage sidebar. These are pre-engineered prompts known to produce high-quality agentic workflows.

![Templates](https://mintcdn.com/lyzrinc/_Fzujz3BQVKbTnSc/images/architect/prompt_library.png?fit=max\&auto=format\&n=_Fzujz3BQVKbTnSc\&q=85\&s=ececfd534d8b6efae17611de03c25360)

## Add Studio Agents

Already have agents built in Lyzr Studio? You don't need to rebuild them. Architect lets you import any existing Studio agent directly into your app, so you can compose new experiences on top of work you've already done.

![Add studio agents option in the homepage menu](https://mintcdn.com/lyzrinc/_Fzujz3BQVKbTnSc/images/architect/homepage-import-agent.png?fit=max\&auto=format\&n=_Fzujz3BQVKbTnSc\&q=85\&s=35b5cacd635e0c7f20112d0c8470dbb0)

From the `+` menu on the homepage, select **Add studio agents** to browse and pick from your existing agents. Architect wires the selected agent into the app it generates, so your custom prompts, tools, and knowledge bases carry over as-is.

![Choose Agent modal showing the list of existing Studio agents](https://mintcdn.com/lyzrinc/_Fzujz3BQVKbTnSc/images/architect/import-studio-agent.png?fit=max\&auto=format\&n=_Fzujz3BQVKbTnSc\&q=85\&s=0b894897a15f9af53f73e0e3278ea19b)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.