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

Uploaded Python 3

File details

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

File metadata

  • Download URL: acatome_lambic-0.2.0.tar.gz
  • Upload date:
  • Size: 21.0 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.2.0.tar.gz
Algorithm Hash digest
SHA256 0e31b8c8071a4af3868862c8b0e05c8689752547349ff62437585ca386ab399d
MD5 405bf78303f532e5adecf022692a6ca0
BLAKE2b-256 445da69cb42f01ad996ccd30195ae711b9a05d2e0d9aeeb2e6adb4e9f7e38a6b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: acatome_lambic-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 21.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dccd6dfb51982c5337b53a673ef2439d498e9158a3a9de3ab63ccf9ee8d30f5c
MD5 76a16ba8357b5013f5688d49e4a92765
BLAKE2b-256 c0bf490f7a1532f25627074208ea03fa7ad5d5002e79a96d3004c3d0bb698d90

See more details on using hashes here.

Provenance

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