What Synaxis is
Learn what Synaxis does, what it is made of, where it keeps data and how people and agents use it.
CodeWrightAI Synaxis is your organization's code and project knowledge server. It mirrors the GitHub and Azure DevOps
repositories you choose, indexes them, and answers questions about them for CodeWrightAI (the desktop IDE), the
synaxis command-line tool and any MCP client. You run it yourself, in containers, on your own infrastructure. One
installation serves one organization.
What it does
- Mirrors and indexes code. Each repository in scope is kept as a bare partial clone, scanned for secrets, split into chunks and embedded. Changes arrive through GitHub webhooks and Azure DevOps service hooks, or by polling.
- Builds knowledge. For each repository Synaxis builds a structural index (symbols, references, dependencies), summaries, a repository card, a catalog of capabilities shared across repositories, and the API contracts it finds or infers.
- Reads project data. Issues, pull requests, discussions, Azure DevOps work items and wikis are ingested for the organizations and projects you opt in, and linked to the code they touch.
- Answers only what each person may read. Every search and answer is filtered by the caller's own GitHub and Azure DevOps permissions, never by Synaxis roles.
What it is made of
Synaxis is one container image that starts in one of five roles:
| Role | Runs |
|---|---|
all |
Migrates the database, then serves the web front end and the API and runs the worker in one process (the Compose default) |
web |
The web front end: the welcome, sign-in, status and help pages, and the console's files (/console). It holds no data and no secrets |
api |
The REST API (/api/v1), the MCP endpoint (/mcp), webhooks (/hooks) and sign-in (/auth) |
worker |
The jobs: fetching, secret scanning, indexing, structure, summaries, the catalog, contracts, project data, access refresh and purges |
migrate |
Applies database migrations and an optional configuration file, then exits |
Beside it run two stores, always as separate servers:
| Store | Holds |
|---|---|
| PostgreSQL | Everything except vectors: connections, repositories, jobs, structure, knowledge, users, the audit log, the license, the encrypted secrets |
| Qdrant | The vectors and the indexed text of every chunk |
Each worker also keeps the repository mirrors on its own data volume (/data).
Your browser sees one address: the ingress (or the Compose proxy) sends /api, /mcp, /auth, /hooks and
/.well-known to api and everything else to web, so the front end and the API scale apart. The console runs in
your browser and does everything through the REST API as you, so it can do nothing your roles don't allow.
| Port | Serves | Exposed |
|---|---|---|
| 8080 | Everything people, clients and webhooks reach | Through your reverse proxy or ingress |
| 8081 | /healthz, /readyz and /metrics |
Never; for probes and Prometheus only |
| 8082 | Blob reads from a worker's mirrors, for the API | Only between API and worker |
Note: The mirror, database and vector volumes hold your organization's proprietary code. Put them on encrypted storage. The console's setup checklist asks you to confirm it.
How people use it
- Developers set the server's address in CodeWrightAI (Settings › Synaxis, Server address), sign in with your single sign-on, and link their GitHub and Azure DevOps accounts. Chat prompts and AI Bob can then draw on code from every repository they can read.
- Agents and other MCP clients connect to
<public URL>/mcpand sign in with standard MCP authorization. - Scripts and CI use service-account tokens with an explicit list of repositories.
- Administrators, curators and auditors use the web console at
<public URL>/consoleand thesynaxisCLI.
What it sends where
Synaxis talks only to the services you configure: the GitHub and Azure DevOps hosts of your connections, your identity providers, and your embedding and model endpoints. It sends no telemetry to BWTECH, and verifying its license needs no network call.