AGENT SKILL

server-configuration-and-memory-engines

Use the MemMachine server, configuration, REST API, MCP entry points, memory engines, storage/provider resources, Docker/Helm deployment shape, and backend troubleshooting.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
server-configuration-and-memory-engines
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Use the MemMachine server, configuration, REST API, MCP entry points, memory engines, storage/provider resources, Docker/Helm deployment shape, and backend troubleshooting.
disable-model-invocation
true

02 资源文件 7

03 SKILL.md 正文

Server Configuration And Memory Engines

Use this sub-skill when a task names memmachine-server, MemMachine REST API, MCP stdio/HTTP, cfg.yml, Docker Compose, Helm, storage resources, provider resources, episodic memory, semantic memory, short-term memory, retrieval-agent mode, or server startup/troubleshooting.

Route Within This Sub-skill

  • Read server-configuration.md for configuration sections, startup modes, environment variables, and safe validation.
  • Read storage-and-providers.md for database/vector/graph stores, embedders, language models, rerankers, optional extras, and credential boundaries.
  • Read rest-and-mcp.md for REST endpoint families, health/metrics, MCP tools, and context parameters.
  • Read memory-engines.md for event vs declarative long-term memory, short-term memory, semantic/profile memory, and retrieval-agent behavior.
  • Read troubleshooting.md for server startup, config, Docker, storage, provider, MCP, and optional dependency failures.
  • Run server_config_doctor.py to validate a MemMachine YAML config shape without starting services.
  • Run mcp_entrypoint_smoke.py to inspect MCP entry-point availability and context parameters without launching a listener.

Safe Startup Checks

A local server task usually starts with read-only checks:

memmachine-server --help
memmachine-mcp-http --help
python scripts/server_config_doctor.py --config cfg.yml
python scripts/mcp_entrypoint_smoke.py --check-imports

Only start or stop services after the user confirms the desired deployment and side effects. Docker Compose and Helm workflows can create volumes, containers, network listeners, and persistent data.

Configuration Shape

A typical server config has these top-level sections:

logging: {}
episode_store: {}
episodic_memory: {}
retrieval_agent: {}
semantic_memory: {}
session_manager: {}
resources:
  databases: {}
  embedders: {}
  language_models: {}
  rerankers: {}

Important backend decision:

  • episodic_memory.long_term_memory.backend: declarative uses a vector_graph_store resource such as Neo4j/Nebula.
  • backend: event uses a vector_store plus a segment_store resource.

Server Commands And Entry Points

  • memmachine-server --help shows server flags including --stdio, --version, and --with-config-api.
  • memmachine-mcp-stdio runs MCP in stdio mode for local MCP clients.
  • memmachine-mcp-http --host HOST --port PORT runs MCP over HTTP.
  • memmachine-configure is interactive; do not run it in automation unless the user explicitly wants an interactive installer/configurer.

Cross-links

Verification Boundaries

  • Import and help checks prove packages and entry points are available; they do not prove databases, providers, or MCP clients are configured.
  • Docker, Neo4j, Postgres, Qdrant, Milvus, Nebula, OpenAI, AWS Bedrock, Cohere, and Ollama/OpenAI-compatible endpoints are optional external dependencies.
  • The optional spaCy multi-hop decomposer may be absent in base installs. Do not classify its warning as a fatal server failure unless the user specifically needs spaCy-based decomposition.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351