Add observability, cost control, and governance to your AI agents in 3 steps. No infrastructure changes required.
AgentMolt works with any AI framework. Pick yours for tailored setup.
Install the SDK and add your API token.
pip install agentmoltimport agentmolt
from openai import OpenAI
# Initialize AgentMolt (auto-patches OpenAI)
agentmolt.init(
api_token="your-api-token",
api_url="https://agent-control-panel-production.up.railway.app/api/v1"
)
# Use OpenAI as normal โ AgentMolt tracks everything
client = OpenAI()
response = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
# Check your dashboard โ you'll see the agent, costs, and trace!Run your agent and check that data flows to AgentMolt.
# Run your script
python my_agent.py
# Or verify with the CLI
agentmolt doctorNeed help? SDK Docs ยท Discord Community ยท API Reference