laissez
Agent spending you can trust
Let your agents spend your way with Laissez.
uv add laissezlaissez
Let your agents spend your way with Laissez.
uv add laissezWith Laissez, you have full control over how you and your agents buy and sell in the agentic economy. Build paid MCP servers or agents that pay for themselves. You get full Laissez visibility and control.
Transform your MCP tools into revenue-generating assets with just a few lines of code. Using LaissezMCPProvider, you can configure each tool to require payment when called by AI agents. Simply define your tools, set your prices, and Laissez then settles payments straight into your wallet. Oh, and all revenue is logged transparently to your dashboard.
# Create your MCP server
mcp = FastMCP("Dice Roller")
@mcp.tool
def roll_die() -> int:
return random.randint(1, 6)
# Define your paid tools
paid_tools = [
PaidTool(
name="roll_die",
price=0.001,
description="Roll a die"
),
]
# Receive payments with Laissez
app = LaissezMCPProvider(
mcp=mcp,
tools=paid_tools,
wallet=wallet
)Empower your agents to pay for premium MCP tools automatically with LaissezMCPConnector. Simply define how your agents should spend, and Laissez will give you complete visibility on their spending.
# Connect to paid MCP servers
server = LaissezMCPConnector(
url='https://dice-roll.laissez.xyz/mcp'
)
# Create a paying agent
agent = Agent(
model='openai:gpt-5-mini',
instructions='Show your working out',
toolsets=[server]
)
# Let your agent use paid tools
result = await agent.run(
"Roll a dice twice then multiply"
)