Skip to main content

Modular, event-driven AI agent SDK with trigger plugins, LLM reasoning (Amazon Bedrock), retries, and a dashboard.

Project description

🧠 Agent Skill SDK

Build modular, intelligent agents with event triggers, retry logic, memory, LLM planning (Amazon Bedrock), and a live dashboard.

Build License Python


🚀 Features

  • ✅ Skill-based programming with @skill decorators
  • 🔁 Retry, backoff, and fallback on skill failure
  • 🧠 LLM reasoning via Amazon Bedrock
  • 🧩 Triggers: Timer, MQTT, HTTP, Cron, File Watcher, CoAP
  • 📜 Memory tracing + export (CSV/JSON)
  • ⚙️ CLI and 🧪 FastAPI-based dashboard
  • 📚 Full developer documentation with MkDocs

📦 Install

pip install agent-skill-sdk

🧪 Example: Define a Skill

from agent_skill_sdk import skill

@skill(trigger="on_temp_high", retries=2, backoff="exponential")
def turn_on_fan(context):
    print("Turning on fan:", context.get("location"))

⚡ Trigger from CLI

agent register examples.fan_control.turn_on_fan
agent trigger on_temp_high --data '{"location": "lab"}'

🧠 LLM Planning (Amazon Bedrock)

@skill(trigger="on_goal")
def bedrock_planner(context):
    response = run_reasoning(context.get("goal"))
    action = response.get("action")
    context.agent.trigger(action)

Supports:

  • Prompt templates
  • Memory recall
  • Fallback actions

🌐 Dashboard

uvicorn dashboard.app:app --reload

Visit http://localhost:8000 to:

  • View registered skills
  • Trigger events manually
  • Inspect LLM trace logs

🔌 Trigger Plugins

Trigger File Event
Timer timer.py on_timer
MQTT mqtt.py on_mqtt_message
HTTP/Webhook http.py on_http
Cron cron.py on_cron
File Watcher file_watcher.py on_file_change
CoAP (IoT) coap.py on_coap

📚 Documentation

Visit your deployed docs here:
➡️ https://subhashtalluri.github.io/agent-skill-sdk/

Or build locally:

mkdocs serve

📤 Deployment

Use Docker or deploy with Uvicorn:

uvicorn dashboard.app:app --host 0.0.0.0 --port 8000

🧠 Trace Export

agent.export_trace("json")
agent.export_trace("csv")

🧩 Contributions Welcome

Build a trigger plugin, skill library, or submit a PR!


📜 License

MIT – do anything, just give credit ✨

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

agent_skill_sdk-0.1.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

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

agent_skill_sdk-0.1.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file agent_skill_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: agent_skill_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for agent_skill_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bc1cd2cf44ebfa5c32966939d96781275621460c85714f260cae3573dd60bbca
MD5 9acd42e12984e364ba8571132a6054bb
BLAKE2b-256 12c93432112611c524000ae849f095e7a7605582e2bfa816add116e580c2065b

See more details on using hashes here.

File details

Details for the file agent_skill_sdk-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_skill_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9899eff2ddf46aaabb205582674f3d5d2257372206d99f5bb017767b23f83ab
MD5 a07e98b68da897751191f6eda8a493da
BLAKE2b-256 35c343d7dfcda1ee22afe3d51f079aa3314aaa19071f653215c499948df23685

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