Skip to content

Start building with Aksara

Aksara is a Python application backend for PostgreSQL. Models define stored records, migrations evolve tables, and ViewSets expose REST endpoints. Your application verifies credentials and supplies identity; permissions, policy and tenant boundaries control what that identity can do.

Start with First project: a ticket desk. It takes an empty project through installation, a model, migration, protected API, server startup and runnable tests. You need Python 3.11–3.14 and a local PostgreSQL database; see installation and runtime compatibility for the supported environment. No AI provider is required.

Grow one application

Follow these chapters in order. Each continues the same files and database.

Chapter What you build
1. First project Ticket model, migrations, authenticated REST and tests
2. Relations and validation Assign tickets to agents and validate input
3. Tenant isolation Customer boundaries, permissions and restricted-role PostgreSQL RLS
4. Background reports Queued work, protected status and CSV download
5. Durable actions Idempotent ticket resolution, retries, cancellation and current authority
6. Optional MCP client Authenticated tool calls through the official MCP client

The first chapter is sufficient for a small local REST application. Later chapters introduce a capability when the application needs it. The local token adapter teaches the authentication boundary; it is not a production identity service.

Find an explanation or a specific task

Studio and provider-backed AI have a separate experimental learning path. They are optional consumers and development tools, not prerequisites for the tutorial.