Registry / llm-agents / mack
library0.5.0pypypiunverified

mack is a Python library for building and managing AI agents. The current version is 0.5.0, with a pre-1.0 release cadence indicating rapid development.

pip install mack
INSTALL
IMPORT
SIG · MACK
M
mack
llm-agentspythonv0.5.0
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.

Agent
import mack
from mack import Agent

Basic usage of mack: create an Agent with an API key and run a prompt.

from mack import Agent import os agent = Agent( api_key=os.environ.get('MACK_API_KEY', ''), model='gpt-4' ) response = agent.run('Hello, who are you?') print(response)
mack --version
Debug
Known issues
breakingAPI key is required; will raise error if not set.
fix
Set MACK_API_KEY environment variable or pass api_key parameter.
affects: 0.x
deprecatedThe old 'mack.run' function is deprecated in favor of Agent.run.
fix
Use Agent class with run method instead.
affects: <0.5.0
gotchaImports changed from submodules to top-level in 0.5.0.
fix
Use 'from mack import Agent' instead of 'from mack.agent import Agent'.
affects: >=0.5.0
Upgrade
Version history
0.5.0latest on PyPI · released Feb 7, 2024
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
mack — pip install mack · libregistry