Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
71ae0cb
change the models
0xJaySojitra Jul 7, 2025
9de2358
feat: add healthMonitoring skill and their related tools
0xJaySojitra Jul 10, 2025
10daf6e
feat: add prevention strategy skill and tools for supply, repay, and …
0xJaySojitra Jul 14, 2025
09b3fdd
merge updated code
0xJaySojitra Jul 14, 2025
7595a8c
update dependency
0xJaySojitra Jul 14, 2025
ac69d06
merge main branch
0xJaySojitra Jul 14, 2025
c60634f
update ember endpoint
0xJaySojitra Jul 15, 2025
f711925
Merge branch 'main' of https://github.com/EmberAGI/arbitrum-vibekit i…
0xJaySojitra Jul 17, 2025
be41b52
fix: update MCP connection setup, tool calls for remote server, add t…
0xJaySojitra Jul 18, 2025
2df70fd
refactor: update OpenRouter model and improve frontend response handling
0xJaySojitra Jul 19, 2025
7b4cbf3
merge updated code
0xJaySojitra Jul 19, 2025
96a6545
fix: use tokenMap for token address resolution and refactor to follow…
0xJaySojitra Jul 19, 2025
fad3f57
refactor: extract position status skill for user position and wallet …
0xJaySojitra Jul 21, 2025
35d6b0a
fix: implement getWalletBalances tool manually (MCP tool unavailable)
0xJaySojitra Jul 22, 2025
d9d0d3c
fetch and validate Aave lending capabilities via getCapabilities tool…
0xJaySojitra Jul 23, 2025
540f019
fetch and cache raw Aave lending data for LLM analysis
0xJaySojitra Jul 24, 2025
8344cfe
refactor: move agentConfig to config.ts and update imports
0xJaySojitra Jul 24, 2025
8167faa
test: add integration test for agent config and skills in liquidation…
0xBhumi Jul 24, 2025
4a393ab
change the file path for the agent config
0xBhumi Jul 24, 2025
fea4f4a
Merge branch 'main' of https://github.com/EmberAGI/arbitrum-vibekit
0xJaySojitra Jul 25, 2025
10a6944
Merge branch 'main' of github-jay1:0xJaySojitra/arbitrum-vibekit
0xJaySojitra Jul 25, 2025
044a6c3
fix: fix the issue related LLM use in tool
0xJaySojitra Aug 5, 2025
a5625d7
test: add test for agent configurations and skills
0xBhumi Aug 5, 2025
497095e
test: add comprehensive unit tests with risk level validation for get…
0xBhumi Aug 5, 2025
4cc1dac
test: add comprehensive unit tests for getWalletBalances tool
0xBhumi Aug 5, 2025
4b0a5e2
test: add comprehensive unit tests for SypplyCollateral tool
0xBhumi Aug 5, 2025
6073648
fix: fix the LLM issue and update responce schema for handle Hybrid a…
0xJaySojitra Aug 6, 2025
ee4acd7
Merge branch 'main' of github-jay1:0xJaySojitra/arbitrum-vibekit
0xJaySojitra Aug 6, 2025
bbf1e24
change the ember endpoint
0xJaySojitra Aug 6, 2025
759b20d
Merge branch 'main' of https://github.com/EmberAGI/arbitrum-vibekit
0xJaySojitra Aug 6, 2025
94bd4e6
test: add unit tests for repayDebt tool in liquidation prevention agent
0xBhumi Aug 6, 2025
c95bbd0
test: add monitorHealth tool unit tests for liquidation prevention
0xBhumi Aug 6, 2025
c191054
test: add intelligentPreventionStrategy unit tests for liquidation pr…
0xBhumi Aug 6, 2025
d8bcb64
test: add liquidation data tool unit tests for liquidation prevention…
0xBhumi Aug 6, 2025
4f0a314
test: add token resolver unit tests for liquidation prevention agent
0xBhumi Aug 6, 2025
921335f
test: add transaction executor unit tests for liquidation prevention …
0xBhumi Aug 6, 2025
14431f0
test: add health monitoring skill test for liquidation prevention agent
0xBhumi Aug 6, 2025
b3057a0
test: add liquidation prevention skill integration test
0xBhumi Aug 6, 2025
acae56f
test: add position status skill test for liquidation prevention agent
0xBhumi Aug 6, 2025
75c403f
test: add end to end test for liquidation prevention agent
0xBhumi Aug 6, 2025
d283f1d
fix(e2e): add missing MCP mock for repayDebt in multi-step liquidatio…
0xBhumi Aug 6, 2025
48919b0
fix(test): update intelligent prevnetion strategy unit test for imple…
0xBhumi Aug 6, 2025
3386a9d
test: add user preferences, liquidation data unit tests and supress c…
0xBhumi Aug 6, 2025
2e06a8c
refactor: refactor the code and remove some temp file and their test …
0xJaySojitra Aug 8, 2025
4ab408e
refactor: remove some unnecessary code
0xJaySojitra Aug 8, 2025
2aceca6
update readme and necessary changes
0xJaySojitra Aug 8, 2025
739f390
Update README.md
0xBhumi Aug 8, 2025
b59fea9
Merge branch 'main' of https://github.com/EmberAGI/arbitrum-vibekit
0xJaySojitra Aug 21, 2025
9684845
Merge branch 'main' of https://github.com/EmberAGI/arbitrum-vibekit
0xJaySojitra Aug 23, 2025
3def1f6
refactor: update token loading tool, add secure hooks, and clean up c…
0xJaySojitra Aug 23, 2025
316d7d9
fix: handle precision error, add safety buffer in monitorHealth for b…
0xJaySojitra Aug 23, 2025
12e67b0
revert changes in provider file
0xJaySojitra Aug 23, 2025
3752228
test: fix tests to reflect recent code updates of liquidation prevent…
0xBhumi Aug 25, 2025
78a2fda
fix: prevent auto-prevention trigger when health factor is -1 (invali…
0xJaySojitra Aug 29, 2025
ff4592a
Merge branch 'main' of github-jay1:0xJaySojitra/arbitrum-vibekit
0xJaySojitra Aug 29, 2025
074a4d8
fix: merger the branch and revert the unnecessary changes
0xJaySojitra Sep 17, 2025
6947e1b
Merge branch 'main' of https://github.com/EmberAGI/arbitrum-vibekit
0xJaySojitra Oct 5, 2025
9cba713
fix: update tool for deposit and repay
0xJaySojitra Oct 27, 2025
1a5d2b6
merge: merge the main branch
0xJaySojitra Oct 27, 2025
6d50a56
fix: update the liquidation-prevention-agent and make it compatible w…
0xJaySojitra Nov 29, 2025
c5c0c48
merge : merge upstream branch
0xJaySojitra Nov 29, 2025
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
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
"editor.defaultFormatter": "vscode.json-language-features"
},
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true
}
}
2 changes: 1 addition & 1 deletion typescript/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ ALLORA_API_KEY=
# GitHub Personal Access Token for semantic-release (optional - only needed for release dry-runs and actual releases)
# Create a fine-grained token at: https://github.com/settings/personal-access-tokens/new
# Required permissions: Contents (Read-only for dry-run, Read & Write for releases)
# GH_TOKEN=github_pat_...
# GH_TOKEN=github_pat_...
2 changes: 2 additions & 0 deletions typescript/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/onchain-actions/
**/node-compiler-cache/
**/node-compile-cache/
/.artifacts/
202 changes: 124 additions & 78 deletions typescript/clients/web-legacy/agents-config.ts
Original file line number Diff line number Diff line change
@@ -1,78 +1,78 @@
export const chatAgents = [
{
id: 'ember-aave' as const,
name: 'Lending',
description: 'AAVE lending agent',
suggestedActions: [
{
title: 'Deposit WETH',
label: 'to my balance',
action: 'Deposit WETH to my balance',
},
{ title: 'Check', label: 'balance', action: 'Check balance' },
],
},
{
id: 'ember-camelot' as const,
name: 'Trading',
description: 'Camelot Swapping agent',
suggestedActions: [
{
title: 'Swap USDC for ETH',
label: 'on Arbitrum Network.',
action: 'Swap USDC for ETH tokens from Arbitrum to Arbitrum.',
},
{
title: 'Buy ARB',
label: 'on Arbitrum.',
action: 'Buy ARB token.',
},
],
},
{
id: 'defisafety-agent' as const,
name: 'DeFi Safety',
description: 'AI agent for evaluating DeFi protocol safety and documentation quality',
suggestedActions: [
{
title: 'Quick Evaluation',
label: 'safety score',
action: 'Evaluate the safety of Aave protocol with 30 pages',
},
{
title: 'Compare Protocols',
label: 'side by side',
action: 'Compare Uniswap and SushiSwap safety scores with 20 pages each',
},
{
title: 'Generate Report',
label: 'detailed analysis',
action: 'Generate a comprehensive safety report for Compound with 50 pages',
},
],
},
{
id: 'coingecko' as const,
name: 'Price Charts',
description: 'Cryptocurrency price data and charts',
suggestedActions: [
{
title: 'Generate BTC',
label: 'price chart',
action: 'Generate a price chart for BTC over 7 days',
},
{
title: 'Show supported',
label: 'tokens',
action: 'What cryptocurrency tokens are supported?',
},
{
title: 'Generate ETH',
label: 'price chart',
action: 'Generate a price chart for ETH over 30 days',
},
],
},
// {
// id: 'ember-aave' as const,
// name: 'Lending',
// description: 'AAVE lending agent',
// suggestedActions: [
// {
// title: 'Deposit WETH',
// label: 'to my balance',
// action: 'Deposit WETH to my balance',
// },
// { title: 'Check', label: 'balance', action: 'Check balance' },
// ],
// },
// {
// id: 'ember-camelot' as const,
// name: 'Trading',
// description: 'Camelot Swapping agent',
// suggestedActions: [
// {
// title: 'Swap USDC for ETH',
// label: 'on Arbitrum Network.',
// action: 'Swap USDC for ETH tokens from Arbitrum to Arbitrum.',
// },
// {
// title: 'Buy ARB',
// label: 'on Arbitrum.',
// action: 'Buy ARB token.',
// },
// ],
// },
// {
// id: 'defisafety-agent' as const,
// name: 'DeFi Safety',
// description: 'AI agent for evaluating DeFi protocol safety and documentation quality',
// suggestedActions: [
// {
// title: 'Quick Evaluation',
// label: 'safety score',
// action: 'Evaluate the safety of Aave protocol with 30 pages',
// },
// {
// title: 'Compare Protocols',
// label: 'side by side',
// action: 'Compare Uniswap and SushiSwap safety scores with 20 pages each',
// },
// {
// title: 'Generate Report',
// label: 'detailed analysis',
// action: 'Generate a comprehensive safety report for Compound with 50 pages',
// },
// ],
// },
// {
// id: 'coingecko' as const,
// name: 'Price Charts',
// description: 'Cryptocurrency price data and charts',
// suggestedActions: [
// {
// title: 'Generate BTC',
// label: 'price chart',
// action: 'Generate a price chart for BTC over 7 days',
// },
// {
// title: 'Show supported',
// label: 'tokens',
// action: 'What cryptocurrency tokens are supported?',
// },
// {
// title: 'Generate ETH',
// label: 'price chart',
// action: 'Generate a price chart for ETH over 30 days',
// },
// ],
// },
// {
// id: 'langgraph-workflow' as const,
// name: 'Greeting Optimizer',
Expand Down Expand Up @@ -101,6 +101,50 @@ export const chatAgents = [
// description: 'Quickstart agent',
// suggestedActions: [],
// },
{
id: 'liquidation-prevention-agent' as const,
name: 'Liquidation Prevention',
description:
'Aave liquidation prevention agent that monitors health factors and prevents liquidations',
suggestedActions: [
{
title: 'Monitor',
label: 'my positions',
action: 'Monitor my Aave positions and health factor',
},
{
title: 'Check',
label: 'liquidation risk',
action: 'Check my liquidation risk and health factor',
},
{
title: 'Prevent',
label: 'liquidation automatically',
action: 'Set up automatic liquidation prevention for my positions',
},
],
},

//Todo :add for lending agent from template folder
// {
// id: 'lending-agent' as const,
// name: 'Lending',
// description: 'Lending agent',
// suggestedActions: [
// {
// title: 'Deposit WETH',
// label: 'to my balance',
// action: 'Deposit WETH to my balance',
// },
// {
// title: 'borrow DAI',
// label: 'to my balance',
// action: 'borrow DAI to my balance',
// },
// { title: 'Check', label: 'balance', action: 'Check balance' },
// ],
// },

// {
// id: 'allora-price-prediction-agent' as const,
// name: 'Price Prediction',
Expand Down Expand Up @@ -177,12 +221,14 @@ export const chatAgents = [
] as const;

export const DEFAULT_SERVER_URLS = new Map<ChatAgentId, string>([
['ember-aave', 'http://lending-agent-no-wallet:3001/sse'],
['ember-camelot', 'http://swapping-agent-no-wallet:3005/sse'],
['defisafety-agent', 'http://defisafety-agent:3010/sse'],
['coingecko', 'http://coingecko-mcp-server:3011/mcp'], // CoinGecko MCP server
// ['ember-aave', 'http://lending-agent-no-wallet:3001/sse'],
// ['ember-camelot', 'http://swapping-agent-no-wallet:3005/sse'],
// ['defisafety-agent', 'http://defisafety-agent:3010/sse'],
// ['coingecko', 'http://coingecko-mcp-server:3011/mcp'], // CoinGecko MCP server
// ['langgraph-workflow', 'http://langgraph-workflow-agent:3009/sse'],
// ['quickstart-agent-template', 'http://quickstart-agent-template:3007/sse'],
// ['lending-agent', 'http://lending-agent:3006/sse'],
['liquidation-prevention-agent', 'http://liquidation-prevention-agent:3010/sse'],
// ['allora-price-prediction-agent', 'http://allora-price-prediction-agent:3008/sse'],
// ["ember-lp", "http://liquidity-agent-no-wallet:3002/sse"],
// ["ember-pendle", "http://pendle-agent:3003/sse"],
Expand Down
Loading