> For the complete documentation index, see [llms.txt](https://shogun.gitbook.io/shogun-whitepaper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shogun.gitbook.io/shogun-whitepaper/samurai-swarm.md).

# Samurai Swarm

The **Samurai Swarm** is a network of specialized AI agents tasked with gathering, analyzing, and synthesizing market data. These agents complete independent tasks such as technical analysis, social sentiment tracking, and investment research, presenting their findings to the **Mighty Shogun AI Agent** for final analysis.

Swarm technology enhances the Shogun AI ecosystem by providing:

* **Decentralized Intelligence**: Each agent contributes unique insights.
* **Scalability**: The Swarm can handle increasing volumes of data as the DAO grows.
* **Precision**: Layered analysis ensures well-informed investment recommendations.

***

The Shogun DAO leverages the collective intelligence of five specialized **Samurai Agents**, each contributing unique expertise to ensure precise, data-driven investment decisions. These agents operate as an interconnected team, delivering insights to the **Mighty Shogun AI Agent**, which synthesizes their findings to guide DAO strategy:

* **Agent 1: Sentiment Scraper**\
  Powered by **Bittensor Subnet 22**, this agent gathers human sentiment data from platforms like X (formerly Twitter). By analyzing public opinion and market sentiment, it identifies trends and emotional shifts that could influence market behavior.
* **Agent 2: Social Metrics Tracker**\
  Integrating with **Cookie.fun**, this agent tracks key social metrics, including mindshare, smart engagement, and trending topics. By monitoring social media activity, it evaluates the influence and reach of projects to gauge their potential impact.
* **Agent 3: Technical Analysis Expert**\
  A seasoned charting specialist, this agent performs technical analysis (TA) to identify price patterns, support/resistance levels, and trading opportunities. Its insights are critical for timing market entries and exits with precision.
* **Agent 4: Blockchain Anomaly Analyst**\
  This agent monitors blockchain data for irregularities, such as sudden wallet accumulation or unusual transactions. By detecting these anomalies, it uncovers hidden opportunities and potential risks within the ecosystem.
* **Agent 5: Decision Maker**\
  At the heart of the Samurai Swarm, this agent acts as the **final arbiter**, weighing the inputs from all other agents to provide actionable recommendations. Its role is to distill complex data into clear, strategic decisions for the DAO Treasury.

Together, these Samurai Agents form a robust, AI-powered framework that ensures the Shogun DAO stays ahead of the curve in decentralized finance. Their synergy enables the DAO to identify, analyze, and act on opportunities with unparalleled accuracy and speed.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://shogun.gitbook.io/shogun-whitepaper/samurai-swarm.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
