Quickstart

Get started with QuantaMrkt and the QuantumShield library in minutes.

1. Install QuantumShield

pip install quantumshield

2. Create an Agent Identity

from quantumshield import AgentIdentity

# Create a new PQC-native agent identity
agent = AgentIdentity.create(
    name="my-copilot",
    capabilities=["read:data", "write:reports"]
)

# Sign an action
credential = agent.sign_action(
    action="generate_report",
    target="quarterly-financials.pdf"
)

print(f"Agent DID: {agent.did}")
print(f"Algorithm: ML-DSA-65")

3. Sign a Model

from quantumshield import ModelManifest

# Create a manifest from your model directory
manifest = ModelManifest.from_model("./my-model/")

# Sign with your agent identity
manifest.sign(agent.signing_keypair)

# Push to the registry
manifest.save("./my-model/quantmrkt-manifest.json")

4. Analyze Your Codebase

# CLI usage
$ quantumshield migrate analyze ./src/

CRITICAL: 12 vulnerabilities found
HIGH:     23 vulnerabilities found
MEDIUM:   18 vulnerabilities found

# Run migration with validation
$ quantumshield migrate run ./src/ --validate-kat

Next Steps

  • API Reference — Full REST API documentation
  • Dashboard — Explore signed models and agent identities
  • Features — Deep dive into PQ-AID, Migrator, and Shield Registry