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)

Tool 설명
cluxion_plan 전처리·방향·큐·리소스 계획
cluxion_clarify 명확화 질문 목록
cluxion_queue_next / record / brief segment 큐

문서

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.2.0.tar.gz (63.8 kB view details)

Uploaded Source

Built Distribution

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

File details

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

File metadata

  • Download URL: cluxion_agentplugin_preprocessing-0.2.0.tar.gz
  • Upload date:
  • Size: 63.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for cluxion_agentplugin_preprocessing-0.2.0.tar.gz
Algorithm Hash digest
SHA256 329f43c5931da5476c11758f5e4206e9b6fb740a0ae8e515329b6591f29c011f
MD5 b2a9fd908be3b2557b18acc8a6c8113b
BLAKE2b-256 464a30f136a7b94a87a4823fd03d3007a4cc57feb1f78919f7feb16679e98fd8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cluxion_agentplugin_preprocessing-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 67.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for cluxion_agentplugin_preprocessing-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff70828c91db2424bc70c49fdba0fc061509104212414933357fb6e757bf1a50
MD5 659a65531facd67d2f6300fee843e5c3
BLAKE2b-256 61ac904767cfd6066972606c6a00b76befd39220eeb84791213b4f85eb222e0d

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