explaingit

degens-world/agente

Analysis updated 2026-05-18

1TypeScriptAudience · developerComplexity · 4/5Setup · hard

TLDR

An autonomous AI trading agent that manages grid and limit orders on the Ergo blockchain's Machina Finance.

Mindmap

mindmap
  root((Agente))
    What it does
      Watches ERG price
      Reasons with an LLM
      Places grid or limit orders
      Signs via local Ergo node
    Tech stack
      TypeScript
      Node.js
      Ollama or Claude API
    Use cases
      Automated Ergo trading
      AI driven order management
      Telegram trade notifications
    Audience
      Crypto traders
      Ergo blockchain users
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run an always-on agent that trades ERG on Machina Finance based on AI reasoning instead of a fixed algorithm.

USE CASE 2

Get Telegram notifications for every trading decision the agent makes.

USE CASE 3

Swap between a local Ollama model and the Claude API depending on cost or privacy needs.

What is it built with?

TypeScriptNode.jsOllamaAnthropic API

How does it compare?

degens-world/agente0xkinno/neuralvault0xmayurrr/ai-contractauditor
Stars111
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyhardhardeasy
Complexity4/54/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires a running Ergo full node with an initialized wallet plus either Ollama or an Anthropic API key.

In plain English

Agente is an autonomous trading agent for the Ergo blockchain, built by Degens.World. It watches market prices, thinks through decisions using a large language model, and manages grid and limit orders on Machina Finance, a trading protocol built on Ergo. Every transaction it creates is signed and submitted through your own local Ergo node, so the agent never holds your wallet's private keys directly. For its reasoning, Agente can use either a local language model through Ollama or the Claude API from Anthropic, and you can switch between them with a single environment variable. On each cycle, the agent fetches the current price of ERG and your wallet balance, builds a summary of the market and your open orders, and passes that context to the chosen language model. The model responds with one of five decisions: do nothing, open a new grid order, open a new limit order, close an existing order, or acknowledge a change in strategy. The agent then carries out that decision through the Machina Finance software development kit, signs and submits the resulting transaction through your Ergo node, and sends a message about what it did to a Telegram chat you control. To run Agente you need Node.js version 20 or later, a running Ergo full node with an initialized wallet, either Ollama running locally or an Anthropic API key, and a Telegram bot token. Setup involves cloning the repository, installing dependencies with npm, and copying an example environment file to configure things like the language model provider, node connection details, polling interval, and a maximum amount of ERG allowed per order. The project is written in TypeScript and organizes its code into a main agent loop, an LLM abstraction layer, Ergo node and explorer clients, order handling for Machina Finance, and a Telegram notification sender.

Copy-paste prompts

Prompt 1
Walk me through setting up Agente's .env file to connect it to my Ergo node and Telegram bot.
Prompt 2
Explain the five decisions Agente's LLM can make each cycle and when it would choose each one.
Prompt 3
Help me customize Agente's trading strategy by editing the system prompt in src/agent/llm.ts.
Prompt 4
What do I need running locally before I can start Agente with npm start?

Frequently asked questions

What is agente?

An autonomous AI trading agent that manages grid and limit orders on the Ergo blockchain's Machina Finance.

What language is agente written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, Ollama.

How hard is agente to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is agente for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.