Skip to main content

MCP-aware LLM shell with provider switching

Project description

acatome-lambic

MCP-aware LLM shell with provider switching.

Connects to MCP servers via stdio, talks to LLMs (ollama, OpenAI, Anthropic via litellm), and provides a terminal chat interface with tool calling.

Usage

from acatome_lambic.tui.app import Shell
from acatome_lambic.core.config import LlmConfig, McpServer, ShellConfig

config = ShellConfig(
    llm=LlmConfig(provider="ollama", model="qwen3.5:9b"),
    servers=[
        McpServer(name="acatome", cmd=["uv", "run", "acatome-mcp"]),
        McpServer(name="precis", cmd=["uv", "run", "precis"]),
    ],
    system_prompt="You are a research assistant.",
)
Shell(config).run()

Commands

  • /model <provider/model> — switch LLM
  • /think on|off — toggle reasoning mode (default: on)
  • /tools — list tools with on/off status
  • /tools off <pattern> — disable tools matching pattern
  • /tools on <pattern> — enable tools matching pattern
  • /expand <call_id> — show full (untruncated) tool result
  • /status — show session info
  • /clear — clear message history
  • /help — show command help
  • /quit — exit

Applications can register custom commands (custom_commands) and LLM-routed message commands (message_commands) via ShellConfig. All registered commands appear in tab autocomplete.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acatome_lambic-0.4.0.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acatome_lambic-0.4.0-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file acatome_lambic-0.4.0.tar.gz.

File metadata

  • Download URL: acatome_lambic-0.4.0.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for acatome_lambic-0.4.0.tar.gz
Algorithm Hash digest
SHA256 605074d242dbdd0c86dd018fd4e410b53a60e40ccc559f47d33adf8e9585a8f9
MD5 106591e12471acdae70a801343c26b63
BLAKE2b-256 40004f9e4f7d11c1f081670a88a0109030abfb03b28a029a7e0bbbfe40c5ee99

See more details on using hashes here.

Provenance

The following attestation bundles were made for acatome_lambic-0.4.0.tar.gz:

Publisher: publish.yml on retospect/acatome-lambic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file acatome_lambic-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: acatome_lambic-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for acatome_lambic-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00c55fa6c345c61fe50c11e6c7c9588be1448105bee3d865fbb0e195b80cb61f
MD5 d5f06d7a7a93541f6b021801549cfc88
BLAKE2b-256 ab0f7071bed35a4f04b9ec63341e91497b58939b5af0342db73fad285be0ef93

See more details on using hashes here.

Provenance

The following attestation bundles were made for acatome_lambic-0.4.0-py3-none-any.whl:

Publisher: publish.yml on retospect/acatome-lambic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page