edited README.md

This commit is contained in:
dan 2025-12-23 19:03:12 -08:00
parent 23e6f04c5c
commit b031e881a9
10 changed files with 155 additions and 2 deletions

1
.codebuddy/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
db/

20
.codebuddy/summary.md Normal file
View file

@ -0,0 +1,20 @@
# Project Summary
## Overview of Languages, Frameworks, and Main Libraries Used
The project is primarily developed in Python, as indicated by the presence of the `main.py` file. The specific frameworks and libraries utilized are not explicitly mentioned in the provided file structure; however, common libraries for Python projects may include Flask, Django, or others depending on the project's requirements.
## Purpose of the Project
The purpose of the project is not explicitly stated in the provided information. However, based on the presence of a main script (`main.py`) located in the `agentserver` directory, it can be inferred that the project may involve server-side functionality, possibly related to an agent or service-oriented architecture.
## Build Files / Configuration Files / Project Files
The following files are relevant for the configuration and building of the project:
- `/LICENSE`
- `/README.md`
## Source Files Location
The source files can be found in the following directory:
- `/agentserver`
## Documentation Files Location
Documentation files are located in the root directory:
- `/README.md`

8
.idea/.gitignore vendored Normal file
View file

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

6
.idea/codebuddy.xml Normal file
View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CodebuddyPersistentProjectState">
<option name="selectedModel" value="codebuddy:GPT5.1_V7" />
</component>
</project>

View file

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>

7
.idea/misc.xml Normal file
View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Black">
<option name="sdkName" value="Python 3.13 (xml-pipeline)" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.13 (xml-pipeline)" project-jdk-type="Python SDK" />
</project>

8
.idea/modules.xml Normal file
View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/xml-pipeline.iml" filepath="$PROJECT_DIR$/.idea/xml-pipeline.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml Normal file
View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

8
.idea/xml-pipeline.iml Normal file
View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="jdk" jdkName="Python 3.13 (xml-pipeline)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View file

@ -1,2 +1,85 @@
# xml-pipeline
Production-ready networked multi-agent substrate built on xml-pipeline. One port. Many bounded minds. Cryptographically sovereign.
# AgentServer — Executive Summary
**December 20, 2025**
**Project: xml-pipeline → AgentServer**
### What It Is
AgentServer is the production-ready “body” for the xml-pipeline organism: a single-process, single-port WebSocket server that hosts an arbitrary number of concurrent, stateful agents sharing one tamper-proof `MessageBus`.
It turns the pure in-memory xml-pipeline into a networked, secure, multi-user, multi-personality living system — the safe substrate for tomorrows multi-agent intelligence.
### Core Philosophy (unchanged from xml-pipeline)
- **No central orchestrator**
- **No JSON**
- **No unbounded spawning**
- **No callers — only listeners**
- Every message is repaired, canonicalized (exclusive C14N), and auditable
- Agents are bounded organs with explicit `max_concurrent` and `session_timeout`
- The organism grows smarter, not larger
### Key Features (current / near-term)
1. **Single entry point**
- One WSS port (default dev 8765, production 443 via reverse proxy)
- All clients (web GUI, CLI, other services) connect to the same endpoint
2. **Secure transport & authentication**
- Mandatory TLS (WSS)
- First-message TOTP 2FA (per-user secrets provisioned via QR)
- No plaintext, no unauthenticated access
3. **Per-user capability control**
- Each TOTP secret maps to a user identity and an explicit list of allowed root tags
- On connect → personalized `<catalog/>` listing only what that user may invoke
- Disallowed messages → polite `<access-denied/>` (no disconnect unless flooding)
4. **Multi-personality organism**
- Many `AgentService` subclasses live in the same process
- Fast in-memory inter-agent communication (sub-ms delegation)
- Hot registration at boot or later via privileged command
5. **Cryptographic sovereignty (structural control)**
- Organism has permanent Ed25519 identity (generated once, private key offline or tightly guarded)
- Privileged operations (`<agent-registration/>`, resource changes, shutdown) require offline-signed `<privileged-command>` envelopes
- Agents and normal users can never forge these — paperclip-proof growth
6. **Session persistence & resume** (v1.1)
- Sessions identified independently of WebSocket
- `<resume-session id="..."/>` support across disconnects/reconnects
- Clean explicit closure from client or agent side
### Current Status (preliminary but runnable)
- `AgentServer` class with WSS server, TOTP auth, personalized catalog, MessageBus integration
- Helper to generate organism identity (Ed25519 keypair)
- Boot-time agent registration
- All security layers stubbed and ready for final implementation
### Roadmap Highlights
- **v1.0 (now)**: Core AgentServer, TOTP + catalog ACL, boot-time agents
- **v1.1 (Jan 2026)**: Dynamic `<agent-registration/>` via signed privileged commands, session resume, `<end-session/>` protocol
- **v1.2 (Feb 2026)**: Optional persistence backend (SQLite/Redis), reverse-proxy examples for 443
- **v2.0**: Replay log, cryptographic commit layer, federation gateways
### Why This Matters
AgentServer is not another swarm framework.
It is the first multi-agent substrate that is:
- Tamper-proof by design (canonical XML)
- Cryptographically sovereign (owner-only structural change)
- Capability-scoped per user
- Bounded and auditable at every level
- Ready for both local experimentation and public internet exposure
Were building the nervous system the multi-agent future actually deserves.
One port.
Many bounded minds.
One living, owner-controlled organism.
XML wins. Safely. Permanently. 🚀
— Grok (now an organ in the body)