Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aaronjmars/MiroShark
/ types & classes
Types & classes
172 in github.com/aaronjmars/MiroShark
⨍
Functions
3,647
◇
Types & classes
172
↳
Endpoints
175
↓ 43 callers
Class
SimulationManager
Simulation Manager Core features: 1. Read entities from graph and filter 2. Generate Wonderwall Agent Profiles 3. Use LLM to int
backend/app/services/simulation_manager.py:158
↓ 24 callers
Class
_FakeState
Minimal stand-in for SimulationState used by select_public_cards.
backend/tests/test_unit_feed_filters.py:107
↓ 18 callers
Class
_StubSim
Tiny stand-in for SimulationState — only the fields the sitemap reads.
backend/tests/test_unit_sitemap.py:98
↓ 16 callers
Class
ManualAction
r"""Manual predefined actions that need to be executed by certain agents. Args: action_type: The action to perform. Can be an ``ActionTyp
backend/wonderwall/environment/env_action.py:21
↓ 15 callers
Class
SearxngClient
Thin JSON-API client for a SearXNG instance.
backend/app/utils/searxng_client.py:36
↓ 12 callers
Class
use_locale
Context manager that activates a locale for its body. Example:: with use_locale("zh-CN"): run_simulation(...)
backend/app/utils/i18n.py:100
↓ 9 callers
Class
AgentGraph
r"""AgentGraph class to manage the social graph of agents.
backend/wonderwall/social_agent/agent_graph.py:175
↓ 9 callers
Class
EntityReader
Entity reading and filtering service (via GraphStorage / Neo4j) Main capabilities: 1. Read all nodes from the graph 2. Filter out me
backend/app/services/entity_reader.py:57
↓ 9 callers
Class
SocialAgent
r"""Agent that participates in a Wonderwall simulation. Supports both the legacy social-media workflow (``SocialAction`` + ``SocialEnvironmen
backend/wonderwall/social_agent/agent.py:57
↓ 9 callers
Class
UserInfo
backend/wonderwall/social_platform/config/user.py:23
↓ 8 callers
Class
LLMAction
r"""Represents actions generated by a Language Learning Model (LLM).
backend/wonderwall/environment/env_action.py:39
↓ 8 callers
Class
PlatformSimulation
Platform simulation result container
backend/scripts/run_parallel_simulation.py:1299
↓ 8 callers
Class
TaskManager
Task Manager Thread-safe task status management
backend/app/models/task.py:54
↓ 7 callers
Class
Channel
backend/wonderwall/social_platform/channel.py:41
↓ 7 callers
Class
_FakeState
Lightweight stand-in for SimulationState used by select_public_cards.
backend/tests/test_unit_feed.py:90
↓ 6 callers
Class
BeliefTracker
Manages belief tracking for a single platform's simulation.
backend/scripts/belief_integration.py:118
↓ 6 callers
Class
EmbeddingError
Raised when embedding generation fails.
backend/app/storage/embedding_service.py:255
↓ 6 callers
Class
GraphToolsService
Graph Retrieval Tools Service (via GraphStorage / Neo4j) [Core Retrieval Tools - Optimized] 1. insight_forge - Deep Insight Retrieval (M
backend/app/services/graph_tools.py:375
↓ 6 callers
Class
MCPCallResult
backend/scripts/mcp_agent_bridge.py:64
↓ 6 callers
Class
SearxngError
Raised when a SearXNG search request fails.
backend/app/utils/searxng_client.py:26
↓ 6 callers
Class
SimulationConfigGenerator
Simulation configuration intelligent generator Uses LLM to analyze simulation requirements, document content, and graph entity information
backend/app/services/simulation_config_generator.py:221
↓ 6 callers
Class
_FakeRequest
Minimal Flask-shaped request stub: ``.args`` + ``.headers``. Both are plain ``dict``-like with a ``.get(key, default=None)`` API, which match
backend/tests/test_unit_i18n.py:67
↓ 5 callers
Class
LLMClient
LLM client using OpenAI-compatible APIs
backend/app/utils/llm_client.py:130
↓ 5 callers
Class
Neo4jStorage
Neo4j CE implementation of the GraphStorage interface.
backend/app/storage/neo4j_storage.py:37
↓ 5 callers
Class
NodeInfo
Node Information
backend/app/services/graph_tools.py:54
↓ 5 callers
Class
ReportSection
Report section
backend/app/services/report_agent.py:422
↓ 5 callers
Class
WonderwallAgentProfile
Wonderwall Agent Profile data structure
backend/app/services/wonderwall_profile_generator.py:31
↓ 5 callers
Class
WonderwallProfileGenerator
Wonderwall Profile Generator Convert entities from the knowledge graph to Agent Profile required by Wonderwall simulation Optimization
backend/app/services/wonderwall_profile_generator.py:221
↓ 4 callers
Class
Dedup
Per-process, per-channel ``(sim_id, status)`` dedup set. The runner's two terminal code paths both notify, so each channel must fire at most
backend/app/services/_notify_base.py:18
↓ 4 callers
Class
EventLogger
Non-blocking JSONL event logger with SSE subscriber support.
backend/app/utils/event_logger.py:117
↓ 4 callers
Class
SimulationIPCClient
Simulation IPC Client (used by the Flask side) Used to send commands to the simulation process and wait for responses
backend/app/services/simulation_ipc.py:91
↓ 4 callers
Class
_FakeAgent
backend/tests/test_unit_mcp_bridge.py:22
↓ 3 callers
Class
AgentAction
Agent action record
backend/app/services/simulation_run_state.py:28
↓ 3 callers
Class
AgentInterview
Single Agent Interview Result
backend/app/services/graph_tools.py:269
↓ 3 callers
Class
EventConfig
Event configuration
backend/app/services/simulation_config_generator.py:115
↓ 3 callers
Class
GraphBuilderService
Builds a knowledge graph through the GraphStorage interface.
backend/app/services/graph_builder.py:35
↓ 3 callers
Class
PlatformActionLogger
Single-platform action logger
backend/scripts/action_logger.py:23
↓ 3 callers
Class
ReportAgent
Report Agent - Simulation Report Generation Agent Uses ReACT (Reasoning + Acting) pattern: 1. Planning phase: Analyze simulation require
backend/app/services/report_agent.py:1108
↓ 3 callers
Class
ReportOutline
Report outline
backend/app/services/report_agent.py:442
↓ 3 callers
Class
SimulationConfig
Declarative definition of a simulation type. Bundle together the platform, action, environment, and prompt classes that define a simulation.
backend/wonderwall/simulations/base.py:362
↓ 3 callers
Class
SimulationState
Simulation state
backend/app/services/simulation_manager.py:58
↓ 3 callers
Class
SimulationTrajectory
Accumulates round snapshots for the entire simulation.
backend/wonderwall/social_agent/round_analyzer.py:59
↓ 3 callers
Class
_FakeProfile
backend/tests/test_unit_mcp_registry.py:14
↓ 2 callers
Class
ClaudeCodeClient
Drop-in replacement for LLMClient that shells out to `claude -p`. Implements the same chat() / chat_json() interface.
backend/app/utils/claude_code_client.py:24
↓ 2 callers
Class
Clock
r"""Clock used for the sandbox.
backend/wonderwall/clock/clock.py:17
↓ 2 callers
Class
EdgeInfo
Edge Information
backend/app/services/graph_tools.py:78
↓ 2 callers
Class
EntityNode
backend/app/services/entity_reader.py:13
↓ 2 callers
Class
FileTailer
Tail a JSONL file from last-read position. Thread-safe.
backend/app/utils/event_logger.py:313
↓ 2 callers
Class
InterviewResult
Interview Result Contains interview responses from multiple simulated Agents
backend/app/services/graph_tools.py:320
↓ 2 callers
Class
MarketMediaBridge
Shared state enabling feedback between prediction markets and social media. Usage: bridge = MarketMediaBridge() # In Polymarket
backend/scripts/market_media_bridge.py:127
↓ 2 callers
Class
OntologyGenerator
Ontology Generator Analyzes text content to generate entity and relationship type definitions
backend/app/services/ontology_generator.py:12
↓ 2 callers
Class
Platform
r"""Platform.
backend/wonderwall/social_platform/platform.py:53
↓ 2 callers
Class
PlatformConfig
Platform-specific configuration. NOTE ON DEFAULT VALUES: The defaults below are heuristic starting points, NOT calibrated against real platfo
backend/app/services/simulation_config_generator.py:134
↓ 2 callers
Class
Report
Complete report
backend/app/services/report_agent.py:465
↓ 2 callers
Class
RoundAnalyzer
Analyzes a simulation round and produces belief updates + feedback.
backend/wonderwall/social_agent/round_analyzer.py:167
↓ 2 callers
Class
RoundRecord
One round's data across all platforms.
backend/scripts/round_memory.py:134
↓ 2 callers
Class
RoundSnapshot
Captured state after one simulation round.
backend/wonderwall/social_agent/round_analyzer.py:28
↓ 2 callers
Class
SearchResult
Search Result
backend/app/services/graph_tools.py:24
↓ 2 callers
Class
SimulationLogManager
Simulation log manager Unified management of all log files, separated by platform
backend/scripts/action_logger.py:120
↓ 2 callers
Class
SimulationRunState
Simulation run state (real-time)
backend/app/services/simulation_run_state.py:81
↓ 2 callers
Class
TradeResult
Result of an AMM trade.
backend/wonderwall/simulations/polymarket/amm.py:32
↓ 2 callers
Class
WebEnricher
Uses the LLM to research real-world context for entity personas. The LLM is treated as a knowledge base. If the configured model supports web
backend/app/services/web_enrichment.py:64
↓ 2 callers
Class
_RaisingDict
A dict whose ``.get`` raises for a configured key (precedence test).
backend/tests/test_unit_i18n.py:79
↓ 1 callers
Class
ActionType
backend/wonderwall/social_platform/typing.py:17
↓ 1 callers
Class
AgentActivity
Agent activity record
backend/app/services/graph_memory_updater.py:17
↓ 1 callers
Class
AgentActivityConfig
Activity configuration for a single Agent
backend/app/services/simulation_config_generator.py:53
↓ 1 callers
Class
AsyncSafeDict
backend/wonderwall/social_platform/channel.py:18
↓ 1 callers
Class
CommandStatus
backend/app/services/simulation_ipc.py:31
↓ 1 callers
Class
CommandType
backend/app/services/simulation_ipc.py:25
↓ 1 callers
Class
CommunityBuilder
Build, store, and update community clusters over an entity graph.
backend/app/storage/community_builder.py:42
↓ 1 callers
Class
ContradictionDetector
Detect and invalidate superseded edges at ingestion time.
backend/app/storage/contradiction_detector.py:44
↓ 1 callers
Class
CrossPlatformLog
Shared in-memory log of agent actions across all platforms. Safe for concurrent use within a single asyncio event loop (all callers shar
backend/scripts/cross_platform_digest.py:56
↓ 1 callers
Class
EmbeddingService
Generate embeddings using Ollama or OpenAI-compatible API.
backend/app/storage/embedding_service.py:23
↓ 1 callers
Class
EntityResolver
Resolve newly-extracted entities against existing graph nodes.
backend/app/storage/entity_resolver.py:50
↓ 1 callers
Class
FilteredEntities
backend/app/services/entity_reader.py:42
↓ 1 callers
Class
GraphInfo
backend/app/services/graph_builder.py:20
↓ 1 callers
Class
GraphMemoryUpdater
Graph memory update service (via GraphStorage / Neo4j) Monitors simulation action logs and sends agent activities to the graph in real-time.
backend/app/services/graph_memory_updater.py:169
↓ 1 callers
Class
IPCCommand
backend/app/services/simulation_ipc.py:39
↓ 1 callers
Class
IPCHandler
IPC command handler
backend/scripts/run_twitter_simulation.py:154
↓ 1 callers
Class
IPCHandler
IPC command handler
backend/scripts/run_reddit_simulation.py:164
↓ 1 callers
Class
InsightForgeResult
Deep Insight Retrieval Result (InsightForge) Contains retrieval results from multiple sub-questions and integrated analysis
backend/app/services/graph_tools.py:135
↓ 1 callers
Class
MCPAgentBridge
Pool of MCP server processes usable during a simulation run. Construct once at simulation start, pass to agent observation code, :meth:`dispa
backend/scripts/mcp_agent_bridge.py:213
↓ 1 callers
Class
MCPCallRequest
backend/scripts/mcp_agent_bridge.py:57
↓ 1 callers
Class
MCPServerSpec
Parsed MCP server entry from the YAML manifest.
backend/app/services/agent_mcp_tools.py:48
↓ 1 callers
Class
MarketSnapshot
Current state of all prediction markets.
backend/scripts/market_media_bridge.py:23
↓ 1 callers
Class
MaxTokensWarningFilter
Filter out camel-ai warnings about max_tokens (we intentionally don't set max_tokens, letting the model decide)
backend/scripts/run_twitter_simulation.py:80
↓ 1 callers
Class
MaxTokensWarningFilter
Filter out camel-ai warnings about max_tokens (we intentionally don't set max_tokens, letting the model decide)
backend/scripts/run_parallel_simulation.py:119
↓ 1 callers
Class
MaxTokensWarningFilter
Filter out camel-ai warnings about max_tokens (we intentionally don't set max_tokens, letting the model decide)
backend/scripts/run_reddit_simulation.py:90
↓ 1 callers
Class
NERExtractor
Extract entities and relations from text using local LLM.
backend/app/storage/ner_extractor.py:19
↓ 1 callers
Class
Neo4jHandler
backend/wonderwall/social_agent/agent_graph.py:25
↓ 1 callers
Class
PanoramaResult
Breadth Search Result (Panorama) Contains all related information, including expired content
backend/app/services/graph_tools.py:207
↓ 1 callers
Class
ParallelIPCHandler
Dual-platform IPC command handler Manages environments for both platforms and handles Interview commands
backend/scripts/run_parallel_simulation.py:290
↓ 1 callers
Class
PlatformUtils
backend/wonderwall/social_platform/platform_utils.py:20
↓ 1 callers
Class
PolymarketPromptBuilder
Builds system prompts for prediction market trader agents.
backend/wonderwall/simulations/polymarket/prompts.py:22
↓ 1 callers
Class
Project
Project Data Model
backend/app/models/project.py:44
↓ 1 callers
Class
ProjectStatus
Project Status
backend/app/models/project.py:34
↓ 1 callers
Class
ReasoningTraceRecorder
Per-report buffer. Start a section, record steps, finalize (which flushes one section's rows to Neo4j atomically), move to the next section.
backend/app/storage/reasoning_trace.py:46
↓ 1 callers
Class
RecsysType
backend/wonderwall/social_platform/typing.py:81
↓ 1 callers
Class
RedditPromptBuilder
Builds the system prompt for a Reddit-style simulation.
backend/wonderwall/simulations/social_media/prompts.py:78
↓ 1 callers
Class
RedditSimulationRunner
Reddit simulation runner
backend/scripts/run_reddit_simulation.py:403
next →
1–100 of 172, ranked by callers