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

# Agent development lifecycle

> An end-to-end look at building and improving a Cognigy agent: design, test, deploy, and analyze, with the features for each phase.

Building an agent isn't a one-time setup. It's a loop. You design it, test it, deploy it to real users, analyze how it performs in production, then feed what you learn back into the next round of design. This page walks through each phase and links to the features you'll use along the way.

## Lifecycle phases

![Agent lifecycle: design flows into test, then deploy, then analyze. Issues found during test, and issues found during analyze that need a redesign, both loop back to design.](https://mintcdn.com/cognigy-15abf2ba/ROgMYmZkmnKB5Hx7/_assets/ai/onboarding/agent-lifecycle-flow.svg?fit=max\&auto=format\&n=ROgMYmZkmnKB5Hx7\&q=85\&s=f01d7e27ff0f921c15f80bf8d2235288)

### Design

Design is where an agent takes shape. You set up what it knows and how it behaves, and build the conversational logic around it, so it can handle your customers' requests in your brand's voice.

Use the following resources to design your agent:

* [Agents](https://docs.cognigy.com/ai/agents/overview) — automate customer conversations. An agent uses a language model and tools to respond to customers and perform actions, such as looking up an order or sending a confirmation email. Agents contain:
  * [Voice](https://docs.cognigy.com/ai/agents/develop/voice/overview) — let an agent talk to callers over the phone.
  * [Knowledge](https://docs.cognigy.com/ai/agents/develop/knowledge.md) — let an agent answer from your own content.
  * [Skills](https://docs.cognigy.com/ai/agents/develop/skills.md) — attach reusable capabilities to an agent.
  * [Tools](https://docs.cognigy.com/ai/agents/develop/tools.md) — let an agent call APIs, search knowledge, or send emails.
  * [Hooks](https://docs.cognigy.com/ai/agents/develop/hooks.md) — run a flow before every agent turn to change a message or add context.
  * [System prompt](https://docs.cognigy.com/ai/agents/develop/system-prompt.md) — view or replace the prompt that the model receives on every turn.
* [Flows](https://docs.cognigy.com/ai/agents/develop/projects-and-flows/overview) — add a deterministic layer to your agent with:
  * [Nodes](https://docs.cognigy.com/ai/agents/develop/nodes/overview) — build flows from actions and decision points.
  * [Extensions](https://docs.cognigy.com/ai/for-developers/extensions.md) — add custom nodes and knowledge connectors.
* [Directory](https://docs.cognigy.com/ai/directory.md) — install prebuilt extensions and knowledge connectors.
* [xApps](https://docs.cognigy.com/xApps/overview.md) — add micro-web apps for customer self-service.
* [Agent Copilot](https://docs.cognigy.com/ai/escalate/agent-copilot.md) — give human agents context and next-step suggestions during conversations.
* [API and CLI](https://docs.cognigy.com/ai/for-developers/developers/api-and-cli.md) — build custom integrations, manage agents, and automate workflows.
* [NiCE Cognigy plugin](https://docs.cognigy.com/ai/for-developers/developers/cognigy-plugin.md) — build, test, and improve agents from AI tools such as Claude Code through the Model Context Protocol (MCP).

### Test

Before customers talk to your agent, run conversations with it and automate repeatable checks. This way, you catch broken logic, wrong answers, and regressions while they're still cheap to fix.

Cognigy provides several testing features:

* [Interaction panel](https://docs.cognigy.com/ai/agents/test/interaction-panel/overview) — chat with or call an agent and trace what it does in each turn.
* [Simulator](https://docs.cognigy.com/ai/agents/test/simulator/overview) — model and test full conversations with scenarios powered by large language models (LLMs).
* [Playbooks](https://docs.cognigy.com/ai/agents/test/playbooks) — run conversation scripts automatically to test flows.
* [Mocking](https://docs.cognigy.com/ai/agents/test/mocking.md) — replace node logic with mock code to test different scenarios.
* [Logs](https://docs.cognigy.com/ai/agents/test/logs.md) — inspect input and output messages and find where errors occur.

### Deploy

Once the agent passes your tests, release it to production and connect it to the channels your customers already use. Set up a path to human agents too, for conversations that the agent can't handle.

The following features and resources allow you to bring your agents into production:

* [Snapshots](https://docs.cognigy.com/ai/agents/deploy/snapshots.md) — create immutable versions of an agent to deploy, back up, or restore.
* [Packaging](https://docs.cognigy.com/ai/platform-features/packages.md) — export and import selected project resources to share with other teams.
* [Endpoints](https://docs.cognigy.com/ai/agents/deploy/endpoints/overview) — connect agents to external platforms and channels for chat and voice.
* [Cognigy Webchat](https://docs.cognigy.com/webchat/overview.md) — embed a chat interface on your website.
* [Click To Call](https://docs.cognigy.com/click-to-call/overview.md) — let end users talk to a voice agent with a single click.
* [Handover providers](https://docs.cognigy.com/ai/escalate/handovers.md) — hand conversations over to human agents in your contact center.

### Analyze

Real conversations show what your tests couldn't. Review how they went and measure the outcomes to learn where the agent works well and where it needs another design round.

You can use the following metrics and data:

* [Insights](https://docs.cognigy.com/ai/agents/analyze/insights.md) — view analytics and visualizations of agent interactions.
* [Conversation analyzer](https://docs.cognigy.com/insights/conversation-analyzer/overview) — score conversations against predefined and custom criteria.
* [Goals and tasks](https://docs.cognigy.com/ai/agents/analyze/goals-and-tasks/overview) — track specific outcomes and events in a flow.
* [Contact profiles](https://docs.cognigy.com/ai/agents/analyze/contact-profiles.md) — view the data collected about users and their conversations.
* [Call tracing](https://docs.cognigy.com/ai/agents/analyze/call-tracing.md) — record and debug voice calls.
* [Cognigy OData analytics endpoint](https://docs.cognigy.com/ai/agents/analyze/odata.md) — export analytics data to BI tools.
