Skip to content
Agentmart
Submit a tool

Lex

Episodic memory, Frames, Policy Neighborhoods, and policy enforcement for AI agents.

Connector by smartergpt.dev · Domain verified by the MCP Registry

IndexedMITLocal (stdio)
Write a review

Chalk Labs

Need help deploying Lex?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/smartergpt-dev-lex

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Episodic memory, Frames, Policy Neighborhoods, and policy enforcement for AI agents.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
14 read · 1 write · 0 delete
Secrets
2 (API keys, tokens or passwords)
Install scripts
Not scanned yet
Runs as
Node.js package

Tools by what they do 15

Read from the source code; the running server may list different tools.

Read 14 · Look things up without changing anything.

  • atlas_analyze
  • contradictions_scan
  • db_stats
  • destination_inspect
  • frame_get
  • frame_list
  • frame_search
  • frame_validate
  • help
  • hints_get
  • policy_check
  • system_introspect
Show 2 more tools
  • timeline_show
  • turncost_calculate

Write 1 · Create, change, send or run things.

  • frame_create

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • LEX_DATABASE_URL
  • LEX_POSTGRES_PASSWORD

Other settings (environment variables or headers).

  • LEX_DB_PATH
  • LEX_DEBUG
  • LEX_MEMORY_DB
  • LEX_POSTGRES_POOL_MAX
  • LEX_STORE
  • LEX_WORKSPACE_ROOT

Files it touches

  • Any path the agent passes to its tools

Tools (15)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • atlas_analyze

    Extract the experimental Code Index. Legacy name; alias: code_atlas (deprecated)

  • contradictions_scan

    Scan frames for potential contradictions (conflicting information across frames). Returns pairs of frames with detected conflicts and confidence scores.

  • db_stats

    Get database statistics including frame count, storage size, and activity metrics. Useful for understanding memory usage and recent activity.

  • destination_inspectread-only

    Payload-free authorized destination snapshot for frame_create. Reads no Frames and performs no writes; requires the same authorization as frame_create.

  • frame_create

    Store a Frame (episodic memory snapshot). Alias: remember (deprecated)

  • frame_get

    Retrieve a specific frame by ID. Use when you know the exact frame ID. Alias: get_frame (deprecated)

  • frame_list

    List recent Frames, optionally filtered by branch or module. Returns each Frame plus optional Policy Neighborhood. Alias: list_frames (deprecated)

  • frame_search

    Search Frames by reference point, branch, or Jira ticket. Returns a Frame plus optional Policy Neighborhood. Alias: recall (deprecated)

  • frame_validate

    Validate frame input without storing (dry-run validation). Alias: validate_remember (deprecated)

  • help

    Get usage help for Lex MCP tools including examples, required fields, related tools, and common workflows. Use this to understand how to use Lex tools effectively.

  • hints_get

    Retrieve hint details by hint ID. Hints are stable, cacheable advice snippets for error recovery. Hint IDs are provided in compact error responses (hintId field). Fetch hints once and cache them to minimize token usage. Alias: get_hints (deprecated)

  • policy_check

    Validate code against policy rules from lexmap.policy.json

  • system_introspect

    Discover the current state of Lex (available modules, policy, frame count, capabilities, error codes with metadata). Returns error code categories (validation, storage, policy, internal) and retryability hints for autonomous error handling. Alias: introspect (deprecated)

  • timeline_show

    Show visual timeline of Frame evolution for a ticket or branch. Alias: timeline (deprecated)

  • turncost_calculate

    Calculate Turn Cost governance metrics for a time period. Returns frame count, estimated tokens, and prompt count to help measure coordination overhead.

Signals

Stars
0
Forks
0
Open issues
25
Last commit
Oct 20, 2026 (11 days ago)
Last release
Oct 20, 2026 (11 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Registry name
dev.smartergpt/lex
Version
4.4.4
Auth
API key
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same server elsewhere

Copies of this server published by others; search shows only one of them.

More from smartergpt.dev

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get Lex running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying Lex?

CallGet help
Cite this page

Lex MCP server. Agent Mart. https://agentmart.dev/connectors/smartergpt-dev-lex (last updated 2026-10-24)