Home/AI Agent Core Development/agentmemory-config
A

agentmemory-config

by @rohitg00v
4.5(120)

This skill manages agentmemory's configuration, including environment variables, ports, and feature flags. It enables developers to easily set API keys, enable or disable specific features, and configure authentication, ensuring the AI agent system operates as intended, thereby improving development efficiency and system stability.

configurationagent-managementenvironment-variablesapi-keysfeature-flagsGitHub
Installation
npx skills add https://github.com/rohitg00/agentmemory --skill agentmemory-config
compare_arrows

Before / After Comparison

1 组
Before

Before this skill, developers manually edited configuration files or environment variables, often missing critical settings or introducing typos. This led to AI agents failing to start or behaving unexpectedly, consuming significant time for troubleshooting and fixing.

After

This skill significantly reduces manual errors through standardized and guided configuration. Developers can quickly and accurately set API keys, feature flags, and ports, ensuring stable AI agent system operation and drastically lowering the configuration error rate.

SKILL.md

agentmemory reads configuration from the environment and from ~/.agentmemory/.env (one KEY=value per line, no export prefix). Restart the server after changing it.

Quick start

Enable richer memory and set a provider key in ~/.agentmemory/.env:

ANTHROPIC_API_KEY=sk-ant-...
AGENTMEMORY_AUTO_COMPRESS=true
AGENTMEMORY_INJECT_CONTEXT=true

Defaults worth knowing

  • No API key is required. Without one, agentmemory runs zero-LLM with BM25 plus local embeddings.
  • Token-spending features ship OFF on purpose: AGENTMEMORY_AUTO_COMPRESS (LLM summaries) and AGENTMEMORY_INJECT_CONTEXT (auto context injection) both cost tokens proportional to tool-use frequency.
  • Tool visibility: AGENTMEMORY_TOOLS=all (default) or core for the lean set.
  • Auth: set AGENTMEMORY_SECRET to require Authorization: Bearer on the REST API.

Ports

REST is the anchor at 3111. Streams = N+1 (3112), viewer = N+2 (3113), engine = N+46023 (49134). Relocate the whole block with --port <N> or --instance <N>.

See also

  • agentmemory-rest-api for how the secret is used.
  • agentmemory-architecture for the port quartet rationale.

Reference

The full recognized-variable list lives in REFERENCE.md, generated by scanning src/.

User Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs10.8K
Rating4.5 / 5.0
Version
Updated2026年10月23日
Comparisons1

User Rating

4.5(120)
5
37%
4
43%
3
13%
2
5%
1
2%

Rate this Skill

0.0

Compatible Platforms

🤖claude-code

Timeline

Created2026年6月25日
Last Updated2026年10月23日
🎁 Agent Knowledge Cards
Survey