Skip to main content

MCP-aware LLM shell with provider switching

Project description

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 lambic import Shell, LlmConfig, McpServer

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

CLI

lambic --config path/to/config.toml

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
  • /quit — exit

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.3.2.tar.gz (22.3 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.3.2-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: acatome_lambic-0.3.2.tar.gz
  • Upload date:
  • Size: 22.3 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.3.2.tar.gz
Algorithm Hash digest
SHA256 b60296f69d39e7418e534623f113b7b43d012564d2a68ed08f812cb820ddd5c0
MD5 ad0c631dd1237ca2be7872db6ad4829e
BLAKE2b-256 fc03881fd2518a74d04ad9a0a4b0b644290e0c48e0dc526025326e7631ac9451

See more details on using hashes here.

Provenance

The following attestation bundles were made for acatome_lambic-0.3.2.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.3.2-py3-none-any.whl.

File metadata

  • Download URL: acatome_lambic-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 22.3 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.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f3a60fc58dc5e4d3acc54589fcfe02b9447c6b992b1d2c8f8978746813fe1cf5
MD5 84bf8d18b469d5803604093e6913e4e1
BLAKE2b-256 34910c4d93ed28f0c543d29e4d4f2e9b1322c2ca568cd468417d2daa32a5626c

See more details on using hashes here.

Provenance

The following attestation bundles were made for acatome_lambic-0.3.2-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