internal/

directory
v0.0.0-...-4cd4b9b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2026 License: MIT

Directories

Path Synopsis
Package activity implements read models over the session stream the events.EventCompressor produces, mirroring Python's simon/activity package (ActivityStore, ContextEngine, ActivityGraphStore/Builder).
Package activity implements read models over the session stream the events.EventCompressor produces, mirroring Python's simon/activity package (ActivityStore, ContextEngine, ActivityGraphStore/Builder).
Package agent implements Simon's ReAct loop, mirroring Python's simon/agent/agent.py Agent.
Package agent implements Simon's ReAct loop, mirroring Python's simon/agent/agent.py Agent.
response
Package response defines the shared Agent/ToolRunner/Multi/Logging result types, mirroring Python's simon/agent/response.py.
Package response defines the shared Agent/ToolRunner/Multi/Logging result types, mirroring Python's simon/agent/response.py.
Package config loads environment-backed settings, mirroring Python's simon/config/settings.py (pydantic-settings, .env-backed, ~20 typed fields with defaults).
Package config loads environment-backed settings, mirroring Python's simon/config/settings.py (pydantic-settings, .env-backed, ~20 typed fields with defaults).
Package events implements Simon's activity-pipeline pub/sub, mirroring Python's simon/events/bus.py (EventBus, ActivityEvent) and simon/events/compression.py (EventCompressor).
Package events implements Simon's activity-pipeline pub/sub, mirroring Python's simon/events/bus.py (EventBus, ActivityEvent) and simon/events/compression.py (EventCompressor).
Package habits mines the Activity Store for recurring category n-grams, mirroring Python's simon/habits package (Habit, HabitDiscoveryEngine, PatternStore).
Package habits mines the Activity Store for recurring category n-grams, mirroring Python's simon/habits package (Habit, HabitDiscoveryEngine, PatternStore).
Package knowledge implements document ingestion + retrieval, mirroring Python's simon/knowledge/knowledge.py KnowledgeBase.
Package knowledge implements document ingestion + retrieval, mirroring Python's simon/knowledge/knowledge.py KnowledgeBase.
embed
Package embed implements Simon's embedding providers, mirroring Python's simon/knowledge/embeddings.py.
Package embed implements Simon's embedding providers, mirroring Python's simon/knowledge/embeddings.py.
extract
Package extract reads plain text out of pdf/docx/xlsx/pptx/plain-text files, mirroring KnowledgeBase._read_file in Python's simon/knowledge/knowledge.py.
Package extract reads plain text out of pdf/docx/xlsx/pptx/plain-text files, mirroring KnowledgeBase._read_file in Python's simon/knowledge/knowledge.py.
index
Package index implements Simon's vector index, replacing Python's pickle+numpy .npy retrieval.py format (simon/knowledge/retrieval.py FileRetriever) with a from-scratch design: no binary compatibility with existing Python .simon_knowledge/ data is preserved or required.
Package index implements Simon's vector index, replacing Python's pickle+numpy .npy retrieval.py format (simon/knowledge/retrieval.py FileRetriever) with a from-scratch design: no binary compatibility with existing Python .simon_knowledge/ data is preserved or required.
router
Package router implements Knowledge Router: a hierarchical, lexical, embeddings-free retrieval backend that coexists with Simon's vector KnowledgeBase (internal/knowledge).
Package router implements Knowledge Router: a hierarchical, lexical, embeddings-free retrieval backend that coexists with Simon's vector KnowledgeBase (internal/knowledge).
Package mcp connects to an MCP server over stdio and exposes its tools as Simon tool.Tool values, mirroring Python's simon/tools/mcp_client.py MCPClient.
Package mcp connects to an MCP server over stdio and exposes its tools as Simon tool.Tool values, mirroring Python's simon/tools/mcp_client.py MCPClient.
Package memory implements pluggable conversation history, mirroring Python's simon/memory package (BaseMemory ABC, InMemoryMemory, JSONFileMemory).
Package memory implements pluggable conversation history, mirroring Python's simon/memory package (BaseMemory ABC, InMemoryMemory, JSONFileMemory).
Package model defines the Model interface adapters implement, mirroring Python's simon/models/base.py BaseModel.
Package model defines the Model interface adapters implement, mirroring Python's simon/models/base.py BaseModel.
anthropic
Package anthropic adapts the official Anthropic Go SDK to Simon's model.Model interface, mirroring Python's simon/models/anthropic.py.
Package anthropic adapts the official Anthropic Go SDK to Simon's model.Model interface, mirroring Python's simon/models/anthropic.py.
ollama
Package ollama adapts the official Ollama Go client to Simon's model.Model interface, mirroring Python's simon/models/ollama.py.
Package ollama adapts the official Ollama Go client to Simon's model.Model interface, mirroring Python's simon/models/ollama.py.
openai
Package openai adapts the official OpenAI Go SDK to Simon's model.Model interface, mirroring Python's simon/models/openai.py.
Package openai adapts the official OpenAI Go SDK to Simon's model.Model interface, mirroring Python's simon/models/openai.py.
Package multi implements Simon's multi-agent patterns (AgentGroup, AgentPool, TriageAgent), mirroring Python's simon/multi package.
Package multi implements Simon's multi-agent patterns (AgentGroup, AgentPool, TriageAgent), mirroring Python's simon/multi package.
Package pipeline holds end-to-end tests of the activity pipeline (sensor -> bus -> store -> semantic -> activity -> habit) wired together from the individually-tested packages in internal/events, internal/privacy, internal/semantic, internal/activity, and internal/habits.
Package pipeline holds end-to-end tests of the activity pipeline (sensor -> bus -> store -> semantic -> activity -> habit) wired together from the individually-tested packages in internal/events, internal/privacy, internal/semantic, internal/activity, and internal/habits.
Package planner decomposes a goal into an ordered task list via an LLM call, then runs each task through an Agent, mirroring Python's simon/planner/planner.py Planner.
Package planner decomposes a goal into an ordered task list via an LLM call, then runs each task through an Agent, mirroring Python's simon/planner/planner.py Planner.
Package privacy implements deny-by-default, auditable access control for sensors, mirroring Python's simon/privacy package (PermissionScope, PermissionManager, PermissionStore/SQLitePermissionStore).
Package privacy implements deny-by-default, auditable access control for sensors, mirroring Python's simon/privacy package (PermissionScope, PermissionManager, PermissionStore/SQLitePermissionStore).
Package reliability provides a generic exponential-backoff/timeout retry helper, mirroring Python's simon/reliability.py with_retry.
Package reliability provides a generic exponential-backoff/timeout retry helper, mirroring Python's simon/reliability.py with_retry.
Package router implements lightweight model/provider selection with sensible defaults, mirroring Python's simon/router/router.py ModelRouter.
Package router implements lightweight model/provider selection with sensible defaults, mirroring Python's simon/router/router.py ModelRouter.
Package semantic classifies raw sensor observations into activity labels, mirroring Python's simon/semantic/extractor.py SemanticEventExtractor.
Package semantic classifies raw sensor observations into activity labels, mirroring Python's simon/semantic/extractor.py SemanticEventExtractor.
Package sensors defines the Sensor interface and SensorManager, mirroring Python's simon/sensors/base.py.
Package sensors defines the Sensor interface and SensorManager, mirroring Python's simon/sensors/base.py.
Package tool implements Simon's tool registration and JSON-schema generation, mirroring Python's simon/tools/tool.py @tool decorator.
Package tool implements Simon's tool registration and JSON-schema generation, mirroring Python's simon/tools/tool.py @tool decorator.
Package tui implements Simon's terminal chat interface, mirroring Python's simon/tui.py.
Package tui implements Simon's terminal chat interface, mirroring Python's simon/tui.py.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL