MCPcopy Create free account

hub / github.com/aaronjmars/MiroShark / types & classes

Types & classes172 in github.com/aaronjmars/MiroShark

↓ 43 callersClassSimulationManager
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 callersClass_FakeState
Minimal stand-in for SimulationState used by select_public_cards.
backend/tests/test_unit_feed_filters.py:107
↓ 18 callersClass_StubSim
Tiny stand-in for SimulationState — only the fields the sitemap reads.
backend/tests/test_unit_sitemap.py:98
↓ 16 callersClassManualAction
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 callersClassSearxngClient
Thin JSON-API client for a SearXNG instance.
backend/app/utils/searxng_client.py:36
↓ 12 callersClassuse_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 callersClassAgentGraph
r"""AgentGraph class to manage the social graph of agents.
backend/wonderwall/social_agent/agent_graph.py:175
↓ 9 callersClassEntityReader
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 callersClassSocialAgent
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 callersClassUserInfo
backend/wonderwall/social_platform/config/user.py:23
↓ 8 callersClassLLMAction
r"""Represents actions generated by a Language Learning Model (LLM).
backend/wonderwall/environment/env_action.py:39
↓ 8 callersClassPlatformSimulation
Platform simulation result container
backend/scripts/run_parallel_simulation.py:1299
↓ 8 callersClassTaskManager
Task Manager Thread-safe task status management
backend/app/models/task.py:54
↓ 7 callersClassChannel
backend/wonderwall/social_platform/channel.py:41
↓ 7 callersClass_FakeState
Lightweight stand-in for SimulationState used by select_public_cards.
backend/tests/test_unit_feed.py:90
↓ 6 callersClassBeliefTracker
Manages belief tracking for a single platform's simulation.
backend/scripts/belief_integration.py:118
↓ 6 callersClassEmbeddingError
Raised when embedding generation fails.
backend/app/storage/embedding_service.py:255
↓ 6 callersClassGraphToolsService
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 callersClassMCPCallResult
backend/scripts/mcp_agent_bridge.py:64
↓ 6 callersClassSearxngError
Raised when a SearXNG search request fails.
backend/app/utils/searxng_client.py:26
↓ 6 callersClassSimulationConfigGenerator
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 callersClass_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 callersClassLLMClient
LLM client using OpenAI-compatible APIs
backend/app/utils/llm_client.py:130
↓ 5 callersClassNeo4jStorage
Neo4j CE implementation of the GraphStorage interface.
backend/app/storage/neo4j_storage.py:37
↓ 5 callersClassNodeInfo
Node Information
backend/app/services/graph_tools.py:54
↓ 5 callersClassReportSection
Report section
backend/app/services/report_agent.py:422
↓ 5 callersClassWonderwallAgentProfile
Wonderwall Agent Profile data structure
backend/app/services/wonderwall_profile_generator.py:31
↓ 5 callersClassWonderwallProfileGenerator
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 callersClassDedup
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 callersClassEventLogger
Non-blocking JSONL event logger with SSE subscriber support.
backend/app/utils/event_logger.py:117
↓ 4 callersClassSimulationIPCClient
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 callersClass_FakeAgent
backend/tests/test_unit_mcp_bridge.py:22
↓ 3 callersClassAgentAction
Agent action record
backend/app/services/simulation_run_state.py:28
↓ 3 callersClassAgentInterview
Single Agent Interview Result
backend/app/services/graph_tools.py:269
↓ 3 callersClassEventConfig
Event configuration
backend/app/services/simulation_config_generator.py:115
↓ 3 callersClassGraphBuilderService
Builds a knowledge graph through the GraphStorage interface.
backend/app/services/graph_builder.py:35
↓ 3 callersClassPlatformActionLogger
Single-platform action logger
backend/scripts/action_logger.py:23
↓ 3 callersClassReportAgent
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 callersClassReportOutline
Report outline
backend/app/services/report_agent.py:442
↓ 3 callersClassSimulationConfig
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 callersClassSimulationState
Simulation state
backend/app/services/simulation_manager.py:58
↓ 3 callersClassSimulationTrajectory
Accumulates round snapshots for the entire simulation.
backend/wonderwall/social_agent/round_analyzer.py:59
↓ 3 callersClass_FakeProfile
backend/tests/test_unit_mcp_registry.py:14
↓ 2 callersClassClaudeCodeClient
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 callersClassClock
r"""Clock used for the sandbox.
backend/wonderwall/clock/clock.py:17
↓ 2 callersClassEdgeInfo
Edge Information
backend/app/services/graph_tools.py:78
↓ 2 callersClassEntityNode
backend/app/services/entity_reader.py:13
↓ 2 callersClassFileTailer
Tail a JSONL file from last-read position. Thread-safe.
backend/app/utils/event_logger.py:313
↓ 2 callersClassInterviewResult
Interview Result Contains interview responses from multiple simulated Agents
backend/app/services/graph_tools.py:320
↓ 2 callersClassMarketMediaBridge
Shared state enabling feedback between prediction markets and social media. Usage: bridge = MarketMediaBridge() # In Polymarket
backend/scripts/market_media_bridge.py:127
↓ 2 callersClassOntologyGenerator
Ontology Generator Analyzes text content to generate entity and relationship type definitions
backend/app/services/ontology_generator.py:12
↓ 2 callersClassPlatform
r"""Platform.
backend/wonderwall/social_platform/platform.py:53
↓ 2 callersClassPlatformConfig
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 callersClassReport
Complete report
backend/app/services/report_agent.py:465
↓ 2 callersClassRoundAnalyzer
Analyzes a simulation round and produces belief updates + feedback.
backend/wonderwall/social_agent/round_analyzer.py:167
↓ 2 callersClassRoundRecord
One round's data across all platforms.
backend/scripts/round_memory.py:134
↓ 2 callersClassRoundSnapshot
Captured state after one simulation round.
backend/wonderwall/social_agent/round_analyzer.py:28
↓ 2 callersClassSearchResult
Search Result
backend/app/services/graph_tools.py:24
↓ 2 callersClassSimulationLogManager
Simulation log manager Unified management of all log files, separated by platform
backend/scripts/action_logger.py:120
↓ 2 callersClassSimulationRunState
Simulation run state (real-time)
backend/app/services/simulation_run_state.py:81
↓ 2 callersClassTradeResult
Result of an AMM trade.
backend/wonderwall/simulations/polymarket/amm.py:32
↓ 2 callersClassWebEnricher
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 callersClass_RaisingDict
A dict whose ``.get`` raises for a configured key (precedence test).
backend/tests/test_unit_i18n.py:79
↓ 1 callersClassActionType
backend/wonderwall/social_platform/typing.py:17
↓ 1 callersClassAgentActivity
Agent activity record
backend/app/services/graph_memory_updater.py:17
↓ 1 callersClassAgentActivityConfig
Activity configuration for a single Agent
backend/app/services/simulation_config_generator.py:53
↓ 1 callersClassAsyncSafeDict
backend/wonderwall/social_platform/channel.py:18
↓ 1 callersClassCommandStatus
backend/app/services/simulation_ipc.py:31
↓ 1 callersClassCommandType
backend/app/services/simulation_ipc.py:25
↓ 1 callersClassCommunityBuilder
Build, store, and update community clusters over an entity graph.
backend/app/storage/community_builder.py:42
↓ 1 callersClassContradictionDetector
Detect and invalidate superseded edges at ingestion time.
backend/app/storage/contradiction_detector.py:44
↓ 1 callersClassCrossPlatformLog
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 callersClassEmbeddingService
Generate embeddings using Ollama or OpenAI-compatible API.
backend/app/storage/embedding_service.py:23
↓ 1 callersClassEntityResolver
Resolve newly-extracted entities against existing graph nodes.
backend/app/storage/entity_resolver.py:50
↓ 1 callersClassFilteredEntities
backend/app/services/entity_reader.py:42
↓ 1 callersClassGraphInfo
backend/app/services/graph_builder.py:20
↓ 1 callersClassGraphMemoryUpdater
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 callersClassIPCCommand
backend/app/services/simulation_ipc.py:39
↓ 1 callersClassIPCHandler
IPC command handler
backend/scripts/run_twitter_simulation.py:154
↓ 1 callersClassIPCHandler
IPC command handler
backend/scripts/run_reddit_simulation.py:164
↓ 1 callersClassInsightForgeResult
Deep Insight Retrieval Result (InsightForge) Contains retrieval results from multiple sub-questions and integrated analysis
backend/app/services/graph_tools.py:135
↓ 1 callersClassMCPAgentBridge
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 callersClassMCPCallRequest
backend/scripts/mcp_agent_bridge.py:57
↓ 1 callersClassMCPServerSpec
Parsed MCP server entry from the YAML manifest.
backend/app/services/agent_mcp_tools.py:48
↓ 1 callersClassMarketSnapshot
Current state of all prediction markets.
backend/scripts/market_media_bridge.py:23
↓ 1 callersClassMaxTokensWarningFilter
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 callersClassMaxTokensWarningFilter
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 callersClassMaxTokensWarningFilter
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 callersClassNERExtractor
Extract entities and relations from text using local LLM.
backend/app/storage/ner_extractor.py:19
↓ 1 callersClassNeo4jHandler
backend/wonderwall/social_agent/agent_graph.py:25
↓ 1 callersClassPanoramaResult
Breadth Search Result (Panorama) Contains all related information, including expired content
backend/app/services/graph_tools.py:207
↓ 1 callersClassParallelIPCHandler
Dual-platform IPC command handler Manages environments for both platforms and handles Interview commands
backend/scripts/run_parallel_simulation.py:290
↓ 1 callersClassPlatformUtils
backend/wonderwall/social_platform/platform_utils.py:20
↓ 1 callersClassPolymarketPromptBuilder
Builds system prompts for prediction market trader agents.
backend/wonderwall/simulations/polymarket/prompts.py:22
↓ 1 callersClassProject
Project Data Model
backend/app/models/project.py:44
↓ 1 callersClassProjectStatus
Project Status
backend/app/models/project.py:34
↓ 1 callersClassReasoningTraceRecorder
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 callersClassRecsysType
backend/wonderwall/social_platform/typing.py:81
↓ 1 callersClassRedditPromptBuilder
Builds the system prompt for a Reddit-style simulation.
backend/wonderwall/simulations/social_media/prompts.py:78
↓ 1 callersClassRedditSimulationRunner
Reddit simulation runner
backend/scripts/run_reddit_simulation.py:403
next →1–100 of 172, ranked by callers