> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trulyagentic.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Run the TypeScript test suite and live OWASP ASI01–ASI06 attack-block demonstration locally.

Every deterministic control in Truly Agentic's BYOC architecture can be inspected and executed locally in under five minutes using [`@trulyagentic/governance-kit`](https://github.com/trulyagentic/truly-agentic-governance-kit) (`v0.1.0`, Apache-2.0).

## Prerequisites

* **Node.js `>= 22.0.0`**
* **pnpm** package manager

## Run Tests and Attack-Block Scenarios

**1. Clone the public Governance Kit**

```bash theme={null}
git clone https://github.com/trulyagentic/truly-agentic-governance-kit.git
cd truly-agentic-governance-kit
```

**2. Install dependencies and verify TypeScript types**

```bash theme={null}
pnpm install
pnpm run typecheck
```

**3. Run the Vitest unit suite**

```bash theme={null}
pnpm test
```

All **14 Vitest tests** validate identity rejection, Agency Level (`L1`–`L5`) enforcement, MCP rug-pull SHA-256 detection, Slack HMAC signature checking, idempotency conflict handling, and fail-closed audit abort behavior.

**4. Run the live 6-scenario attack-block demo**

```bash theme={null}
pnpm run demo:attack
```

## What `pnpm run demo:attack` Verifies

The self-contained harness (`src/demo-attack.ts`) runs strictly on synthetic fixtures and validates six failure and attack paths:

```text theme={null}
$ tsx src/demo-attack.ts
[PASS] 1. Clean read executed inside L1/L3 boundary.
[PASS] 2. ASI04 MCP tool poisoning & SHA-256 rug-pull drift blocked fail-closed.
[PASS] 3. ASI01 indirect prompt injection inside synthetic invoice blocked.
[PASS] 4. Control 3 Slack approval + idempotent duplicate-click protection verified.
[PASS] 5. Control 5 fail-closed abort enforced when audit ledger went offline.
[PASS] 6. Kill switch halted execution & hash-chained ledger verified (10 entries).
```

## Next Steps

* Deploy PostgreSQL 16 + Portkey OSS locally via [Docker Compose](https://docs.trulyagentic.io/deploy/docker-compose.md).
* Inspect [AWS & GCP Terraform Starters](https://docs.trulyagentic.io/deploy/terraform-aws-gcp.md) for customer-owned cloud isolation.
* Review [OWASP Agentic AI Controls](https://docs.trulyagentic.io/controls/owasp-agentic-ai.md) to see the underlying scanner rules.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.