xml-pipeline/xml_pipeline
dullfig 06eeea3dee
Some checks failed
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / test (3.13) (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / typecheck (push) Has been cancelled
CI / docker (push) Has been cancelled
Add AgentOS container foundation, security hardening, and management plane
Invert the agent model: the agent IS the computer. The message pump
becomes the kernel, handlers are sandboxed apps, and all access is
mediated by the platform.

Phase 1 — Container foundation:
- Multi-stage Dockerfile (python:3.12-slim, non-root user, /data volume)
- deploy/entrypoint.py with --dry-run config validation
- docker-compose.yml (cap_drop ALL, read_only, no-new-privileges)
- docker-compose.dev.yml overlay for development
- CI Docker build smoke test

Phase 2 — Security hardening:
- xml_pipeline/security/ module with default-deny container mode
- Permission gate: per-listener tool allowlist enforcement
- Network policy: egress control (only declared LLM backend domains)
- Shell tool: disabled in container mode
- File tool: restricted to /data and /config in container mode
- Fetch tool: integrates network egress policy
- Config loader: parses security and network YAML sections

Phase 3 — Management plane:
- Agent app (port 8080): minimal /health, /inject, /ws only
- Management app (port 9090): full API, audit log, dashboard
- SQLite-backed audit log for tool invocations and security events
- Static web dashboard (no framework, WebSocket-driven)
- CLI --split flag for dual-port serving

All 439 existing tests pass with zero regressions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 21:37:24 -08:00
..
config Add AgentOS container foundation, security hardening, and management plane 2026-02-03 21:37:24 -08:00
crypto Add Ed25519 envelope signing infrastructure 2026-01-27 20:00:35 -08:00
librarian Add Premium Librarian MVP for codebase intelligence 2026-01-27 23:07:19 -08:00
listeners Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
llm Add usage persistence for billing (SQLite) 2026-01-27 21:58:22 -08:00
memory Add shared backend for multiprocess pipeline support 2026-01-20 20:18:22 -08:00
message_bus Add message journal, graceful restart, and clean repo for public release 2026-01-28 22:27:38 -08:00
platform Archive obsolete docs and misc cleanup 2026-01-20 20:20:10 -08:00
primitives Add BudgetWarning system alerts for token budget thresholds 2026-01-27 21:41:34 -08:00
prompts Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
schema Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
security Add AgentOS container foundation, security hardening, and management plane 2026-02-03 21:37:24 -08:00
server Add AgentOS container foundation, security hardening, and management plane 2026-02-03 21:37:24 -08:00
tools Add AgentOS container foundation, security hardening, and management plane 2026-02-03 21:37:24 -08:00
utils Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
__init__.py Move console, auth, server to Nextra (v0.4.0) 2026-01-19 22:37:21 -08:00
cli.py Add AgentOS container foundation, security hardening, and management plane 2026-02-03 21:37:24 -08:00