Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ERC: Instinct-Based Automatic Transactions #596

Open
wants to merge 50 commits into
base: master
Choose a base branch
from
Open
Changes from 30 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
8846871
Multi Owners NFT
Jul 13, 2024
f19cb42
correct format
Jul 13, 2024
9b73e1b
correct format
Jul 13, 2024
18c8be9
correct format
Jul 13, 2024
2490372
correct format
Jul 13, 2024
d591c27
update format
Jul 13, 2024
910b33a
change format
Jul 13, 2024
acf7094
update format
Jul 13, 2024
de9d3b0
update Author
Jul 16, 2024
a34f31e
Merge pull request #1 from jamesavechives/MO-NFT
jamesavechives Jul 16, 2024
b945e47
Merge branch 'master' into MO-NFT
jamesavechives Jul 16, 2024
daadfeb
Merge branch 'ethereum:master' into master
jamesavechives Jul 17, 2024
3e9fb18
update epi number to 7743
Jul 17, 2024
9ad648e
Merge branch 'MO-NFT' of github.com:jamesavechives/ERCs into MO-NFT
Jul 17, 2024
aa9b515
Merge pull request #2 from jamesavechives/MO-NFT
jamesavechives Jul 17, 2024
26006c3
Add ERC : Decentralized Employment System
Aug 4, 2024
1f40d4b
change file name
Aug 4, 2024
995c726
update format
Aug 4, 2024
d58050d
update format
Aug 4, 2024
ce35b5d
update format
Aug 4, 2024
f15ed1f
Merge branch 'master' into DES
jamesavechives Aug 4, 2024
0fdf84e
Merge branch 'master' into DES
jamesavechives Aug 6, 2024
4b0bddf
eip number and discussion link
Aug 6, 2024
3761bee
Merge branch 'master' into DES
jamesavechives Aug 9, 2024
69445bc
Merge branch 'master' into DES
jamesavechives Aug 19, 2024
38ddee1
Add ERC : Instinct-Based Automatic Transactions
Aug 19, 2024
79582aa
rm 7750
Aug 19, 2024
1db7d07
update format
Aug 19, 2024
f17027a
update format
Aug 19, 2024
fc66df6
consider auto-exe and mid-way targets
Aug 19, 2024
05d6c26
update file name
Aug 20, 2024
d5b763b
update
Aug 20, 2024
d7e1f57
Update ERCS/erc-7757.md
jamesavechives Aug 22, 2024
bb4f074
Merge branch 'master' into AI
jamesavechives Aug 22, 2024
abe4a76
Merge branch 'master' into AI
jamesavechives Aug 25, 2024
f284321
update link for discussions-to
Aug 25, 2024
6524fa4
Merge branch 'master' into AI
jamesavechives Aug 30, 2024
88df6be
Merge branch 'master' into AI
jamesavechives Sep 6, 2024
b1d9472
update Abstract
Sep 24, 2024
6a70441
Merge branch 'master' into AI
jamesavechives Sep 29, 2024
6330b14
Update ERCS/erc-7757.md
jamesavechives Oct 18, 2024
47094ba
Update ERCS/erc-7757.md
jamesavechives Oct 18, 2024
08910b6
Merge branch 'master' into AI
jamesavechives Oct 18, 2024
2a4dad7
update abstract and motivation
Oct 18, 2024
f76b3a1
make the specification clearer and more implementable
Oct 18, 2024
3d4e422
clarify the reasoning behind the design choices in the proposal
Oct 18, 2024
f0d379a
provide a more complete and implementable set of test cases
Oct 18, 2024
8807426
apply off-chain AI conception
Oct 18, 2024
0282c9b
update format
Oct 18, 2024
2d5feca
Merge branch 'master' into AI
jamesavechives Nov 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 86 additions & 0 deletions ERCS/erc-0000.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
eip: 0000
jamesavechives marked this conversation as resolved.
Show resolved Hide resolved
title: Instinct-Based Automatic Transactions
description: A blockchain framework for autonomous transaction execution based on predefined AI-driven instincts with temptation values.
author: James Savechives (@jamesavechives) <[email protected]>
discussions-to: https://ethereum-magicians.org/t/erc-0000-ai-driven-instinct-based-automatic-transactions/20725
status: Draft
type: Standards Track
category: ERC
created: 2024-08-19
---

