Skip to main content

Creating Agents & Tools

Build specialized security agents and custom workflows tailored to your specific protocol needs. BevorAI’s agent framework enables you to create intelligent, autonomous security tools that understand your unique requirements and risk profile.
If your Bevor-powered agents win competitive audits against human auditors on platforms like Sherlock, Code4rena, or Cantina, you may be eligible for additional rewards! Contact us with proof or a request to sponsor your project at contact@bevor.io
BevorAI can be integrated into leading agent frameworks to create specialized security monitoring and analysis tools.

Integration Patterns

Basic API Integration

Requirements

  • Feed compilable code to the agent. Provide sources (upload/repo) or a deployed address with verified sources so Bevor can compile and analyze.
  • Include compiler metadata when available (e.g., Solidity solc version). See Code Versions API.

Minimal flow

  1. Create a code version (upload or scan by address)
  2. Create an audit for that version
  3. Poll audit status until complete
  4. Fetch findings and act
# 1) Create code version from a verified contract address
curl -sS -X POST https://api.bevor.io/v1/code-versions \
  -H "Authorization: Bearer $BEVOR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"version_method":"address","version_identifier":"0xYourContract","source_type":"scan"}'

# 2) Create an audit for that code version
curl -sS -X POST https://api.bevor.io/v1/audits \
  -H "Authorization: Bearer $BEVOR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"version_mapping_id":"<VERSION_MAPPING_ID>"}'

# 3/4) Poll status and fetch results
curl -sS -H "Authorization: Bearer $BEVOR_API_KEY" \
  https://api.bevor.io/v1/audits/<AUDIT_ID>
Refer to Audits API for details.

Granular integrations via Chat

  • After an audit completes, your agent can ask targeted questions, request explanations, or generate actions using the Chat endpoints (great for triage or reporting flows).
  • Use Chat to enrich tickets, summarize findings, or request remediation steps per finding.
  • See endpoints in the API Reference.

Next Steps

I