Getting Started
Pick the path that matches your use case: a single execution CER, or a multi-step Project Bundle.
What NexArt Does
NexArt creates Certified Execution Records (CERs), cryptographically bound records of AI or deterministic execution that can be independently verified.
Every CER produces a deterministic certificateHash. That hash is the canonical identity of the record. Optional node attestation produces a signed receipt so anyone can verify the record without trusting your infrastructure.
Two Integration Paths
NexArt supports both single-execution certification and multi-step workflow certification. Pick the one that matches your use case. You do not need Project Bundles for every integration.
- Run the execution
- Create a CER (
@nexart/ai-execution) - Optional: verify locally
- Optional: attest via node and share
/c/{certificateHash}
- Create a CER per step
- Assemble a Project Bundle
- Register the bundle on the node
- Verify publicly at
verify.nexart.io
Install the SDK
npm install @nexart/ai-executionCurrent version: @nexart/ai-execution@0.15.0.
Path A: Create a Single CER
The simplest integration. One execution produces one verifiable record.
import { createLangChainCer } from "@nexart/ai-execution";
const { certificateHash } = createLangChainCer({
provider: "openai",
model: "gpt-4o-mini",
input: {
messages: [{ role: "user", content: "What is 2 + 2?" }]
},
output: {
text: "4"
}
});
console.log(certificateHash);The certificateHash is the canonical identity of the record. Verify the CER locally with the SDK, or share the public URL https://verify.nexart.io/c/{certificateHash}.
Note: executionId is not a unique artifact identifier. Always look up records by certificateHash.
Path B: Workflow with a Project Bundle
For multi-step or multi-agent workflows, certify each step as its own CER and group them into a Project Bundle. The bundle has its own projectHash covering all step certificateHash values.
import { startWorkflow } from "@nexart/agent-kit";
const workflow = startWorkflow({ projectTitle: "Contract review" });
const clauses = await workflow.step("Extract clauses", async () => {
return await llm.call("Extract key clauses...");
});
const risks = await workflow.step("Summarize risks", async () => {
return await llm.call("Summarize risks from: " + clauses);
});
const bundle = workflow.finish();
// bundle.integrity.projectHash is the verifiable hashFor public verification on verify.nexart.io, the bundle must be registered on the node. See End-to-End Verification for the full registration flow.
Verify the Record
Verification can be performed independently. Open https://verify.nexart.io and paste the certificateHash, or open the URL directly:
https://verify.nexart.io/c/{certificateHash}Official Example Repos
Next Steps
- Quickstart: the shortest path through both paths
- Project Bundles: how multi-step workflows are grouped and verified
- End-to-End Verification: node registration and public verification
- LangChain and n8n: framework integrations
- CLI: create and verify CERs from the command line