evernym / connectathon-agent

A simple cli for agent to agent communication, build according to current A2A specs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connectathon Agent

This is a basic CLI agent that implements the below mentioned A2A protocols.

Current Protocols Supported

https://hackmd.io/QioQNy-RRm2aosuF-i2UGw

Getting Started

NOTE: This has only been tested on Ubuntu and Raspian, and may need some tweeking to work on other platforms.

  1. Clone this repository

  2. Install dependencies with npm install

    • Make sure you have indy-sdk version 1.8.0 or later installed
  3. Create wallet and generate an invitation key by running ./newDID.js -w <wallet name> -k <wallet key>

  4. Paste the new key (not the DID) into config.yml under invitation_key. If this is incorrect or not found, the connection process will fail.

  5. Run the agent with

    ./index.js -p <port to listen on> -w <wallet name> -k <wallet key> -n <alias used for connections>
    
  6. Run the help command for more information from here.

  7. Note that the values in config.yml will be used if cli parameters are omitted.

About

A simple cli for agent to agent communication, build according to current A2A specs.

License:Apache License 2.0


Languages

Language:JavaScript 100.0%