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)

Hermes에서는 on_session_start hook이 guard daemon을 자동 시작합니다. CLUXION_GUARD_AUTOSTART=0 또는 false로 끌 수 있고, post_tool_call hook은 기본 30초마다 report-only auto_enforce(dry_run=True)를 실행합니다. 실제 적용은 CLUXION_GUARD_AUTO_APPLY=1 또는 true일 때만 켜집니다.

문서

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.1.tar.gz (105.1 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.1-cp311-abi3-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11+Windows x86-64

cluxion_agentplugin_preprocessing-0.3.1-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.1-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.1-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.1.tar.gz.

File metadata

File hashes

Hashes for cluxion_agentplugin_preprocessing-0.3.1.tar.gz
Algorithm Hash digest
SHA256 d9af48e2949a31dd903a7403ba727555b3a61bc893011e7b09125aff31830d88
MD5 89f1e466f073cda35ae3e42c2780e685
BLAKE2b-256 32eb78ae3a67840ffee8946912f8fe5d1890e2801f2973f21126bf1d1ef70e81

See more details on using hashes here.

Provenance

The following attestation bundles were made for cluxion_agentplugin_preprocessing-0.3.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cluxion_agentplugin_preprocessing-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b61f5fb482246dd868340bce018d8c8b2544bcf5df3650a7a155a50aad27bc3c
MD5 004c64ca2d686f5287ac145cb18f6a0f
BLAKE2b-256 cbcfbf33efc2bc26cbecf83105104a87aa17e617527c5db465d9990617e62bf2

See more details on using hashes here.

Provenance

The following attestation bundles were made for cluxion_agentplugin_preprocessing-0.3.1-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.1-cp311-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for cluxion_agentplugin_preprocessing-0.3.1-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e73d88670a38511029f0e09a57be23c055ae2ed74fc6965627d49a91ca3cc084
MD5 f08f8e8cf63360bfe14748a79595b312
BLAKE2b-256 e8f4b35e640682465269b0d3822be20f31575565fb90444b7b78378b1b7b6915

See more details on using hashes here.

Provenance

The following attestation bundles were made for cluxion_agentplugin_preprocessing-0.3.1-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.1-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for cluxion_agentplugin_preprocessing-0.3.1-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 1643779e3aa27ef44bf72b04a439569c027a81d4ec482f43006c984cf87fe6ea
MD5 726e895f52bfb0c2f946d921917882a1
BLAKE2b-256 66158fcb897ffc128238de039051ef82dc8756a43e3ded6622d1556632ef7eef

See more details on using hashes here.

Provenance

The following attestation bundles were made for cluxion_agentplugin_preprocessing-0.3.1-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.1-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for cluxion_agentplugin_preprocessing-0.3.1-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 920fd8a9f26fe26e750ff7ce91831778303e1837dac513c142699c5fcbccfbc9
MD5 d61cbbe253cafe058fb692da96ceebbb
BLAKE2b-256 8349f3c8d7f70a4a8b36410c75a8e1c213a295579f36358a2d0c5959eabc1271

See more details on using hashes here.

Provenance

The following attestation bundles were made for cluxion_agentplugin_preprocessing-0.3.1-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.1-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.1-cp311-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 78c0dee700c366cc75ef5b7d686638e401e8a2560aa06e83392716e104a23b44
MD5 4a1107c343f8111fc87faee1760d6a19
BLAKE2b-256 4ee9e88c83e167b235537067724c2437db0430bf141bd2146244a255092cc3f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for cluxion_agentplugin_preprocessing-0.3.1-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