-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from autonomys/chain-agent-readme
Add persisted interaction to chain agent
- Loading branch information
Showing
7 changed files
with
310 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Auto Chain Agent | ||
|
||
A blockchain interaction service that provides natural language processing capabilities for blockchain operations using LangGraph and LLMs. | ||
|
||
## Features | ||
|
||
- Natural language processing for blockchain interactions | ||
- Balance checking | ||
- Transaction sending | ||
- Transaction history retrieval | ||
|
||
## Available Tools | ||
|
||
The agent supports the following blockchain operations: | ||
|
||
- `get_balance`: Check the balance of a blockchain address | ||
- `send_transaction`: Send tokens to another address |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
sqlite3 thread-storage.sqlite "SELECT json_group_array(json_object( | ||
'thread_id', thread_id, | ||
'state', state, | ||
'last_output', last_output, | ||
'created_at', created_at, | ||
'updated_at', updated_at | ||
)) FROM threads;" | jq '.' > threads.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.