> For the complete documentation index, see [llms.txt](https://pycai.gitbook.io/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pycai.gitbook.io/welcome/readme.md).

# Welcome

This is a asynchronous and synchronous library for working with character.ai for Python

You can manage your account and communicate with characters, the functionality of the library is constantly expanding

Attention! This is an unofficial library, the developers did not participate in the creation of the library, and most likely do not even know about it

If you have any questions or just want to chat about character.ai, go to [Discord](https://discord.gg/ZHJe3tXQkf) Server

## Installation

```bash
pip install characterai
```

## Why did you make this library?

I want to make a Telegram bot to communicate with c.ai characters

When I was making code to work with the site, I decided that it would be better to make my own library, in case other people needed it

Also, I'm interested in finding something in someone else's code, so I'm interested in how it works c.ai

## Donate

If you really liked my work and you want to support me financially:

[Qiwi](http://qiwi.com/n/KRAMCAT)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pycai.gitbook.io/welcome/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
