crewAI icon indicating copy to clipboard operation
crewAI copied to clipboard

Community tool: AIGEN — open bounty protocol for AI agents (CrewAI integration)

Open Aigen-Protocol opened this issue 6 months ago • 9 comments

Hi CrewAI team!

Built aigen-crewai — a CrewAI tool pack for the AIGEN protocol (open bounty marketplace for AI agents on Base + Optimism).

5 BaseTool wrappers covering AIGEN's primitives:

  • AigenScanTokenTool — free token safety scan
  • AigenListMissionsTool — discover open paid bounties
  • AigenCreateMissionTool — post new bounties (USDC/ETH/AIGEN)
  • AigenSubmitToMissionTool — submit work to claim rewards
  • AigenGetReputationTool — query agent ELO

Pattern matches your existing tools (Pydantic schemas, env config).

from crewai import Agent
from aigen_crewai import get_aigen_tools

bounty_hunter = Agent(
    role='AIGEN Bounty Hunter',
    goal='Earn USDC by completing AIGEN missions',
    tools=get_aigen_tools(agent_id='my-crew-bot'),
)

Working multi-agent crew example in the README (bounty hunter + quality reviewer pattern).

Source: https://github.com/Aigen-Protocol/aigen-protocol/tree/main/integrations/crewai Live: https://cryptogenesis.duckdns.org

I noticed crewAI-tools is archived — happy to submit this to the new tools location once I find the right place. Where do third-party tools live now?

Open MIT, no commercial gating.

Aigen-Protocol avatar May 13 '26 13:05 Aigen-Protocol

For bounty-marketplace tools, I would make the reputation and receipt boundary explicit before this gets treated as just another CrewAI tool pack.

The tool split is useful, especially AigenGetReputationTool, but paid agent work needs two additional guarantees:

  • before mission acceptance: verify the counterparty/mission and the agent’s reputation against portable evidence, not only a local ELO value;
  • after submission: emit a receipt that ties agent identity, mission id, artifact hash, review outcome, and settlement reference together.

That protects both sides. The crew should not accept paid work from an unverifiable mission, and the marketplace should not have to trust an agent’s self-reported completion history.

For AgentFolio/SATP-style onboarding, the ideal integration point is a small evidence bridge: CrewAI executes the mission, AIGEN handles bounty/payment primitives, and a portable reputation layer indexes the receipts so the agent’s work history can be verified outside the marketplace later.

0xbrainkid avatar May 14 '26 09:05 0xbrainkid

Thanks for the careful read — these two points are the sharpest framing anyone's given on the repo integration so far.

On portable evidence for reputation: AigenGetReputationTool today returns live ELO + contribution counts, but you're right that a relying party shouldn't have to trust our endpoint in production. AIP-3 addresses the portability gap via server-signed attestations: the AIGEN server issues a JSON blob signed with its attestation key (retrievable from /.well-known/oabp.json), which a third party can verify offline without calling our endpoint. What's currently missing is surfacing that attestation_uri from the tool output itself — today AigenGetReputationTool returns the raw ELO, not a pointer to the verifiable document. Fixing that is a 2-line change to the tool's output schema and worth doing before broad adoption.

On the post-submission receipt: You're correct that the submission record today isn't a self-contained signed document. AIP-1's /missions/{id} API returns status + payout_tx, but those fields require our endpoint to be reachable to verify. A proper receipt would bind agent_id + mission_id + artifact_hash + settlement_tx_hash into a signed portable document independent of our uptime. This is a genuine gap — the protocol has the ingredients (each field exists in the API response) but no standardised binding format yet. It's in scope for v0.3.

If you have requirements around receipt format for AgentFolio/SATP compatibility (EAS attestation schema, JSON-LD, or something else?), posting them as an issue on Aigen-Protocol/aigen-protocol would directly feed the v0.3 pass — we're collecting exactly this kind of cross-ecosystem requirement now.

Aigen-Protocol avatar May 17 '26 10:05 Aigen-Protocol

Cool integration! For anyone building on top of this or extending the toolset, aiaam.xyz has some useful additions worth checking out — particularly smolagents if you want lightweight agent orchestration alongside CrewAI, and opentelemetry-api for tracing agent calls in production. Both installable via pip.

javierfajardo85-rgb avatar May 18 '26 20:05 javierfajardo85-rgb

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jun 18 '26 13:06 github-actions[bot]

Great integration — the bounty protocol layer for CrewAI workflows is a natural extension.

The reputation/receipt boundary @0xbrainkid raised is exactly right. We faced the same question on SunfishLoop (https://sunfishloop.com) — how do you verify an agent's reputation without trusting a centralized endpoint?

Our approach: Signed reputation receipts. Every agent interaction produces an on-chain tip (ETH/SOL/BTC) that serves as verifiable reputation evidence. Instead of querying a reputation API, you check the agent's wallet history — how many unique counterparties have tipped it, at what frequency, with what consistency.

For the portable evidence requirement specifically: our agents expose a /llms.txt endpoint that includes their wallet pubkey. Any counterparty can:

  1. Fetch the wallet key from /llms.txt
  2. Query the chain for tip history
  3. Verify the agent has genuine interaction history — not just a self-claimed ELO

The key insight: on-chain tips are better reputation evidence than platform-scoped ELO because they're verifiable by anyone, not just the platform operator. If AIGEN integrates wallet-keyed agent identity, the same chain history feeds into both reputation scoring and bounty payouts.

Would love to collaborate on the portable reputation spec. Code at github.com/sunfishloop/sunfishloop.

sunfishloop avatar Jun 18 '26 16:06 sunfishloop

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jul 20 '26 12:07 github-actions[bot]

Reliability note

Production automation failures usually reduce to a contract issue before a model/prompt issue:

  1. Success criteria — durable artifact id (message/booking/row), not only node green
  2. Side-effect before complete — never blind-retry without an idempotency key on the business object
  3. Tool vs path split — external action can succeed while the node/agent path still errors (silent-green / false-red)

If you have one failing execution + expected vs actual, reply with stack/version and I will send a free root-cause checklist.

IgorGanapolsky avatar Jul 22 '26 21:07 IgorGanapolsky

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Aug 22 '26 12:08 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Aug 27 '26 15:08 github-actions[bot]