# Introduction

{% hint style="warning" %}
Confect is pre-1.0 and its API is not yet stable.
{% endhint %}

Confect is a framework that deeply integrates [Effect](https://effect.website) with [Convex](https://convex.dev). It's more than just Effect bindings! Confect allows you to:

* Define your Convex database schema using Effect schemas.
* Use Confect functions to automatically decode and encode your data according to your Effect schema definitions when reading from and writing to the database.
* Write Convex function `args` and `returns` validators using Effect's Schema library.
* Use Effect-ified versions of all of the Convex server APIs (`Promise`s become `Effect`s, `A | null`s becomes `Option<A>`s, etc.).

It's recommended that you have some familiarity with both Effect and Convex, including the vanilla `convex-js` APIs, before getting started with Confect.


---

# Agent Instructions: 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://rjdellecese.gitbook.io/confect/introduction.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.
