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

Sharad/instrumentation #373

Closed
wants to merge 929 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
929 commits
Select commit Hold shift + click to select a range
490bc0d
Merge branch 'develop' into sif-dev
actions-user Jan 29, 2025
75e03c3
Merge branch 'develop' into sif-dev
actions-user Jan 29, 2025
6edb61e
Merge branch 'develop' into sif-dev
actions-user Jan 29, 2025
f6a329c
Merge branch 'develop' into sif-dev
actions-user Jan 30, 2025
ab6ed36
chore: typo
john-xina-p88 Jan 30, 2025
79b4238
chore: typo
john-xina-p88 Jan 30, 2025
5d9f846
Merge branch 'develop' into sif-dev
actions-user Jan 30, 2025
76fa6d2
add missing client related files
snobbee Jan 30, 2025
768b0d8
feat: format number
john-xina-p88 Jan 30, 2025
191a241
chore: minor changes
snobbee Jan 30, 2025
e707633
Merge branch 'develop' into sif-dev
actions-user Jan 30, 2025
17646ea
Merge branch 'develop' into sif-dev
actions-user Jan 30, 2025
7029876
Merge branch 'develop' into sif-dev
actions-user Jan 30, 2025
31f25ec
Merge branch 'develop' into sif-dev
actions-user Jan 30, 2025
82f8cfb
Merge branch 'develop' into sif-dev
actions-user Jan 30, 2025
97be0fd
Add edwin plugin to eliza
galmw Jan 30, 2025
9a7384c
Merge branch 'develop' into sif-dev
actions-user Jan 30, 2025
2a4ef9d
Merge branch 'develop' into sif-dev
actions-user Jan 30, 2025
986be65
Merge branch 'develop' into sif-dev
actions-user Jan 30, 2025
2b90667
Merge branch 'develop' into sif-dev
actions-user Jan 30, 2025
7830f44
Merge branch 'develop' into sif-dev
actions-user Jan 30, 2025
dcdb8c2
Merge branch 'develop' into sif-dev
actions-user Jan 30, 2025
6bc6773
Merge branch 'develop' into sif-dev
actions-user Jan 30, 2025
325cd55
Merge branch 'develop' into sif-dev
actions-user Jan 30, 2025
f5f9e40
Merge branch 'develop' into sif-dev
actions-user Jan 30, 2025
7b87686
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
2163ad3
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
cde0822
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
eaa73fb
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
35c8a85
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
f61a1fe
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
1929497
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
f2f2dcf
Merge branch 'sif-dev' of https://github.com/Sifchain/sa-eliza into c…
monilpat Jan 31, 2025
9162f93
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
43f24d4
updated pnpm lockfile
monilpat Jan 31, 2025
41351f7
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
1c8939a
get it building post merge conflicts
monilpat Jan 31, 2025
a3a6ca6
show the txn and address on block explorer on tweet :)
monilpat Jan 31, 2025
e1ca371
calculate pnl using 0x
monilpat Jan 31, 2025
632365d
chore: readme
john-xina-p88 Jan 31, 2025
cb99f44
feat: sequentially cancel orders
john-xina-p88 Jan 31, 2025
c6b92df
Merge branch 'develop' into feature/plugin-desk-exchange
john-xina-p88 Jan 31, 2025
d9d9ec3
Merge pull request #1 from HMXOrg/feature/plugin-desk-exchange
john-xina-p88 Jan 31, 2025
1363a1d
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
64ed7f7
feat: use bigint to prevent overflow
john-xina-p88 Jan 31, 2025
f433cd1
Merge branch 'develop' into develop
john-xina-p88 Jan 31, 2025
6d5f784
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
866a334
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
2b5f6d1
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
59ad933
Fixed all the issues and retouch a bit te code in in Anyone Plugin
AIFlowML Jan 31, 2025
4b185cc
Merge branch 'develop' into fix-plugin-anyone
AIFlowML Jan 31, 2025
2627e85
don't trigger action
monilpat Jan 31, 2025
b0725f6
use the proper initial amount for the PNL calc
monilpat Jan 31, 2025
0cef0a0
typo index.ts
vipocenka Jan 31, 2025
ddf145a
fix typo api.ts
vipocenka Jan 31, 2025
413383a
fix typo GoplusSecurityService.ts
vipocenka Jan 31, 2025
908198b
fix typo README.md
vipocenka Jan 31, 2025
404739d
update dependencies
monilpat Jan 31, 2025
7c15843
Merge branch 'sif-dev' into coinbaseClient
snobbee Jan 31, 2025
56c8845
Merge branch 'develop' into develop
john-xina-p88 Jan 31, 2025
8b9f58e
build: fix code conflicts and build issues
snobbee Jan 31, 2025
8fde331
Merge branch 'develop' into fix/typos
tcm390 Jan 31, 2025
b447956
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
7145400
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
b7ff6ae
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
cf1d748
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
c8b95e4
Merge branch 'develop' into fix/typos
shakkernerd Jan 31, 2025
02a8d83
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
6413571
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
cc4f5e9
save imageUrls for outbound tweets/messages
alexpaden Jan 31, 2025
10c4030
add provider, action and template for pools per network
0xCardinalError Jan 31, 2025
c3a6f83
Merge branch 'develop' into sif-dev
actions-user Jan 31, 2025
cb0e017
change names
0xCardinalError Jan 31, 2025
4d1cdc8
Merge branch 'main' into sif-dev
actions-user Feb 1, 2025
fe21a02
remove duplicated plugins
tcm390 Feb 1, 2025
199e1ba
Merge branch 'develop' into develop
john-xina-p88 Feb 1, 2025
e53e69f
Update api.ts
vipocenka Feb 1, 2025
1ac934c
Merge branch 'develop' into fix/typos
tcm390 Feb 1, 2025
ce8cb38
Merge pull request #3111 from vipocenka/fix/typos
tcm390 Feb 1, 2025
9f61a39
Merge branch 'develop' into sif-dev
actions-user Feb 1, 2025
e91176d
Merge branch 'develop' into feature/twitter-messages-image-outbound
tcm390 Feb 1, 2025
9a203d7
Merge pull request #3122 from alexpaden/feature/twitter-messages-imag…
tcm390 Feb 1, 2025
c815331
Merge branch 'develop' into sif-dev
actions-user Feb 1, 2025
dd8fa10
fix: upgrade openai and vercel ai packages to fix o1 errors
HashWarlock Feb 1, 2025
907def2
Merge pull request #3146 from elizaOS/fix/openai-o1-fix
lalalune Feb 2, 2025
1f285e4
Merge branch 'develop' into sif-dev
actions-user Feb 2, 2025
9bf304d
Update chat_2024-12-07.md
comfsrt Feb 2, 2025
42ac7a8
Update chat_2024-10-27.md
comfsrt Feb 2, 2025
074a0a1
Fixed all the issues and added biome
AIFlowML Feb 2, 2025
e4b9ba4
Merge branch 'develop' into fix-plugin-allors
AIFlowML Feb 2, 2025
46763c4
Merge branch 'develop' into feat/coingecko_advanced_more_endpoints
0xCardinalError Feb 2, 2025
b788b9d
Fixed multiple issues and aded biome.
AIFlowML Feb 2, 2025
7a00b8b
Merge branch 'main' into fix-plugin-akash-v1
AIFlowML Feb 2, 2025
d7f83bc
Fixed the typing and added biome
AIFlowML Feb 2, 2025
55206f5
Merge branch 'main' into fix-plugin-agentkit
AIFlowML Feb 2, 2025
e77677c
remove in resolving merge conflicts :)
monilpat Feb 2, 2025
ebe6c14
fixed all the issues but deployTokenAction.ts for the ANY and the res…
AIFlowML Feb 2, 2025
44e0be6
Merge branch 'develop' into fix-plugin-abstract
AIFlowML Feb 2, 2025
c2cbee2
Merge branch 'develop' into fix-plugin-agentkit
AIFlowML Feb 2, 2025
13a33e3
add new pools by network
0xCardinalError Feb 2, 2025
9822f49
Fixed all the issues and added biome
AIFlowML Feb 2, 2025
6476e03
Merge branch 'develop' into fix-plugin-3g-gen
AIFlowML Feb 2, 2025
fe1da8d
update pnpm lockfile + fix compiler error
monilpat Feb 2, 2025
c25d2d5
get coinbase client running again after latest changes
monilpat Feb 2, 2025
329cc14
Fixed all the issues and added Biome
AIFlowML Feb 2, 2025
b0e7e8c
Merge branch 'develop' into fix-plugin-0x
AIFlowML Feb 2, 2025
2038b89
add mappings from provider
0xCardinalError Feb 2, 2025
8e764db
enable
monilpat Feb 2, 2025
625338b
Fixed all the issues and added biome. Only issues still in place in u…
AIFlowML Feb 2, 2025
d4e8e0e
Merge branch 'develop' into fix-plugin-0g
AIFlowML Feb 2, 2025
1e8f5f9
only run client + remove callback as now needs to get called sequenti…
monilpat Feb 2, 2025
40931b4
Added biome to - plugin-zksync-era - plugin-zilliqa - plugin-zerion -…
AIFlowML Feb 2, 2025
db05de1
Merge branch 'develop' into fix-multi-biome-01
AIFlowML Feb 2, 2025
247ccda
Add Biome linting and formatting configuration to the following plugins:
AIFlowML Feb 2, 2025
41d6d0f
Merge pull request #3180 from AIFlowML/fix-multi-biome-01
shakkernerd Feb 2, 2025
db3c8da
Merge branch 'develop' into fix-plugin-0g
shakkernerd Feb 2, 2025
b7e980d
Merge branch 'develop' into fix-multi-biome-02
AIFlowML Feb 2, 2025
e2636a4
Merge pull request #3179 from AIFlowML/fix-plugin-0g
shakkernerd Feb 2, 2025
617b5a6
Merge branch 'develop' into fix-multi-biome-02
shakkernerd Feb 2, 2025
89a8a91
Merge pull request #3181 from AIFlowML/fix-multi-biome-02
shakkernerd Feb 2, 2025
45e58e9
chore: remove multiple tsup package
shakkernerd Feb 2, 2025
3b9a4e5
Merge branch 'develop' into fix-plugin-0x
shakkernerd Feb 2, 2025
ff4770c
Merge pull request #3178 from AIFlowML/fix-plugin-0x
shakkernerd Feb 2, 2025
201e380
Merge branch 'develop' into fix-plugin-3g-gen
shakkernerd Feb 2, 2025
89815b0
Merge pull request #3175 from AIFlowML/fix-plugin-3g-gen
shakkernerd Feb 2, 2025
363f145
Merge branch 'develop' into fix-plugin-abstract
shakkernerd Feb 2, 2025
e16eea6
Merge pull request #3174 from AIFlowML/fix-plugin-abstract
shakkernerd Feb 2, 2025
a41081b
Merge branch 'develop' into fix-plugin-agentkit
shakkernerd Feb 2, 2025
4a2cf37
Merge pull request #3172 from AIFlowML/fix-plugin-agentkit
shakkernerd Feb 2, 2025
92232f7
Merge branch 'develop' into sif-dev
actions-user Feb 2, 2025
7167418
Merge branch 'develop' into fix-plugin-akash-v1
shakkernerd Feb 2, 2025
f7c38a0
Merge pull request #3171 from AIFlowML/fix-plugin-akash-v1
shakkernerd Feb 2, 2025
a0ea618
Merge branch 'develop' into fix-plugin-allors
shakkernerd Feb 2, 2025
4827f84
Merge pull request #3169 from AIFlowML/fix-plugin-allors
shakkernerd Feb 2, 2025
a3f326e
Merge branch 'develop' into main
shakkernerd Feb 2, 2025
0d56531
Merge pull request #3165 from comfsrt/main
shakkernerd Feb 2, 2025
9420337
Merge branch 'develop' into sif-dev
actions-user Feb 2, 2025
2da927d
Add Biome linting and formatting configuration to the following plugins:
AIFlowML Feb 2, 2025
d0bc2f9
feat (chore): plugin-coinmarketcap (#3134)
ai16z-demirix Feb 2, 2025
78f8faa
Merge branch 'develop' into sif-dev
actions-user Feb 2, 2025
773eead
feat (chore): plugin-coingecko test config and coverage (#3124)
ai16z-demirix Feb 2, 2025
2155776
Merge branch 'develop' into sif-dev
actions-user Feb 2, 2025
c9f8e1a
Add Biome linting and formatting configuration to the following plugins:
AIFlowML Feb 2, 2025
734a1ef
Add Biome linting and formatting configuration to the following plugins:
AIFlowML Feb 3, 2025
17fe759
Add Biome linting and formatting configuration to the following plugins:
AIFlowML Feb 3, 2025
5290818
Add Biome linting and formatting configuration to the following plugins:
AIFlowML Feb 3, 2025
b30a740
Merge branch 'develop' into fix-multi-biome-07
AIFlowML Feb 3, 2025
cf32d8c
get transaction created (getting reverted for some reason)
monilpat Feb 3, 2025
5cc7350
add logs
monilpat Feb 3, 2025
4233f95
don't go ahead with unsuccessful runs + fix tweet text
monilpat Feb 3, 2025
5742fbd
set up pnl calc using coinbase readContract instead as viem doesn't a…
monilpat Feb 3, 2025
c796614
get building
monilpat Feb 3, 2025
bab741f
add logging to see that issue with swap only quote and price looks right
monilpat Feb 3, 2025
f945817
clean up PR
monilpat Feb 3, 2025
0a792b5
Merge branch 'sif-dev' into coinbaseClient
monilpat Feb 3, 2025
b3ca5e3
Merge branch 'main' into tcm/remove-duplicated-plugins
tcm390 Feb 3, 2025
0999816
fix typo
monilpat Feb 3, 2025
d566828
Merge branch 'develop' into tcm/remove-duplicated-plugins
tcm390 Feb 3, 2025
841fdb1
Merge pull request #3126 from elizaOS/tcm/remove-duplicated-plugins
tcm390 Feb 3, 2025
940a498
Merge branch 'develop' into sif-dev
actions-user Feb 3, 2025
9fe3bc5
update provider-utils
tcm390 Feb 3, 2025
b20e232
Merge branch 'develop' into tcm-update-provider-utils
tcm390 Feb 3, 2025
bde2989
Merge pull request #3189 from elizaOS/tcm-update-provider-utils
tcm390 Feb 3, 2025
b6ddccc
Merge branch 'develop' into sif-dev
actions-user Feb 3, 2025
adc87b8
extract attribute from raw text instead of normalized json
tcm390 Feb 3, 2025
a00ab78
Merge pull request #3190 from elizaOS/tcm-correct-extract
tcm390 Feb 3, 2025
03badcb
Merge branch 'develop' into sif-dev
actions-user Feb 3, 2025
44baa99
testing changes
monilpat Feb 3, 2025
5b1def1
Merge branch 'develop' into fix-multi-biome-07
samarth30 Feb 3, 2025
60e0a61
wip refactor
monilpat Feb 3, 2025
ccc5b42
Merge branch 'develop' into feat/coingecko_advanced_more_endpoints
samarth30 Feb 3, 2025
b25a962
Merge branch 'develop' into develop
john-xina-p88 Feb 3, 2025
ea23ea1
Merge pull request #3170 from 0xCardinalError/feat/coingecko_advanced…
samarth30 Feb 3, 2025
20cfdf6
Merge branch 'develop' into sif-dev
actions-user Feb 3, 2025
9ab8f5a
Merge pull request #3045 from edwin-finance/plugin-edwin
samarth30 Feb 3, 2025
75959e7
Merge branch 'develop' into sif-dev
actions-user Feb 3, 2025
085e970
Merge pull request #3096 from HMXOrg/develop
samarth30 Feb 3, 2025
d12c008
Merge branch 'develop' into sif-dev
actions-user Feb 3, 2025
254d438
Update Twitter to X (Twitter)
nilaysarma Feb 3, 2025
b4dc569
Merge branch 'develop' into 3196--Update-Twitter-to-X
tcm390 Feb 3, 2025
2330af2
Merge pull request #3198 from nilaysarma/3196--Update-Twitter-to-X
tcm390 Feb 3, 2025
4567b0a
Merge branch 'develop' into sif-dev
actions-user Feb 3, 2025
a254ba3
Merge branch 'develop' into fix-multi-biome-07
shakkernerd Feb 3, 2025
88cebef
Merge pull request #3186 from AIFlowML/fix-multi-biome-07
shakkernerd Feb 3, 2025
1a9e5b8
typo chat_2024-12-01.md
gap-editor Feb 3, 2025
102ea01
typo chat_2024-12-03.md
gap-editor Feb 3, 2025
3bcbe38
Merge branch 'develop' into sif-dev
actions-user Feb 3, 2025
de88d65
Update chat_2024-10-30.md
gap-editor Feb 3, 2025
3bd7e15
Merge branch 'develop' into fix-plugin-anyone
shakkernerd Feb 3, 2025
ea6542e
Merge pull request #3107 from AIFlowML/fix-plugin-anyone
shakkernerd Feb 3, 2025
b29d740
Merge branch 'develop' into docs/contributor-meetings
YoungPhlo Feb 3, 2025
66621a7
fix: think tag from venice
rferrari Feb 3, 2025
b23f1b2
Merge branch 'develop' into sif-dev
actions-user Feb 3, 2025
42cc610
docs: Add weekly contributor meeting notes (01-21 and 01-28)
YoungPhlo Feb 3, 2025
76e4e5e
Update chat_2024-11-23.md
gap-editor Feb 3, 2025
1fc294e
typo chat_2024-12-02.md
gap-editor Feb 3, 2025
719a325
capitalized ElizaOS (for graphite)
YoungPhlo Feb 3, 2025
31c09f7
Update faq.md
Danyylka Feb 3, 2025
a345518
Merge branch 'develop' into main
shakkernerd Feb 3, 2025
36281dd
Merge pull request #3207 from Danyylka/main
shakkernerd Feb 3, 2025
678d622
Merge branch 'develop' into main
shakkernerd Feb 3, 2025
dd1aee8
Merge pull request #3206 from gap-editor/main
shakkernerd Feb 3, 2025
f882e47
Merge branch 'develop' into docs/contributor-meetings
shakkernerd Feb 3, 2025
db06665
Merge pull request #3204 from YoungPhlo/docs/contributor-meetings
shakkernerd Feb 3, 2025
5dcda73
Merge branch 'develop' into develop
shakkernerd Feb 3, 2025
897e7a4
Merge pull request #3203 from rferrari/develop
shakkernerd Feb 3, 2025
9583227
Merge branch 'develop' into sif-dev
actions-user Feb 3, 2025
97a7a6e
fix: build issue and restructured some 0x and coinbase code to align …
snobbee Feb 3, 2025
a1f160b
fix: add missing changes
snobbee Feb 3, 2025
98adbfe
fix: add missing weth to metadata
snobbee Feb 3, 2025
a50b2c1
Merge branch 'sif-dev' of https://github.com/Sifchain/sa-eliza into c…
monilpat Feb 3, 2025
50e319a
remove hardcoded USDC contract address
monilpat Feb 3, 2025
a797fdb
working buy sell
monilpat Feb 4, 2025
845df13
get price in USD working
monilpat Feb 4, 2025
533cf76
Merge branch 'sif-dev' of https://github.com/Sifchain/sa-eliza into c…
monilpat Feb 4, 2025
ea1e96d
merge
monilpat Feb 4, 2025
f65dc42
update tweet
monilpat Feb 4, 2025
f3028d8
Merge pull request #277 from Sifchain/coinbaseClient
snobbee Feb 4, 2025
6a20f27
remove address
monilpat Feb 4, 2025
f286aaf
Merge pull request #326 from Sifchain/cleanUpTweet
snobbee Feb 4, 2025
994e1f7
use amountUSD for tweeting
monilpat Feb 4, 2025
f067ada
Merge pull request #330 from Sifchain/getTweetCleanup
snobbee Feb 4, 2025
c07e5c1
incorporate pending transactions into nonce check
monilpat Feb 5, 2025
65cdebe
add pnl calc
monilpat Feb 5, 2025
bca9a14
add it back into tweet
monilpat Feb 5, 2025
22d1cfc
clean up
monilpat Feb 5, 2025
1abbb67
Merge pull request #331 from Sifchain/getPNLAndNonce
snobbee Feb 5, 2025
453daa2
Merge branch 'sif-dev' into pnl
snobbee Feb 5, 2025
9381526
build: fix zod issue with client-direct
snobbee Feb 5, 2025
bd607a6
fix: pnl calc fixed
snobbee Feb 6, 2025
9487683
Merge pull request #332 from Sifchain/pnl
snobbee Feb 6, 2025
f184699
tracing database schema
Imsharad Feb 6, 2025
ff8c22f
adding instrumentation class
Imsharad Feb 6, 2025
d472386
instrumenting start session
Imsharad Feb 6, 2025
774fc3a
instrument :message received
Imsharad Feb 6, 2025
e1cff3e
adding db span processor
Imsharad Feb 6, 2025
ec4cc8f
adding dbspan exporter locally
Imsharad Feb 6, 2025
ebf5e0c
adding open telemetry related dependencies
Imsharad Feb 6, 2025
04b1213
adding model selected event to traces
Imsharad Feb 6, 2025
05fee6d
adding dbspan processor
Imsharad Feb 6, 2025
8b91aec
adding changes for instrumentation
Imsharad Feb 6, 2025
46689a7
instrumentation changes
VisionOra Feb 7, 2025
a08066f
add drop table statements
Imsharad Feb 7, 2025
187ae9a
instrumenting agentID, sessionID, roomID
Imsharad Feb 7, 2025
869131b
additional event types
Imsharad Feb 7, 2025
e5570bb
additional event action types
Imsharad Feb 7, 2025
556eea2
adding new events to instrument traces
Imsharad Feb 7, 2025
26d7da0
adding docs
Imsharad Feb 10, 2025
b2218ff
adding prompt context
Imsharad Feb 12, 2025
5847394
Solved build error
Scav6411 Feb 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 30 additions & 0 deletions .agenda
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Architecture


Eliza Agent OS is a comprehensive, modular, and highly extensible system that brings together a variety of components to create intelligent, autonomous agents capable of interacting with users across multiple platforms. At its core, the architecture is built around three fundamental pillars:

1. The Agent Core
• The "@agent" package is the heart of the system. It boots up the intelligent agent by loading and merging configuration files (in JSON format) that define a character's personality, voice settings, and available functionalities.

• It sets up essential connections to support systems such as databases (Postgres, SQLite, Supabase, MongoDB, etc.) and caching layers (Redis or local caches), ensuring that all stateful data—like conversation histories or persistent memories—is reliably stored and retrieved.

• Agents encapsulate the decision-making logic. They parse incoming messages, decide whether or not to act based on pre-defined templates and rules, and invoke corresponding action handlers. This core logic is agnostic to the communication channel, allowing the system to be robust and adaptable.

2. Plugins
• Plugins extend the capabilities of the agent far beyond simple messaging. For example, the "@plugin-github" plugin introduces deep GitHub-specific functionality into the system.
- It starts by defining its package metadata (through package.json) and ensuring proper dependency management with libraries like @octokit/rest.
- Rigorous input validation is achieved through constants and types defined using libraries like Zod, ensuring that every GitHub action—from creating issues and commits to initializing repositories—receives correctly formatted data.
- The plugin is structured around modular "actions" (each with unique names, descriptions, validate functions, and handler logic) and "providers" to interact with various GitHub contents like source code and documentation.
- Finally, its components are re-exported in a unified interface, so that the core agent can seamlessly integrate these functionalities.
• Similarly, other plugins (such as @plugin-email and others) offer specialized integrations that address distinct needs within the ecosystem, making it easy to customize and extend the functionality without altering the system's core.

3. Clients
• Clients function as the "bridges" between the core agent and the external communication platforms. They abstract away platform-specific details, allowing agents to interact with the outside world effortlessly.
• For example, the Slack client (@client-slack) handles all aspects of connection management, event listening (via a dedicated event adapter), and message formatting. It captures events like new messages, URL verifications, and reactions, then forwards these events to the agent's logic.
• This separation enables the agents to generate responses and take actions without needing to know the specifics of how Slack, Twitter, Discord, or any other platform operates. It also means that integrating a new communication channel is as simple as swapping out or adding a new client module.

4. Adapters
• Adapters serve as abstraction layers for data persistence and caching. They enable the system to interact with different databases and storage systems using a unified API.
• For instance, the "@adapter-postgres" module integrates PostgreSQL into the ecosystem. It manages schema migrations, seed data, and leverages advanced features such as pgvector for vector-based similarity search and fuzzystrmatch for text matching.
• The adapter is designed with careful separation of concerns: SQL migration scripts establish the database schema and row-level security measures, dedicated utility functions handle dynamic SQL queries, and rigorous testing (often in Docker-based environments) confirms the correct operation of critical functions.
• By encapsulating all the complexities of database operations, adapters allow other components (agents, plugins, and clients) to store and retrieve data efficiently without needing to manage the underlying database intricacies.
34 changes: 25 additions & 9 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,16 @@ COINBASE_PRIVATE_KEY= # From Coinbase developer portal
COINBASE_GENERATED_WALLET_ID= # Not your address but the wallet ID from generating a wallet through the plugin
COINBASE_GENERATED_WALLET_HEX_SEED= # Not your address but the wallet hex seed from generating a wallet through the plugin and calling export
COINBASE_NOTIFICATION_URI= # For webhook plugin the uri you want to send the webhook to for dummy ones use https://webhook.site
COINBASE_TRADING_AMOUNT= # Amount allocated for trading
COINBASE_SHORT_TERM_TRADING_WALLET_SEED= # Seed for short-term trading wallet
COINBASE_SHORT_TERM_TRADING_WALLET_ID= # ID for short-term trading wallet
COINBASE_LONG_TERM_TRADING_WALLET_SEED= # Seed for long-term trading wallet
COINBASE_LONG_TERM_TRADING_WALLET_ID= # ID for long-term trading wallet
COINBASE_DRY_POWDER_WALLET_SEED= # Seed for dry powder wallet
COINBASE_DRY_POWDER_WALLET_ID= # ID for dry powder wallet
COINBASE_OPERATIONAL_CAPITAL_WALLET_SEED= # Seed for operational capital wallet
COINBASE_OPERATIONAL_CAPITAL_WALLET_ID= # ID for operational capital wallet


# Coinbase AgentKit
CDP_API_KEY_NAME=
Expand Down Expand Up @@ -536,6 +546,15 @@ CLOUDFLARE_AI_GATEWAY_ID= # Cloudflare AI Gateway ID - found in the Cloudflare D
APTOS_PRIVATE_KEY= # Aptos private key
APTOS_NETWORK= # Must be one of mainnet, testnet

# Github
GITHUB_PLUGIN_ENABLED= # Enable this to run the GitHub plugin independently of the GitHub client
GITHUB_CLIENT_ENABLED= # Enable this to run the GitHub client
GITHUB_API_TOKEN= # from github developer portal

GITHUB_USER_CHECK_INTERVAL_MS= # interval in milliseconds between github user check cycles (default: 5000)
GITHUB_INFO_DISCOVERY_INTERVAL_MS= # interval in milliseconds between github info discovery cycles (default: 1000)
GITHUB_OODA_INTERVAL_MS= # interval in milliseconds between OODA cycles (default: 60000)

# MultiversX
MVX_PRIVATE_KEY= # Multiversx private key
MVX_NETWORK= # must be one of mainnet, devnet, testnet
Expand Down Expand Up @@ -682,15 +701,9 @@ DEEPGRAM_API_KEY=
VERIFIABLE_INFERENCE_ENABLED=false # Set to false to disable verifiable inference
VERIFIABLE_INFERENCE_PROVIDER=opacity # Options: opacity

# Qdrant
# URL of your Qdrant instance (e.g., https://your-instance.qdrant.tech)
QDRANT_URL=
# API key for authentication (optional for local instances)
QDRANT_KEY=
# Qdrant service port (default: 443 for cloud, typically 6333 for local)
QDRANT_PORT=443
# Vector size matching your embedding model (default: 1536 for OpenAI embeddings)
QDRANT_VECTOR_SIZE=1536
# Set the conversation length for the agent runtime
CONVERSATION_LENGTH=32


# Autonome Configuration
AUTONOME_JWT_TOKEN=
Expand Down Expand Up @@ -952,4 +965,7 @@ ARBITRAGE_EVM_PRIVATE_KEY= # Private key for the wallet executi
FLASHBOTS_RELAY_SIGNING_KEY= # Signing key for Flashbots relay interactions
BUNDLE_EXECUTOR_ADDRESS= # Address of the bundle executor contract

# DESK Exchange Plugin Configration
DESK_EXCHANGE_PRIVATE_KEY= # Required for trading and cancelling orders
DESK_EXCHANGE_NETWORK= # "mainnet" or "testnet

81 changes: 81 additions & 0 deletions .github/workflows/sync-upstream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: Sync Fork with Upstream

on:
# Runs every 5 minutes
schedule:
- cron: "*/5 * * * *"

# Allow manual trigger
workflow_dispatch:

jobs:
sync:
name: Sync with upstream
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main

- name: Add upstream remote
run: |
git remote add upstream https://github.com/elizaOS/eliza.git
git remote -v

- name: Fetch upstream
run: git fetch upstream

- name: Configure Git
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git config pull.rebase true

# Sync main branch
- name: Sync main branch
run: |
git checkout main
git pull origin main
git merge upstream/main
git push origin main
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}

# Add sync develop branch
- name: Sync develop branch
run: |
git fetch origin develop
git checkout develop || git checkout -b develop
git pull origin develop
git merge upstream/develop
git push origin develop
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}

