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

# learn • AI Agent SDK

> Grounded skill-authoring prompt builder for the 'learn from sources' flow.

# learn

AI Agent

Grounded skill-authoring prompt builder for the "learn from sources" flow.

This module hosts :func:`build_learn_prompt`, a curated authoring directive that
turns a user request like *"read ./my-repo and the docs in ./docs/*.pdf and make
a 'deploy-flow' skill"\* into a single-turn instruction. The agent then gathers
the named sources with the tools it already has (file read, fetch, PDF read) and
authors **one grounded SKILL.md** via the existing `skill_manage` tool.

It is intentionally prompt-only (no heavy imports, no new engine) so it stays in
the core SDK alongside the skills subsystem.

## Import

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents.skills import learn
```

## Functions

> [card] [build\_learn\_prompt()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/build_learn_prompt.md)
>
> Build a grounded skill-authoring directive from a user request.

### Constants

| Name | Value |
| - | - |
| `_LEARN_HOUSE_STYLE` | `'You are authoring a single, reusable Agent Skill by learning from real source material.\n\nThe user\'s request describes the sources to learn from and the skill to produce:\n&lt;request&gt;\n{request}\n&lt;/r...` |

***

## Related Documentation

> [card] [Agent Learn](https://praison.ai/docs/docs/concepts/agent-learn)

> [card] [Learn Configuration](https://praison.ai/docs/docs/configuration/learn-config)


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