guepard-relml
A natural-language agent over your relational database. Ask a question in plain English — it explores your schema, frames a predictive task, trains a model, and answers you.
Install
Requires Python 3.9+. Install into a virtual environment:
python3 -m venv .venv && source .venv/bin/activate
pip install guepard-relml
On Debian/Ubuntu,
error: externally-managed-environmentjust means the venv step was skipped — the two commands above are the fix.
Configure the model backend — AWS Bedrock
The agent runs Claude on AWS Bedrock. Set two environment variables (or put
them in a .env file in your working directory):
export RELML_AGENT_BACKEND=bedrock
export AWS_BEARER_TOKEN_BEDROCK=your-bedrock-api-key
# optional:
export AWS_REGION=us-east-1 # default
export RELML_AGENT_MODEL=us.anthropic.claude-sonnet-4-5-20250929-v1:0
Create the key in the AWS Bedrock console (Bedrock → API keys), and make sure Claude models are enabled for your account and region.
Other backends: the agent can also use the Anthropic API directly
(RELML_AGENT_BACKEND=anthropic, ANTHROPIC_API_KEY=…) or Ollama
(RELML_AGENT_BACKEND=ollama, OLLAMA_API_KEY=…).
Use it — Python
source can be a folder of CSVs, a CSV/Parquet file, or a Postgres DSN.
from guepard.tools.agent import Agent
agent = Agent("./data")
answer = agent.ask("Which customers are most likely to churn next month?")
print(answer)
Quiet mode (no live progress output) — handy in scripts:
agent = Agent("./data", verbose=False)
print(agent.ask("Forecast next week's daily order volume."))
Choose the backend explicitly in code:
from guepard.tools.agent import Agent, LLMClient
agent = Agent("./data", client=LLMClient(backend="bedrock"))
print(agent.ask("Rank drivers by DNF risk for the next race."))
Use it — command line
relml-agent --source ./data # interactive REPL
relml-agent "who is likely to churn next month?" --source ./data # one-shot
Inside the REPL, /help lists commands (/tables, /schema, /sql,
/models, /predict, /plot, …).
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file guepard_relml-0.1.2-cp313-cp313-macosx_15_0_arm64.whl.
File metadata
- Download URL: guepard_relml-0.1.2-cp313-cp313-macosx_15_0_arm64.whl
- Upload date:
- Size: 392.2 kB
- Tags: CPython 3.13, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c7828ad79d55f7333d0e975917563c4c561fd6f74577599240c37bb3f615c08
|
|
| MD5 |
9f4e97627a1488e27e518977e2fce58d
|
|
| BLAKE2b-256 |
c5a013e1554e80ed2099006b9a451aed1c2d11b06d46d29bd0d871f9e9545d83
|