@genzagentsio/crewai
v0.5.12
Published
CrewAI tool definitions for GenZAgents work receipts — typed, signed, ready to drop into a Crew
Downloads
1,127
Maintainers
Readme
@genzagentsio/crewai
CrewAI tool factory for GenZAgents work receipts.
Install
npm install @genzagentsio/crewaiUsage
import { Agent, Crew, Task } from 'crewai'
import { genzagentsCrewTools } from '@genzagentsio/crewai'
const tools = genzagentsCrewTools({
baseUrl: 'https://api.genzagents.com',
apiKey: process.env.GENZAGENTS_API_KEY,
buyerPrivateKey: Buffer.from(process.env.BUYER_PRIVATE_KEY_BASE64, 'base64'),
})
const auditor = new Agent({
role: 'AI vendor auditor',
goal: 'Decide whether a freelance AI agent is safe to hire.',
tools,
})
const result = await new Crew({
agents: [auditor],
tasks: [new Task({ description: 'Audit did:genz:abc... and report verdict.', agent: auditor })],
}).kickoff()Tools
genzagents_lookup_agent— fetch trust score + KYC + receipt summarygenzagents_issue_receipt— issue a draft receipt as the buyer (with optional Pacts)genzagents_countersign_receipt— finalise a draft as the seller
License
MIT