# Updated to merge both main and develop into sif-dev
- name: Merge into sif-dev
run: |
git fetch origin sif-dev
git checkout sif-dev
git pull origin sif-dev

# Try to merge main into sif-dev
git merge main --strategy-option ours || {
git merge --abort
git reset --hard
git merge -X ours main
}

# Try to merge develop into sif-dev
git merge develop --strategy-option ours || {
git merge --abort
git reset --hard
git merge -X ours develop
}

git push origin sif-dev
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ node-compile-cache
.zed
.DS_Store

# Build directories
/dist
/build
/out

dist/
# Allow models directory but ignore model files
models/*.gguf
Expand Down Expand Up @@ -72,6 +77,9 @@ eliza.manifest
eliza.manifest.sgx
eliza.sig

all_files_content.txt
repo_compiler.zsh

packages/plugin-nvidia-nim/extra
packages/plugin-nvidia-nim/old_code
packages/plugin-nvidia-nim/docs
Expand All @@ -91,4 +99,4 @@ lit-config.json

# Configuration to exclude the extra and local_docs directories
extra
**/dist/**
**/dist/**
23 changes: 23 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch via pnpm",
"runtimeExecutable": "pnpm",
"runtimeArgs": [
"run",
"cleanstart:debug",
"--character=characters/staff-engineer.character.json"
],
"skipFiles": [
"<node_internals>/**"
],
"console": "integratedTerminal",
}
]
}
31 changes: 28 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

## ✨ Features

- 🛠️ Full-featured Discord, Twitter and Telegram connectors
- 🛠️ Full-featured Discord, X (Twitter) and Telegram connectors
- 🔗 Support for every model (Llama, Grok, OpenAI, Anthropic, Gemini, etc.)
- 👥 Multi-agent and room support
- 📚 Easily ingest and interact with your documents
Expand Down Expand Up @@ -108,11 +108,36 @@ pnpm start:client

Then read the [Documentation](https://elizaos.github.io/eliza/) to learn how to customize your Eliza.

---
### Manually Start Eliza (Only recommended if you know what you are doing)

```bash
# Clone the repository
git clone https://github.com/elizaos/eliza.git

# Checkout the latest release
# This project iterates fast, so we recommend checking out the latest release
git checkout $(git describe --tags --abbrev=0)
# If the above doesn't checkout the latest release, this should work:
# git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
```

### Start Eliza with Gitpod

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/elizaos/eliza/tree/main)

### Edit the .env file

Copy .env.example to .env and fill in the appropriate values.

```
cp .env.example .env
```

Note: .env is optional. If your planning to run multiple distinct agents, you can pass secrets through the character JSON

### Automatically Start Eliza

The start script provides an automated way to set up and run Eliza:
This will run everything to setup the project and start the bot with the default character.

```bash
sh scripts/start.sh
Expand Down
9 changes: 6 additions & 3 deletions agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@
"@elizaos/plugin-coinmarketcap": "workspace:*",
"@elizaos/plugin-conflux": "workspace:*",
"@elizaos/plugin-cosmos": "workspace:*",
"@elizaos/plugin-desk-exchange": "workspace:*",
"@elizaos/plugin-echochambers": "workspace:*",
"@elizaos/plugin-evm": "workspace:*",
"@elizaos/plugin-edwin": "workspace:*",
"@elizaos/plugin-flow": "workspace:*",
"@elizaos/plugin-gelato": "workspace:*",
"@elizaos/plugin-giphy": "workspace:*",
Expand All @@ -66,9 +68,7 @@
"@elizaos/plugin-icp": "workspace:*",
"@elizaos/plugin-initia": "workspace:*",
"@elizaos/plugin-image-generation": "workspace:*",
"@elizaos/plugin-intiface": "workspace:*",
"@elizaos/plugin-lens-network": "workspace:*",
"@elizaos/plugin-letzai": "workspace:*",
"@elizaos/plugin-lit": "workspace:*",
"@elizaos/plugin-massa": "workspace:*",
"@elizaos/plugin-mind-network": "workspace:*",
Expand Down Expand Up @@ -152,6 +152,9 @@
"@elizaos/plugin-near": "workspace:*",
"@elizaos/plugin-stargaze": "workspace:*",
"@elizaos/plugin-zksync-era": "workspace:*",
"@elizaos/plugin-github": "workspace:*",
"@elizaos/client-github": "workspace:*",
"@elizaos/client-coinbase": "workspace:*",
"readline": "1.3.0",
"ws": "8.18.0",
"yargs": "17.7.2"
Expand All @@ -163,4 +166,4 @@
"ts-node": "10.9.2",
"tsup": "8.3.5"
}
}
}
Loading
Loading