Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@hyperdag/example-agent

Stranger path for TrustShell main (1.4.0 unpublished). Until Sean publishes, this repo depends on github:DealAppSeo/trustshell, not @hyperdag/trustshell@1.4.0 (that tag 404s; npm latest is 1.3.0).

Install → four keyless commands

git clone https://github.com/DealAppSeo/example-agent
cd example-agent
npm install

# 1. HAL PASS
npx trustshell verify "The capital of France is Paris."

# 2. HAL VETO
npx trustshell verify "The Eiffel Tower is located in Rome, Italy."

# 3. RepID
npx trustshell repid trinity-shofet

# 4. range proof, client-side verify
npx trustshell proof trinity-shofet --verify

That is the whole demo. No API key. After F-PUBLISH, this package.json flips to @hyperdag/trustshell@1.4.0 — not before.

Optional: Express gate (same SDK)

npm start
# POST /agent/query {"query":"The Eiffel Tower is in Paris"}

The server calls TrustShell.verifyOutput (keyless). A VETO refuses the claim.

npm test

License

Apache-2.0. Built on HyperDAG Protocol.

About

Example AI agent integrating TrustShell — HAL fact-check before responding (keyless demo + RepID SDK mode)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages