Product
자연어 명령을 실제 OS 동작으로
변환하는 에이전트
AllvIa는 의도 분석부터 실행, 검증, 승인까지 완전 자동화된 NL 파이프라인과 백그라운드에서 사용자 행동을 학습하는 Shadow Mode를 제공합니다. 99개+ Rust 코어 모듈(총 111개 Rust 소스 파일)로 구성된 Single Source of Truth(SSOT) 코어와 Zero Trust 기반의 5계층 보안을 갖춘 프로덕션 레디 에이전트입니다.
NL Automation Pipeline
자연어 입력 → 의도 분석 → 실행 → 검증 → 승인까지 6단계 자동 파이프라인.
Intent
intent_router.rs
자연어 → IntentType 분류
Slot
slot_filler.rs
필수 파라미터 추출
Plan
plan_builder.rs
실행 단계 생성
Execute
execution_controller.rs
단계별 자동 실행
Verify
verification_engine.rs
결과 자동 검증
Approve
approval_gate.rs
위험 행동 승인 게이트
OS-Level Control
화면을 보고, 클릭하고, 앱을 직접 조작합니다
Visual Driver & Rust Collector
visual_driver.rs와 collector_rs.rs가 협업하여 화면 인식 및 데이터 수집을 수행합니다. 5분 단위 집약 및 PII 마스킹이 코어 수준에서 처리됩니다.
Browser Automation
browser_automation.rs가 웹 페이지 탐색, 폼 입력, 데이터 추출을 자동으로 수행합니다.
Shadow Mode
analyzer.rs가 백그라운드에서 수집된 이벤트를 분석하여 반복적인 루틴을 식별하고 자동화 기회를 추천합니다.
$ cargo run --bin local_os_agent
> surf "Notes를 열어 새 메모를 만들고 Research Topic을 입력해"
Environment Scan: Found 349 apps
Canonical: "Notes" → "Notes.app"
[OK] Notes.app 실행 (applescript.rs)
[OK] Shortcut: Cmd+N (새 메모 생성)
[OK] Type: "Research Topic" (keyboard.type)
Verification: 메모 생성 확인 완료
Action Classification:
Safe: ui.find, screen.capture, app.list
Caution: ui.click, keyboard.type
Critical: file.delete, cmd.exec, submit.payment
Write Lock: LOCKED (default)
Tool Policy: TOOL_ALLOWLIST / TOOL_DENYLIST
PII Guard: [EMAIL], [CARD], [SSN] → masked
Kill Switch: Esc 연타 → 즉시 종료
Zero Trust Security
5계층 보안으로 모든 실행을 통제합니다
1. PolicyEngine (policy.rs)
Safe / Caution / Critical 3단계로 행동을 분류합니다.
2. CommandClassifier (security.rs)
셸 명령의 위험도를 자동 분석하여 차단합니다.
3. ToolPolicy (tool_policy.rs)
환경변수 기반 도구별 Allow/Denylist를 관리합니다.
4. PrivacyGuard (privacy.rs)
이메일, 카드번호 등 PII를 DB 저장 전 자동 마스킹합니다.
5. API Auth (api_server.rs)
STEER_API_KEY 기반 미들웨어 인증을 적용합니다.
External Integrations
네이티브 연동으로 일상 서비스를 자동화합니다.
Gmail
gmail.rs (5KB)
- 이메일 조회/발송
- 분류 자동화
- Gmail API 연동
Google Calendar
calendar.rs (5KB)
- 일정 조회/생성
- 리마인더 관리
- Google OAuth 연동
Notion
notion.rs (6KB)
- 페이지 읽기/쓰기
- 데이터베이스 조회
- Notion API 연동
Telegram
telegram.rs (12KB)
- 원격 명령 실행
- 결과 리포트 전송
- 외출 중 PC 제어
Technical Specification
AllvIa 에이전트의 전체 아키텍처와 기술 스택.
| 구성 요소 | 기술 스택 | 상세 |
|---|---|---|
| Core Engine | Rust (99+ 코어 모듈 / 111 Rust 소스) | main.rs, core::lib.rs (Single Source of Truth), api_server.rs (Axum) |
| NL Pipeline | 6-stage Automation | intent_router → slot_filler → plan_builder → execution → verification → approval |
| Shadow Mode | Batch Pipeline | collector_rs → build_sessions → build_routines → build_handoff (Rust native) |
| OS Control | AppleScript + Visual Driver | visual_driver.rs, browser_automation.rs, screen_recorder.rs |
| Storage | SQLite (steer.db) | 이벤트 로그(v2), 5분 집약, 일일 요약, 세션/루틴/핸드오프 데이터 |
| Orchestration | n8n (Docker / NPX) | n8n_api.rs, STEER_N8N_RUNTIME 지원 (Docker/NPX/Manual) |
| Web UI | React/Vite + Tailwind | Dashboard, Chat, Launcher, Routines, Workflows, Settings |
| Desktop | Tauri | macOS .app / Windows .exe 네이티브 앱 생성 |
| Integrations | Gmail, Calendar, Notion, Telegram | Google OAuth, Notion API, Telegram Bot API 연동 |
| Security | 5-layer Zero Trust | policy.rs, security.rs, tool_policy.rs, privacy.rs, api_server auth |
| Data Pipeline | Rust Collector + Sensors | build_sessions_rs, build_routines_rs, build_handoff_rs |
| Reliability | Self-Healing Guardian | 프로세스 자동 재시작, retry_logic.rs, singleton_lock.rs |