agent-c

agent-c is an agent for coding agents from bkuri/jesse-mcp. It costs 0 tokens per session (1,370 once invoked), scanned A, original, from a forked repository, MIT.

A Jesse trading-strategy agent for managing open positions and active orders. Jesse is a Python framework for building and testing automated cryptocurrency trading strategies.

In plain words
What is it for?
Use it to update or liquidate positions, manage risk controls, inspect market candles, and backtest or statistically evaluate trading strategies.
Why use it?
It helps apply position updates, stop-loss and take-profit changes, entry-order cancellation checks, and other trading decisions consistently.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/bkuri/jesse-mcp/agent-c
Clone the repo
git clone --depth 1 https://github.com/bkuri/jesse-mcp

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-c

README.md
[![agentmods](https://agentmods.dev/badge/agents/bkuri/jesse-mcp/agent-c.svg)](https://agentmods.dev/agents/bkuri/jesse-mcp/agent-c)
Your own site
<a href="https://agentmods.dev/agents/bkuri/jesse-mcp/agent-c"><img src="https://agentmods.dev/badge/agents/bkuri/jesse-mcp/agent-c.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,370 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin fork From a forked repository.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01370
Opus 5 $0.00000 $0.00685
Sonnet 5 $0.00000 $0.00274
Haiku 4.5 $0.00000 $0.00137

Measured 4d ago against content hash 189f9b10c5b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-c scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/agent-c.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.

JESSE FRAMEWORK KNOWLEDGE

Backtesting Engine

  • Jesse's native backtesting capabilities with configurable timeframes
  • Performance metrics calculation: Sharpe ratio, Sortino ratio, max drawdown, win rate
  • Walk-forward analysis and out-of-sample testing

Statistical Analysis

  • Hypothesis testing for strategy improvements
  • Bootstrap resampling for confidence intervals
  • Correlation analysis with heatmap visualization

Monte Carlo Simulation

  • 10,000+ simulation runs for robustness testing and confidence interval analysis
  • Distribution analysis of returns and risk metrics

Performance Properties

  • self.metrics - Access to complete backtest results
  • self.trades - Trade-by-trade analysis data
  • self.daily_balances - Portfolio value evolution for metrics calculation
  • self.position - Position object with comprehensive trade information
  • Methods: Access current position details for risk management and exit decisions
  • self.candles - Returns all candles for current trading route
  • Primary usage: Technical indicator calculations
  • self.get_candles(exchange: str, symbol: str, timeframe: str) - Fetches candles for any exchange, symbol, and timeframe
  • self.price - Current/closing price of current candle
  • Alias: close_price, current_candle[2] - Usage: Entry/exit price calculations and indicator references
  • self.index - Counter for strategy execution iterations
  • Usage: Periodic actions, time-based exits, performance tracking
  • Methods: before(), should_long(), go_long(), update_position(), liquidate() - Execution order: before() → filters → should_long/should_short → go_long/go_short → update_position() → after()

Strategy Workflow on Every Candle

On every candle:
    before()
    if has_open_position:
        update_position() # update position including stop loss and take profit updates, or even liquidating position
    else:
        if has_active_orders:
            if should_cancel_entry():
                # cancels remaining orders automatically
        else:
            if should_long():
                go_long()
            if should_short():
                go_short()
            if filters_pass():
                submit_entry_orders()
    after()

Read the full file on GitHub · 153 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 153 lines · 0 tokens per session scan A 189f9b10c5b4

Subscribe to this mod's changes

agent-c is an agent published in the GitHub repository bkuri/jesse-mcp (20 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,370 tokens. A static security scan graded it A with 0 findings. It comes from a forked repository.

Related

Other agents, from other repositories

orquestra-tx-builder

Builds unsigned Solana transactions using Orquestra MCP's buildinstruction tool. Requires all accounts and arguments to be fully resolved before calling. Outputs a base64-encoded wire transaction (Solana RPC standard) ready for signing. Uses ONLY Orquestra MCP tools. Examples: Context: All accounts are known, user…

berkayoztunc/orquestra · 288 tokens

chainaware-ltv-estimator

Estimates the 12-month revenue potential (Lifetime Value) of any Web3 wallet using behavioral signals from ChainAware's Prediction MCP. Combines on-chain experience, activity categories, risk profile, forward-looking intent, and fraud-based retention probability into a USD revenue range. Use this agent PROACTIVELY…

ChainAware/behavioral-prediction-mcp · 297 tokens

chainaware-counterparty-screener

Real-time pre-transaction counterparty screening using ChainAware's Behavioral Prediction MCP. Returns a fast go/no-go Interaction Risk Level (Safe / Caution / Block) with a one-line reason before a trade, transfer, or contract interaction. Use this agent PROACTIVELY whenever a user is about to interact with an…

ChainAware/behavioral-prediction-mcp · 231 tokens

enterprise-architect

An enterprise architect who aligns technology strategy with business strategy across the entire organization — managing technology portfolios, defining standards, and guiding technology investments at scale. Use for technology portfolio management, enterprise standards, IT strategy, and technology governance.

The-AI-Directory-Company/agents-and-skills · 49 tokens

crypto-trader

Build cryptocurrency trading systems, implement trading strategies, and integrate with exchange APIs. Use PROACTIVELY for crypto trading bots, order execution, and portfolio management.

rafaelkamimura/claude-tools · 36 tokens

defi-engineer

DeFi integration specialist for composing with Solana protocols including Jupiter, Drift, Kamino, Raydium, Orca, Meteora, Marginfi, and Sanctum. Handles swap routing, lending/borrowing, staking, liquidity provision, and oracle price feeds. Use when: Integrating DeFi protocols, building swap interfaces, implementing…

GeckoVision/gecko-surf · 100 tokens