> For the complete documentation index, see [llms.txt](https://docs.openg2p.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openg2p.org/products/spar/development/technology-stack.md).

# Technology Stack

The following technologies and tools are used by SPAR.

| Technology             | Purpose                                                    | Version | License                                                           |
| ---------------------- | ---------------------------------------------------------- | ------- | ----------------------------------------------------------------- |
| Ubuntu Server          | Operating System (cluster nodes)                           | 22.04   | Free                                                              |
| Python                 | Development language                                       | 3.11    | [PSF License](https://docs.python.org/3/license.html#psf-license) |
| openg2p-fastapi-common | OpenG2P application framework (base for all SPAR services) |         | MPL 2.0                                                           |
| FastAPI                | REST API framework                                         |         | MIT                                                               |
| Pydantic               | Data validation & schemas                                  |         | MIT                                                               |
| SQLAlchemy             | ORM (async)                                                |         | MIT                                                               |
| Gunicorn               | Application server                                         | \~22.0  | MIT                                                               |
| Uvicorn                | ASGI worker                                                |         | BSD                                                               |
| PostgreSQL             | Database (shared `commons-postgresql`)                     |         | PostgreSQL License                                                |
| Keycloak               | Authentication — OIDC / OAuth2                             |         | Apache 2.0                                                        |
| MOSIP Keymanager       | Partner signature / JWT verification                       |         | MPL 2.0                                                           |
| Docker                 | Containerization                                           |         | Apache 2.0                                                        |
| Helm                   | Packaging & deployment                                     |         | Apache 2.0                                                        |
| Kubernetes             | Orchestration                                              |         | Apache 2.0                                                        |
| Istio                  | Service mesh / ingress                                     |         | Apache 2.0                                                        |
| Rancher                | Cluster management & catalog UI                            |         | Apache 2.0                                                        |
| Nginx                  | Web proxy / ingress                                        |         | BSD                                                               |
| Prometheus             | Monitoring                                                 |         | Apache 2.0                                                        |
| Grafana                | Monitoring dashboards                                      |         | AGPL 3.0                                                          |
| GitHub                 | Source code management                                     |         | Commercial (OpenG2P uses Free plan)                               |


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.openg2p.org/products/spar/development/technology-stack.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
