Skip to main content

Agentic-System-Prompt-as-a-Skill (ASPS) — A three-layer framework for deterministic skill construction in agentic systems.

Project description

beunec-asps

Agentic-System-Prompt-as-a-Skill™ (ASPS™) — A lightweight, zero-dependency Python framework for deterministic skill construction in agentic systems.

An LLM does not "have skills." It has parameters. ASPS™ provides the infrastructure that makes an agentic system skillful.

PyPI Python License: MIT

Install

pip install beunec-asps

Quick Start

from beunec_asps import (
    ASPSBuilder,
    create_heuristic,
    create_pseudonym_protocol,
    NetworkTopologies,
    HEURISTIC_LIBRARIES,
)

# Build a skill in 4 lines
skill = (
    ASPSBuilder(name="Stock Analyst", domain="Equity Research", description="...")
    .distill(HEURISTIC_LIBRARIES["financial_stock_analyst"])
    .reinforce(
        pseudonym_protocol=create_pseudonym_protocol(
            identity="CFA Charterholder",
            persona="A disciplined equity research analyst.",
        ),
        guardrail_presets=["standard", "financial"],
    )
    .network(NetworkTopologies.hub_and_spoke(
        orchestrator_label="Lead Analyst",
        spokes=[{"label": "Market Data API", "node_type": "api", "capabilities": ["quotes"]}],
    ))
    .compile()
)

# Use the compiled system prompt with any LLM
print(skill.compiled_system_prompt)

Pre-Built Templates

from beunec_asps.templates import ASPS_TEMPLATES

# 7 ready-to-use skill templates
skill = ASPS_TEMPLATES["financial_stock_analyst"]()
skill = ASPS_TEMPLATES["full_stack_developer"]()
skill = ASPS_TEMPLATES["scientific_researcher"]()
skill = ASPS_TEMPLATES["content_creator"]()
skill = ASPS_TEMPLATES["private_equity_analyst"]()
skill = ASPS_TEMPLATES["financial_investment_analyst"]()
skill = ASPS_TEMPLATES["academia_professor"]()

The Three Techniques

Layer Technique Purpose
1 ASD™ (Agentic Skill Distillation) Extract expert heuristics → deterministic instruction chains
2 ASR™ (Agentic Skill Reinforcement) Behavioral checkpoints, pseudonym protocols, ICRL, guardrails
3 ANS™ (Agentic Network System) Wire skills into governed multi-agent network topologies

Works With Everything

beunec-asps is zero-dependency and produces plain strings. It works alongside — never conflicts with:

  • LangChain / LangGraph — use the compiled prompt as your agent's system message
  • OpenAI SDK — pass skill.compiled_system_prompt as the system message
  • Anthropic SDK — same
  • AutoGen / CrewAI — use as the internal prompt for any agent in your graph
  • Any LLM — it's just a string

Custom Skills

from beunec_asps import ASPSBuilder, create_heuristic, create_pseudonym_protocol, NetworkTopologies

skill = (
    ASPSBuilder(name="My Expert", domain="My Domain", description="What it does")
    .distill([
        create_heuristic(name="Step 1", instruction="Do this first."),
        create_heuristic(name="Step 2", instruction="Then do this."),
    ])
    .reinforce(
        pseudonym_protocol=create_pseudonym_protocol(
            identity="Domain Expert",
            persona="An experienced professional.",
        ),
        guardrail_presets=["standard"],
    )
    .network(NetworkTopologies.pipeline(stages=[
        {"label": "Agent A", "node_type": "agent", "capabilities": ["analyze"]},
        {"label": "Agent B", "node_type": "agent", "capabilities": ["synthesize"]},
    ]))
    .compile()
)

License

MIT — © 2025 Beunec Technologies, Inc.

ASPS™, ASD™, ASR™, ANS™ are trademarks of Beunec Technologies, Inc.

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

beunec_asps-0.1.0.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

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

beunec_asps-0.1.0-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: beunec_asps-0.1.0.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for beunec_asps-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ff75a63b0b54b52f0fe6de2f5dd311d1d6c080ecfc9285b10e43d1483ff3b413
MD5 22f9a2060f017e1f1c47908a81b6fab3
BLAKE2b-256 d42d49d6ccc824b8f09a4231d4236a046dc18bfb11ab7473b59eec959bf03447

See more details on using hashes here.

File details

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

File metadata

  • Download URL: beunec_asps-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for beunec_asps-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5a9239e9dcdf5c90bbfaad120cc2724962367713326a9cf5c828ac8d8e76c74
MD5 20a760e242db5fcf9df34883535f31a6
BLAKE2b-256 b91dab27cdff6e5dc36ccf34d49c0882816c99987c0a8d4926232dcc5084b10a

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