# Introduction

Embed an AI agent in your web app with one SDK — it interprets user intent, calls actions you define, navigates your UI, and renders components inline.

Foldspace is the **AI-Native agentic interface** for your product: the agent your users talk to instead of clicking through. It embeds in your web app through a single SDK, reads a request in natural language, then acts on it, calling actions you define, navigating your UI, filling and submitting forms, and rendering interactive components inline in the conversation.

And it doesn't stop at the interface. **Analytics** and **Trust Lab** come built in, so you can measure every conversation and validate the agent's behavior before changes reach users.

You configure what the agent can do in **Agent Studio** (actions, input schemas, knowledge, and navigation), then wire those actions to your application code with the SDK. The agent decides *when* to call an action; your handler runs it. For every response it assembles [three kinds of context](/guides/context/) in real time — **usage** (who the user is and what's on their page), **knowledge**, and **action** — so its answers are fast, grounded, and match what the user is doing right now.

## How it fits together

- **SDK**: a script you drop into your frontend (SPA or MPA). It loads asynchronously and renders the agent.
- **Agent Studio**: where you define actions, input schemas, knowledge, and behavior. Your Agent Key lives here.
- **Actions**: typed capabilities you implement in your app. The agent decides when to call them; your code executes them.
- **Chatterblocks**: interactive UI (forms, cards, dashboards) the agent renders inside the conversation.
- **Analytics**: measure conversations and product usage, and track cost and token consumption per action.
- **Trust Lab**: test the agent against scenarios and catch regressions on a schedule, before they reach users.

## Where to go next

- [Setup](/start/install/): install the SDK and show the agent.
- [User context](/start/user-context/): track users and subscriptions with custom attributes.
- [Implementing actions](/guides/connecting-actions/): wire actions to your app logic.
