# Using it

> Chat and streaming, tools and structured answers, images and files, embeddings, the browser, and use cases.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://ai.docs.sypnia.com/using/

For agents: Using section: OpenAI-compatible chat completions with streaming (SSE), tool calls and JSON-schema structured output, image and PDF input, embeddings, browser tokens from the end user's Sypnia Data session, and the Sypnia-Case/Sypnia-End-User headers that tie each call to a use case and a person.

The API speaks the same language as OpenAI's, so the clients and libraries you already know work by changing the base address. `@sypnia/ai` adds the Sypnia parts: the task, the use case and the person.

- [Chat and streaming](/using/chat-and-streaming/): Send messages, get the answer as it is written, and say which use case and which person the call is for.
- [Tools and structured answers](/using/tools-and-structured-output/): Let the model ask your code for data, and get answers as JSON that always follows your schema.
- [Images and files](/using/images-and-files/): Send photos and PDFs for the model to read, and the limits on them.
- [Embeddings](/using/embeddings/): Turn texts into numbers that stand for their meaning, to search by meaning or find similar things.
- [From the browser](/using/from-the-browser/): Let your app's pages call AI without ever holding a secret key, with a limit for each person.
- [Use cases and traces](/using/cases-and-traces/): Tie every call to the use case that made it, so its cost and its speed show up where you look for them.