## Abstract

This ERC proposes a standard for AI-driven automatic transactions on the Ethereum blockchain, triggered by predefined or dynamic "instincts" with associated temptation values. AI agents or users autonomously evaluate and act upon these instincts, optimizing their strategies through a learning process. This standard enables the creation of a self-regulating, adaptive blockchain ecosystem where decisions and transactions are made based on calculated rewards and penalties.

## Motivation

As AI and blockchain technologies evolve, the need for autonomous systems that can make complex decisions and execute transactions without direct human intervention becomes more apparent. This standard aims to provide a framework for integrating AI-driven instincts into the blockchain, allowing for more sophisticated, adaptive, and autonomous transaction mechanisms that mimic natural decision-making processes.

## Specification

### Instinct Definition

1. **Instinct Attributes**:
- `instinctID`: Unique identifier for the instinct.
- `temptationValue`: Numerical value representing the instinct's temptation level (positive for rewards, negative for penalties).
- `triggerConditions`: Conditions under which the instinct is activated.
- `static`: Boolean indicating whether the instinct is static or dynamic.
- `autoExecution`: Boolean indicating whether the transaction should be automatically executed when the conditions are met.

2. **Mid-way Targets**:
- Mid-way targets are generated dynamically as intermediate steps toward achieving the final instinct.
- Each mid-way target has its own `temptationValue` and `triggerConditions`.
- These targets guide the AI agent through a series of decisions and actions leading to the final instinct.

3. **Instinct Management**:
- `createInstinct(instinctID, temptationValue, triggerConditions, static)`: Creates a new instinct.
- `modifyInstinct(instinctID, temptationValue, triggerConditions)`: Modifies an existing instinct.
- `deleteInstinct(instinctID)`: Deletes an instinct.

### AI-Agent Interaction

1. **Evaluation and Action**:
- `evaluateInstincts(agentID, timeFrame)`: Evaluates all available instincts within a given time frame and returns the optimal action.
- `actOnInstinct(instinctID, agentID)`: Executes the action associated with a selected instinct.

2. **Automatic Execution**:
- If `autoExecution` is enabled and the conditions for an instinct or mid-way target are met, the transaction is executed automatically without further input from the agent.

3. **Learning Process**:
- `labelInstinct(instinctID, cost)`: Labels the cost of pursuing a particular instinct to inform future decision-making.
- `updateStrategy(agentID)`: Updates the agent's strategy based on past outcomes and cost analyses.

### Dynamic Instincts

1. **Instinct Updates**:
- `updateInstinct(instinctID, newTemptationValue)`: Updates the temptation value or conditions of a dynamic instinct based on real-time data or external conditions.

## Rationale

The proposed standard introduces a novel approach to blockchain transactions by leveraging AI-driven instincts that enable autonomous decision-making. By incorporating temptation values and learning processes, the system can dynamically adapt to changing environments, offering a more efficient and self-regulating ecosystem.

## Test Cases

1. **Instinct Creation and Modification**: Test the creation, modification, and deletion of instincts.
2. **AI-Agent Decision-Making**: Test the evaluation and action process for AI agents based on available instincts.
3. **Automatic Execution**: Test the automatic execution of transactions when conditions for an instinct or mid-way target are met.
4. **Learning and Strategy Update**: Test the learning process and strategy updates based on labeled costs and past actions.
5. **Dynamic Instinct Adjustment**: Test the updating mechanism for dynamic instincts based on external data or real-time conditions.

## Security Considerations

1. **Instinct Integrity**: Ensure that instincts and their attributes are immutable and protected against tampering.
2. **AI-Agent Security**: Implement safeguards to prevent AI agents from being manipulated into making harmful or suboptimal decisions.
3. **Data Privacy**: Ensure that the data used to trigger instincts and guide decision-making is securely handled and protected.

## Copyright

Copyright and related rights waived via [CC0](../LICENSE.md).

---

### About the Author
jamesavechives marked this conversation as resolved.
Show resolved Hide resolved

James Savechives is a blockchain enthusiast and developer with a keen interest in digital assets and their innovative applications. With a background in software development, James is currently working on the Aizel Network, aiming to explore and create solutions that bridge the gap between technology and practical applications.
Loading