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

Uploaded Python 3

File details

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

File metadata

  • Download URL: acatome_lambic-0.3.3.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.3.tar.gz
Algorithm Hash digest
SHA256 7ef2f2d41edb67e92743e5dc39696d44e1470a26ca583b26e42bc822b93c94a3
MD5 9d364669e537553aa82cfff0689ad9c5
BLAKE2b-256 e05783940467b5cf6067025fbda35d5a048964f6f11259d54fd0349e3bc37ba8

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: acatome_lambic-0.3.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fbea70dc9b09f118204c65f38163ca507b0e53ec7cef02d753ac1050257d31b5
MD5 05d66f8c64fb0bdcec6697def0500b96
BLAKE2b-256 174e0d55553e0a65efea6773aaa9237d91134a70bfec393a2c8b1601c54e7608

See more details on using hashes here.

Provenance

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