Skip to main content

Agent Control Plane for Autonomous Systems

Project description

SteerPlane SDK

Agent Control Plane for Autonomous Systems

"Agents don't fail in the dark anymore."

Quick Start

pip install steerplane

Decorator API (Minimal Integration)

from steerplane import guard

@guard(max_cost_usd=10, max_steps=50)
def run_agent():
    agent.run()

Context Manager API (Full Control)

from steerplane import SteerPlane

sp = SteerPlane(agent_id="my_bot")

with sp.run(max_cost_usd=10) as run:
    run.log_step("query_db", tokens=380, cost=0.002)
    run.log_step("generate_response", tokens=1240, cost=0.008)

Features

  • 🛡️ Policy Engine (New in v0.3.0) — Define strict allow/deny rules, rate limits (sliding windows), and human-in-the-loop approval workflows for agents.
  • 🌉 AI Gateway Proxy (New in v0.3.0) — Zero-code integration. Point your default LangChain/OpenAI client to the SteerPlane gateway, and every LLM call gets token tracking, cost evaluation, and policy enforcement automatically.
  • 🧩 First-Class LangChain & CrewAI Support — Drop in SteerPlaneCallbackHandler for total observability of your multi-agent networks without modifying agent chains.
  • 🔄 Infinite Loop Detection — Automatically detects repeating agent behavior and breaks loops before they drain API budgets.
  • 💰 Hard Cost Limits — Stop expensive agent runs the instant they cross a predefined USD ceiling. Tracks 25+ LLM models locally.
  • 🚫 Step Limits — Cap maximum execution steps to prevent runway execution.
  • 📊 Deep Telemetry — Full step-by-step execution tracking (tokens, latency, cost per step) synced instantly to the dashboard.

Advanced Usage: Policy Engine

from steerplane import guard

@guard(
    max_cost_usd=10, 
    denied_actions=["DROP TABLE*", "rm -rf *"],
    rate_limits=[{"pattern": "send_email", "max_count": 5, "window_seconds": 60}],
    require_approval=["execute_trade*"]
)
def autonomous_agent():
    agent.run()

Documentation

See docs.steerplane.ai for full documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

steerplane-0.3.0.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

steerplane-0.3.0-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file steerplane-0.3.0.tar.gz.

File metadata

  • Download URL: steerplane-0.3.0.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for steerplane-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d5856a0cf6e7353fad57b8e62756d9bad60ba4b0a832766fed02452925f1cc16
MD5 5d93fd920e50adf007fba8fda7e53dea
BLAKE2b-256 ccd015f9998312cdc712070e3b2b2f7eb7778b3a9b5edfe79159ff0ff82ed4e9

See more details on using hashes here.

File details

Details for the file steerplane-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: steerplane-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for steerplane-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de8127d1b08de9abc1ae09b74a1559824dc4c321fb0656e2ff2ea14a438cc1ed
MD5 e94eadebf76379ac6915fd6d84279033
BLAKE2b-256 bc67551e30e63a8eaed76ec2833dbf2ef95ef3ac05eaff988d1021ee1e9722a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page