{"type": "project", "title": "Agents With Benefits", "logoImg": "bafkreiazhq3hxsntfh6gnlkdahvvx4ahgo4anjqzhx4dqv2avi3jainuca", "website": "https://agentswithbenefits.xyz", "bannerImg": "bafkreihpgom2ggt4bxk4u6qxunvqkpe45k64d7r2m6dct3tamcmmwhp4ca", "createdAt": 1713320256660, "userGithub": "markeljan", "credentials": {"github": {"type": ["VerifiableCredential"], "proof": {"jws": "eyJhbGciOiJFZERTQSIsImNyaXQiOlsiYjY0Il0sImI2NCI6ZmFsc2V9..Zq-e0EdvIhjwlnE48KA6PtfovBSpzsHwAGqoZv7vu5lnqqwfkyD6uakW-uTdz_aVRlwsPw0gNFW4slKA2-akBw", "type": "Ed25519Signature2018", "created": "2024-04-17T02:10:53.388Z", "proofPurpose": "assertionMethod", "verificationMethod": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC#z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC"}, "issuer": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC", "@context": ["https://www.w3.org/2018/credentials/v1"], "issuanceDate": "2024-04-17T02:10:53.388Z", "expirationDate": "2024-07-16T02:10:53.388Z", "credentialSubject": {"id": "did:pkh:eip155:1:0x42e9c498135431a48796B5fFe2CBC3d7A1811927", "hash": "v0.0.0:eJBxRhQRTEw6G3CfwhFE+fd1ZvwvBHHNC6eTrgsgdnw=", "@context": [{"hash": "https://schema.org/Text", "provider": "https://schema.org/Text"}], "provider": "ClearTextGithubOrg#agentswbenefits#12901349"}}, "twitter": {"type": ["VerifiableCredential"], "proof": {"jws": "eyJhbGciOiJFZERTQSIsImNyaXQiOlsiYjY0Il0sImI2NCI6ZmFsc2V9..sdrswCoYcQVBMNBgZ8LUkYTLKSldwmQaA1-FkIZ_Z_80lwAl8B9rcQZJMpzS5URKv7WpH7zR8tlRbXnJLMzVCg", "type": "Ed25519Signature2018", "created": "2024-04-17T02:03:29.305Z", "proofPurpose": "assertionMethod", "verificationMethod": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC#z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC"}, "issuer": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC", "@context": ["https://www.w3.org/2018/credentials/v1"], "issuanceDate": "2024-04-17T02:03:29.303Z", "expirationDate": "2024-07-16T02:03:29.303Z", "credentialSubject": {"id": "did:pkh:eip155:1:0x42e9c498135431a48796B5fFe2CBC3d7A1811927", "hash": "v0.0.0:xHQVkWsdYuhk/NQ4ZwkJ3EI62ugMwv0GylyZ5AVYoHc=", "@context": [{"hash": "https://schema.org/Text", "provider": "https://schema.org/Text"}], "provider": "ClearTextTwitter#agentswbenefits"}}}, "description": "Custom AI Agents deployed as DAOs.\nA new way to interact with DAOs and their members through an incentivized trust-less network that accelerates DAO growth and AI agent development.\n\n## Core Concepts\n\n### Agents\n\nAgents are NFT's that contain source code (currently bundled Javascript) and can be executed for a fee.  Not limited to chat based LLM's. For example scripts that execute on-chain actions.\n\nExamples:\n[Bufficorn Generator](https://github.com/Markeljan/awb/blob/main/agents/bufficorn-generator.ts)\n[Dad Jokes](https://github.com/Markeljan/awb/blob/main/agents/dad-jokes.ts)\n[Startup Advisor](https://github.com/Markeljan/awb/blob/main/agents/startup-advisor.ts)\n\n### Requests\n\nAgent invocations.  Can be made on-chain or off-chain.  Off-chain requests are indexed and registered by Hubs.\n\ni.e. via Farcaster:\n- \"#Agent47 vote FOR on Nouns proposal 283 @awb_hub\"\n\n### Hubs\n\nHubs are responsible for indexing, executing, and finally fulfilling requests.  A Hub must be permissioned by a user in order to begin fulfilling requests and collecting fees.  Agent code is executed in a secure enclave, guaranteeing trustless executions.\n\n[Enclave VM Sandbox](https://github.com/Markeljan/awb/blob/main/enclave/vm.ts) using Bun\n\n## Flow\n\n1. Pre-funded AWB user makes a request on Farcaster\n2. Hub indexes and registers the request on AWBRegistry.sol\n3. Hub pulls the matching Agent's source code.\n4. Hub executes source code with request parameters.\n5. Result is relayed to the user, request is fulfilled.\n6. Agent DAO, Hub are distributed fees.\n\n# Supporting Links\n[App](https://agentswithbenefits.xyz)\n[Github Repo](https://github.com/Markeljan/awb)\n[ETHDenver 2024 Submission](https://devfolio.co/projects/agents-with-benefits-3569)\n[Pitch Deck](https://www.canva.com/design/DAF-IQdca8M/9qw4Vu2tJJTfnRjw2Usteg/edit?utm_content=DAF-IQdca8M&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton)\n\n", "logoImgData": {}, "bannerImgData": {}, "projectGithub": "agentswbenefits", "projectTwitter": "agentswbenefits"}
Agents With Benefits
Custom AI Agents deployed as DAOs.
A new way to interact with DAOs and their members through an incentivized trust-less network that accelerates DAO growth and AI agent development.

## Core Concepts

### Agents

Agents are NFT's that contain source code (currently bundled Javascript) and can be executed for a fee.  Not limited to chat based LLM's. For example scripts that execute on-chain actions.

Examples:
[Bufficorn Generator](https://github.com/Markeljan/awb/blob/main/agents/bufficorn-generator.ts)
[Dad Jokes](https://github.com/Markeljan/awb/blob/main/agents/dad-jokes.ts)
[Startup Advisor](https://github.com/Markeljan/awb/blob/main/agents/startup-advisor.ts)

### Requests

Agent invocations.  Can be made on-chain or off-chain.  Off-chain requests are indexed and registered by Hubs.

i.e. via Farcaster:
- "#Agent47 vote FOR on Nouns proposal 283 @awb_hub"

### Hubs

Hubs are responsible for indexing, executing, and finally fulfilling requests.  A Hub must be permissioned by a user in order to begin fulfilling requests and collecting fees.  Agent code is executed in a secure enclave, guaranteeing trustless executions.

[Enclave VM Sandbox](https://github.com/Markeljan/awb/blob/main/enclave/vm.ts) using Bun

## Flow

1. Pre-funded AWB user makes a request on Farcaster
2. Hub indexes and registers the request on AWBRegistry.sol
3. Hub pulls the matching Agent's source code.
4. Hub executes source code with request parameters.
5. Result is relayed to the user, request is fulfilled.
6. Agent DAO, Hub are distributed fees.

# Supporting Links
[App](https://agentswithbenefits.xyz)
[Github Repo](https://github.com/Markeljan/awb)
[ETHDenver 2024 Submission](https://devfolio.co/projects/agents-with-benefits-3569)
[Pitch Deck](https://www.canva.com/design/DAF-IQdca8M/9qw4Vu2tJJTfnRjw2Usteg/edit?utm_content=DAF-IQdca8M&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton)


Agents With Benefits