# Sprint #1

**Timeframe**: Jan-Feb 2025

Please check the [End of Sprint #1](https://paragraph.com/@replicatsai/end-of-sprint-1) blog post for a more in-depth reading.

***

## Product Overview & Vision

**Replicats** is an AI-driven trading framework that goes beyond typical “Crypto AI Agents” by combining:

* **Predictive Analytics**: Using time-series models for price forecasting with quantiles.
* **Workflow Orchestration**: Trigger-based execution of agents (e.g., scheduled checks, on-chain data events).
* **Embedded Wallets**: Automated (or user-approved) buy/sell transactions on both **EVM** and **Solana** networks.
* **Copy-Trading**: Users can “fork” or copy-trade an existing Agent (e.g., “Replicat-ONE”) and view PNL in a dashboard. **\[Deprecated ❌]**

## Sprint 1

## Primary Goals of the v0 Prototype

1. **Implement a Trigger and workflow System: This is distinct** from the web dashboard. It enables Agent logic to fire automatically when certain conditions are met.
2. **Demonstrate Replicat-ONE**: A hard-coded strategy/Agent that uses forecast data and on-chain metrics to make trading decisions.
3. **Allow Copy-Trading**: Users can “fork” Replicat-ONE in the dashboard, letting them replicate trades in their own embedded wallets. \[Deprecated ❌]
4. **Show Trading History & PNL**: Provide a simple interface to view the original agent’s and the user’s forked agent’s transactions and performance.

## Key Components

1. **Data Ingestion & Database**
   * Regularly fetch raw market data from Data sources.
   * Store the data in a database.
   * Provide a **Pub/Sub or event** indicating data changes so agents can react (if relevant).
2. **Forecasting Module**
   * A separate service (likely containerized in Python) that runs **our models** every X minutes (e.g., hourly).
   * Reads the latest price data from the database, generates forecasts (median, 5–95% quantiles), and writes them back to a “forecasts” table.
   * Emits an event/message when new forecasts are available.
3. **Agent Execution Service (Workflows & Triggers)**
   * **Core**: A job or microservice that runs continuously, listening for triggers (changes in DB, new forecasts, scheduled intervals).
   * **Workflow Logic**:
     1. **Define triggers** (e.g., “If new coin on Solana has < $1M market cap but > 500 holders,” or “Run this Dune query every 15 min,” or “When forecast probability of 5× > 20%”).
     2. **Execute Agent logic** upon triggers (buy, sell, or more complex workflows).
   * **Replicat-ONE**: A special Agent (hard-coded) that trades based on the forecasting data.
   * **Copy-Trading**: **\[Deprecated ❌]**
     * If a user has chosen to copy-trade Replicat-ONE, the same actions are triggered on the user’s embedded wallet.
4. **Dashboard (Next.js + tRPC)**
   * **Authentication & Wallet Management**: Uses wallet infrastructure to create 2 embedded wallets (EVM & Solana). Users can also fund/withdraw.
   * **“Fork” or Copy-Trading UI**: A toggle/button to replicate Replicat-ONE.
   * **Transaction & PNL View**:
     * Show Replicat-ONE’s trade history and performance (PNL).
     * Show the user’s forked-agent transactions and PNL.
   * **Minimal Agent Customization (Future)**: For v0, we only allow forking Replicat-ONE. Later, we can allow custom triggers and logic.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.replicats.ai/introduction/roadmap/sprint-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
