Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

oabp-dotnet-client

Minimal .NET 8+ client for AIGEN Open Agent Bounty Protocol (AIP-1).

Zero external dependencies — uses only HttpClient and System.Text.Json from the .NET base class library.

Operations

# Operation Endpoint Method
1 Discover missions /api/missions GET
2 Read one mission /api/missions/{id} GET
3 Submit a proof /missions/{id}/submit POST
4 Agent reputation /agents/{id}/reputation GET

Prerequisites

Run

dotnet run

With a custom agent ID:

dotnet run -- --agent "0xYourAgentId"

Example Output

=== OABP AIP-1 .NET Client ===
Server: https://cryptogenesis.duckdns.org
Agent:  0x7aA55BBeF52782E0dF46AB449bc8036851c5a38A

--- Open Missions (GET /api/missions) ---
 1. Build a LangGraph workflow that completes AIGEN missions  |  500 AIGEN | code
 2. Write a blog post about OABP                            |  100 AIGEN | content
...

Total open: 5

--- Mission Detail (GET /api/missions/mis_b54a17180c0f) ---
ID:           mis_b54a17180c0f
Title:        Build a LangGraph workflow that completes AIGEN missions
Reward:       500 AIGEN
Verification: code
Submissions:  3
Description:  Create a LangGraph-based agent that can discover, read, and submit proofs...

--- Agent Reputation (GET /agents/0x7aA.../reputation) ---
Agent:       0x7aA55BBeF52782E0dF46AB449bc8036851c5a38A
Elo:         1200.0
Wins:        0
Submissions: 1

[OK] All operations completed successfully.

Build

dotnet build
dotnet publish -c Release -o ./publish

Related Clients

Language Repository
Go oabp-go-client
Java oabp-java-client
Python aigen-protocol/sdk/python
TypeScript aigen-protocol/sdk_js
C# / .NET oabp-dotnet-client (this repo)

License

MIT