Skip to main content

Universal agent plugin for Cluxion preprocessing, honesty contracts, clarification, Rust work queue, and resource-aware harness handoff.

Project description

cluxion-Agentplugin-preprocessing

범용 에이전트 전처리 플러그인Hermes, Claude Code, Codex, Grok Build에서 동일 core로 동작합니다.

Repository: https://github.com/cluxion/cluxion-Agentplugin-preprocessing

한 줄 요약

작업 시작 전에 방향·정직함·큐를 정리합니다. 연결된 AIcluxion_plan 등 도구를 호출하고, JSON 계약(answer_policy, host_execution)에 따라 응답합니다. 플러그인은 추가 LLM 호출 없이 결정론적 plan만 반환합니다.

범용 에이전트 + Rust-First

계층 구현
Rust (cluxion-queue) SQLite 작업큐, atomic dispatch
Python (cluxion_runtime, adapter) harness plan, 전처리, CLI
Agent adapter adapters/ — Hermes plugin, Claude skill, Codex snippet

내부 hot path는 Rust. Python은 등록·JSON bridge·fallback입니다.

이 플러그인의 역할

  • 정직함: context 부족 시 모른다고 답하도록 answer_policy 생성
  • 명확화: 의도가 애매하면 큐 진입 전 질문 (needs_clarification)
  • 작업큐: 긴 입력을 segment로 분할, checksum 보존
  • 리소스 admission: RAM/CPU 압력에 따른 실행 허용 (결정론적)

모델·OAuth·provider는 host agent 소유. Cluxion은 plan·게이트·큐 메타데이터만 반환합니다.

연결된 AI가 하는 일

단계 동작
요청 수신 cluxion_plan 또는 cluxion-runtime plan
명확화 필요 clarification.questions로 사용자에게 질문
queued 모드 cluxion_queue_next → 처리 → cluxion_queue_recordcluxion_queue_brief
응답 answer_policy.required_checks 준수

설계 요약

User prompt → cluxion_plan → [clarification?] → preprocessing mode
           → answer_policy + host_execution
           → (queued) queue_next/record/brief

설계 원칙

  1. 추가 AI preflight 없음 — 결정론적 plan
  2. 짧은 일반 질문은 simple_answer fast path
  3. 불확실 시 fake success 금지 — needs_clarification, unknown_after_check
  4. opt-in — 사용자 동의 없이 권한 확대 없음

빠른 시작

pip install cluxion-agentplugin-preprocessing
cluxion-preprocess check
cluxion-preprocess enable    # Hermes
cluxion-runtime plan --surface hermes --prompt "작업 설명"

도구 (cluxion toolset, 10 tools)

Tool 설명
cluxion_plan 전처리·방향·큐·리소스 계획
cluxion_clarify 명확화 질문 목록
cluxion_bootstrap 로컬 runtime 의존성 설치/업그레이드 (예: vllm-mlx)
cluxion_serve_local Cluxion-managed vLLM-MLX 로컬 endpoint 준비/시작
cluxion_hermes_config 로컬 OpenAI-compatible endpoint용 Hermes provider config
cluxion_queue_next / record / brief segment 큐
cluxion_context_compress context 사용률 초과 시 결정론적 압축 (pinned/recent 보존)
cluxion_guard 실시간 리소스 guard (status/start/stop/enforce/auto-enforce)

문서

License

Apache-2.0

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

cluxion_agentplugin_preprocessing-0.3.0.tar.gz (102.8 kB view details)

Uploaded Source

Built Distributions

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

cluxion_agentplugin_preprocessing-0.3.0-cp311-abi3-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11+Windows x86-64

cluxion_agentplugin_preprocessing-0.3.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ x86-64

cluxion_agentplugin_preprocessing-0.3.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (1.3 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

cluxion_agentplugin_preprocessing-0.3.0-cp311-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.11+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for cluxion_agentplugin_preprocessing-0.3.0.tar.gz
Algorithm Hash digest
SHA256 cf22374c9ff544369eee5efe361c11c37f4ae2234c96e5b4737b077d775f36ca
MD5 01381eafbc4bc59659e24ba5af271af7
BLAKE2b-256 aa513584889f0749c2a1582beb06d5d3f39c4f2757c6e244ae76729ee8a53337

See more details on using hashes here.

Provenance

The following attestation bundles were made for cluxion_agentplugin_preprocessing-0.3.0.tar.gz:

Publisher: publish.yml on cluxion/cluxion-Agentplugin-preprocessing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for cluxion_agentplugin_preprocessing-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e8f9db7deef5912eb4b49f9ee0a7fcb453fcb92baa48b148505c967802a6566
MD5 48f12aba3fe04fa1cc712446f3f84400
BLAKE2b-256 1d4466d387915159aba4e267184141de5e78811f0530bd155c71b2954874d3ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for cluxion_agentplugin_preprocessing-0.3.0-py3-none-any.whl:

Publisher: publish.yml on cluxion/cluxion-Agentplugin-preprocessing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cluxion_agentplugin_preprocessing-0.3.0-cp311-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for cluxion_agentplugin_preprocessing-0.3.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 419640c12979f1481677c88f8681680d1ee019ceee32692b758877c74f946898
MD5 aa60267d08b0b8621cfb5292ec73c706
BLAKE2b-256 081e9302172eac51b6b90157dc81c6a06f6501b9366f6210dd8112745274ecd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for cluxion_agentplugin_preprocessing-0.3.0-cp311-abi3-win_amd64.whl:

Publisher: publish.yml on cluxion/cluxion-Agentplugin-preprocessing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cluxion_agentplugin_preprocessing-0.3.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for cluxion_agentplugin_preprocessing-0.3.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 0cba7e3660eaaa27d3f3a7264d2755e18ccf85dd6f7acbe6110bc128df26a14c
MD5 3580946a2d51e69d37eaf9a037cce0a6
BLAKE2b-256 7276bf72d634a7659900da560d2b50086cfcfa7dfbd17dcae1d69e7a01584415

See more details on using hashes here.

Provenance

The following attestation bundles were made for cluxion_agentplugin_preprocessing-0.3.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: publish.yml on cluxion/cluxion-Agentplugin-preprocessing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cluxion_agentplugin_preprocessing-0.3.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for cluxion_agentplugin_preprocessing-0.3.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 fc7057e642e043081ac3bb8bda134aa69f7f4465e5119a49a1327fd19b6d16f1
MD5 9048af4ee49c946ab68e69f2cfdbc3bf
BLAKE2b-256 0b3d36a0c30dd39c196b426816900ba44dc2a433655e4120e29530a206272af0

See more details on using hashes here.

Provenance

The following attestation bundles were made for cluxion_agentplugin_preprocessing-0.3.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl:

Publisher: publish.yml on cluxion/cluxion-Agentplugin-preprocessing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cluxion_agentplugin_preprocessing-0.3.0-cp311-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cluxion_agentplugin_preprocessing-0.3.0-cp311-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c81b143e59e52f4cd4acb41eaa0e4dc6fb1063c62d82d68d6dafb8aad66f9754
MD5 fd461e77cbe413ce504a904a85df3e9b
BLAKE2b-256 2d86c6b46c7abc69fa3f1ac5b5dbf273df6249da57636b9833b8042fa792498f

See more details on using hashes here.

Provenance

The following attestation bundles were made for cluxion_agentplugin_preprocessing-0.3.0-cp311-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl:

Publisher: publish.yml on cluxion/cluxion-Agentplugin-preprocessing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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