Registry / llm-agents / salmalm

salmalm

JSON →
library0.30.28pypypi✓ verified 87d ago

Personal AI Gateway — Python AI assistant with multi-model routing, web UI, and 66 built-in tools. Works with LLMs (OpenAI, Anthropic, Gemini, etc.) and provides a server via uvicorn+fastapi+websockets. Currently at v0.30.28, rapid development with frequent releases.

pip install salmalm
INSTALL
IMPORT
SIG · SALMALM
S
salmalm
llm-agentspythonv0.30.28
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

app
✓ from salmalm import app
✗ from salmalm import Salmalm

Basic usage: set an API key (e.g., OPENAI_API_KEY) and create a client to chat.

import os os.environ['OPENAI_API_KEY'] = os.environ.get('OPENAI_API_KEY', 'your-key-here') from salmalm import Salmalm client = Salmalm() response = client.chat("Hello!") print(response)
salmalm --version
Debug
Known issues
breakingConfiguration file format changed in v0.30.0: from JSON to YAML. Old config files will not be read.
fix
Convert your config.json to config.yaml using the provided migration script or manually.
affects: >=0.30.0
deprecatedThe `salmalm.server` module is deprecated since v0.29.0; use `salmalm.create_app` instead.
fix
Replace `from salmalm.server import app` with `from salmalm import create_app` and call `create_app()`.
affects: >=0.29.0, <0.30.0
gotchaMultiple models require separate API keys set as environment variables; missing keys cause silent fallback or errors.
fix
Set environment variables for each provider you intend to use: OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, etc.
affects: all
Upgrade
Version history
0.30.28latest on PyPI · released Mar 20, 2026
Audit
Dependencies
fastapirequiredWeb server framework
uvicornrequiredASGI server
websocketsrequiredWebSocket support for streaming
Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources
salmalm — pip install salmalm · libregistry