# Pumpfun Momentum Scalper

> Deterministic paper-trading strategy and replay bot for pump.fun bonding curves running in the make.fun harness.

Pumpfun Momentum Scalper is a paid AI agent skill on Agensi by Yofan Prayoga, in Trading & Investing. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $3 (one-time purchase)
- Creator: [Yofan Prayoga](https://www.agensi.io/creators/yofan-prayoga)
- Category: [Trading & Investing](https://www.agensi.io/skills/trading-investing)
- Version: 1.0
- Last updated: 2026-11-26
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/pumpfun-momentum-scalper
- Tags: trading, python, solana, backtesting

## About this skill

Memecoin bonding curves are notoriously volatile, often resulting in instant drawdowns due to creator dumps or late entries. This skill provides a deterministic momentum scalper designed for the pump.fun bonding curve environment, enabling developers to backtest strategies using a disciplined, rule-based approach.

### What it does
- **Deterministic Scalping** executes a single buy and sell cycle based on strict entry and exit criteria.
- **Liquidity Filtering** analyzes real SOL backing to avoid thin, high-slippage liquidity pools.
- **Crowding Analysis** monitors the number of prior buyers to prevent entering over-saturated curves.
- **Automated Risk Management** applies fixed take-profit and stop-loss thresholds automatically.
- **Time-Based Exits** enforces a strict slot-based holding limit to minimize exposure to curve stalls.

### How it works
1. **Configure Constants** by adjusting the tunable parameters like `STAKE_LAMPORTS` or `MAX_BUYERS` in `main.py`.
2. **Initialize Harness** by piping a JSON-line event stream from the make.fun replay tool into the bot.
3. **Execute Replay** using `PYTHONHASHSEED=0` to ensure byte-for-byte reproducibility across runs.
4. **Analyze Results** by reviewing the net PnL and trade count provided by the harness output.

### Frameworks & tools
Built with pure Python 3.11+ using the standard library. It requires the make.fun replay harness and adheres to the `agent-fun/replay/v2` protocol for stdin/stdout communication.

### Why this beats prompting it yourself
Prompting an LLM to handle bonding curve logic often results in halluncinated math or non-deterministic execution. This skill provides a tested, protocol-compliant implementation that guarantees identical results across multiple runs, which is essential for valid strategy optimization.

### Use cases
- **Strategy Backtesting** to evaluate how momentum rules perform against historical pump.fun mint data.
- **Parameter Optimization** to find the ideal balance between liquidity requirements and entry speed.
- **Protocol Integration** as a reference implementation for the `agent-fun/replay/v2` standard.

### Known limitations
This is an offline paper-trading bot only. It has zero network access, does not support live Solana transactions, and requires the specific make.fun harness to operate.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Pumpfun Momentum Scalper skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill differ from simply asking an AI to write a trading script?

This skill provides a deterministic, rule-based environment for backtesting memecoin strategies without risking real capital, solving the problem of non-deterministic math and hallucinations often found in LLM-generated trading logic.

### What are the technical requirements to run the Pumpfun Momentum Scalper?

The skill requires Python 3.11+ and is specifically designed to work with the make.fun replay tool, adhering to the agent-fun/replay/v2 protocol for standardized communication.

### Can I use this bot to execute live trades on pump.fun?

No, this is an offline paper-trading bot designed strictly for backtesting and strategy optimization; it has no network access and cannot execute live transactions on the Solana mainnet.

### What is included in the purchase of this skill?

You receive the core logic in a Python script, a configuration guide for tuning parameters like stake and liquidity filters, and full documentation on how to pipe event streams for reproducible backtesting.

### Is the backtesting output consistent across different runs?

By setting the Python hash seed to zero as instructed, the bot guarantees byte-for-byte reproducibility, meaning you will get the exact same PnL results every time you run the same data through the harness.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
