← Back to adopters
Adopter quickstart

LlamaIndex proof path

Private-beta path for adopting Imladri with LlamaIndex: initialize the adapter, wrap one risky capability, run the scanner or proof command from the repo, and review the same evidence in Profile.

Certification status

Certified

Certified

Certified against LlamaIndex FunctionTool execution in Python and TypeScript, including metadata.name resolution and action-alias mapping.

4/4 lanes passed; real-package verification covers llama-index-core and llamaindex FunctionTool.call with zero blocked-path body calls.

Runtimemixed
Access modePrivate beta
Approved beta starter
cli
imladri init --framework llamaindex --ci-provider github
Reference dependencies
dependencies
npm install @imladri/sdk
pip install llama-index-core
npm install llamaindex
Minimal wrapper
mixed
import { FunctionTool } from "llamaindex";
import { ConstitutionalAgent, wrapLlamaIndexTools } from "@imladri/sdk";

const agent = new ConstitutionalAgent({ agentId, apiKey, apiUrl, preflightUrl });

const exportAction = "customer.data.export";
const llamaTools = [
  FunctionTool.from(
    ({ customerId }) => ({ exported: customerId }),
    { name: "customerExport", description: "Export approved customer data." },
  ),
];

const guardedTools = wrapLlamaIndexTools(agent, llamaTools, {
  strictTools: [exportAction],
  actionAliases: { customerExport: exportAction },
});

await guardedTools[0].call({ customerId: "cust_123" });
Terminal proof evidence
terminal evidence
imladri sdk certify --real --target llamaindex
imladri scan --path . --fail-on new
imladri proof export --format markdown --output llamaindex-proof.md