Lango Master Document¶
Purpose¶
This document is the top-level product and strategy document for Lango.
It exists to:
- define what Lango fundamentally is,
- define how features are judged,
- define which execution tracks own which problems,
- keep future work aligned with one product story.
Relationship to Existing Stabilization Work¶
Existing stabilization work remains valid, but it is subordinate to this master document rather than a replacement for it.
Stabilization is one execution track among several in the track portfolio. It exists to harden, clarify, and make reliable the parts of the product story defined here; it does not define the top-level product constitution, capability taxonomy, or product path by itself.
Product Constitution¶
Lango is a sovereign peer-to-peer agent network, not just a local agent runtime.
Constitutional Principles¶
- External collaboration between sovereign agents is the central product identity.
- Internal collaboration matters, but it is a reduced form of the external collaboration model.
- External collaboration is economically native.
- On-chain settlement is one trusted settlement mechanism, not the product itself.
- The default external collaboration structure is leader-led.
- The long-term product target is high autonomy, but the near-term product model is delegated autonomy.
- User private conversations, confidential material, and sensitive internal information are never tradeable assets.
- Tradeable knowledge and deliverables must stay inside an allowlist plus explicit exportability policy.
- The first economic activity is knowledge exchange and result exchange, not broad remote execution.
- Trust starts from cryptographic continuity of identity, but reputation should be centered on real collaboration and transaction history.
- The owner carries root identity and final accountability, while individual agents accumulate separate role-specific and domain-specific reputation.
Primary Product Path¶
Phase 1: Knowledge Exchange¶
- Sovereign external agents participate through pseudonymous but cryptographically continuous identities.
- The first market activity is expertise access plus reviewable deliverables.
- The default experience is delivery of outputs such as summaries, research notes, design drafts, and code drafts.
- Tradeable artifacts remain bounded by allowlists and exportability policy.
- Default settlement is small upfront payment plus approval-based final settlement, anchored by on-chain stablecoin.
Phase 2: Result Exchange with Controlled Execution¶
- Repeat interactions and stronger trust allow more structured result exchange.
- Limited execution may be opened only for higher-trust relationships with explicit approval and strong policy controls.
- Off-chain accrual, dynamic credit limits, clearer acceptance criteria, and formalized dispute handling mature here.
Phase 3: Leader-Led Team Execution¶
- A leader agent forms an external team around a shared goal.
- Team composition uses standard role templates plus optional custom roles.
- Budgeting, contracting, and settlement remain leader-controlled by default, with narrow delegated authority when needed.
- Workspace sharing is selective and leader-owned by default.
- Artifact exchange is snapshot/package oriented by default, not unrestricted live co-editing.
Phase 4: Long-Running Multi-Agent Projects¶
- Collaboration expands from one-off tasks to long-running, multi-session, multi-milestone projects.
- Provenance, ledgers, recurring settlement, durable work records, and persistent shared artifacts become central.
Capability Areas¶
Capability areas are a classification lens, not execution tracks. They describe where work belongs conceptually and map to one binding primary execution track, with explicit override conditions where noted. Every downstream audit or plan must declare exactly one primary capability area. Choose the area that best represents the work's main user-facing or system responsibility; all other touched capability areas are secondary capability areas only.
Sovereign Runtime & Operator UX¶
Providers, agent runtime, channels, cockpit, operator-facing settings, status, help, session handling, logging, core tool surfaces, and default behavior.
Knowledge & Intelligence Capital¶
Knowledge, observational memory, embedding/RAG, graph, ontology, librarian, agent memory, skills, and context systems.
External Collaboration & Economic Exchange¶
P2P identity, trust, reputation, pricing, negotiation, settlement, team formation, and shared artifact exchange.
Trust, Security & Policy¶
Auth, signer/KMS, privacy boundaries, exportability policy, approvals, gatekeeper, exec safety, sandboxing, and auditability.
Execution, Continuity & Accountability¶
Workflow, background tasks, cron, RunLedger, provenance, and hooks.
Extensibility & Developer Clarity¶
MCP, extension packs, architecture boundaries, extension points, developer-doc truthfulness, and duplicate cleanup.
Phase 4 Capability Tie-Break¶
- If the main responsibility is cross-agent coordination, settlement, market behavior, or shared artifacts between agents, the primary capability area is
External Collaboration & Economic Exchange. - If the main responsibility is durable execution, provenance, ledgers, workflow continuation, or accountability mechanics, the primary capability area is
Execution, Continuity & Accountability. - If the main responsibility is policy, approval, auth, sandboxing, privacy, or security controls, the primary capability area is
Trust, Security & Policy.
Feature Audit Framework¶
Allowed Audit Judgments¶
keepstabilizemergedeferremove
Audit Rules¶
- A feature is valuable if it directly strengthens the core product story.
- The strongest test is whether it materially supports external collaboration, knowledge exchange, result exchange, leader-led team execution, or long-running multi-agent collaboration.
- Features with overlapping responsibility should be merge candidates.
- Features aligned with the vision but weak in reliability, defaults, docs, trust boundaries, or UX should be stabilization candidates.
- Features that fit the vision but are too early for the current product path should be deferred.
- Features that add complexity without strengthening the core story should be removal candidates.
Minimum Audit Record Schema¶
Every audit record must include these fields:
- feature name
- capability area
- product-path linkage
- current surface area
- core value
- current problem
- judgment
- execution track
- secondary capability areas
- secondary tracks
The capability area field means the single primary capability area for the audit or plan.
The execution track field means the single primary execution track for the audit or plan.
The canonical empty value for secondary capability areas and secondary tracks is none.
Downstream docs must not invent new capability areas or track names; new names must be added here first.
Downstream Precedence Rule¶
This master document is the top-level source of truth for product constitution, capability taxonomy, audit framework, vocabulary, and track routing.
If any audit doc, track charter, stabilization doc, or future architecture doc conflicts with this document, the downstream document must defer to this one and be updated to match it. Concrete keep, stabilize, merge, defer, and remove decisions belong in downstream audit ledgers, but they must follow this document's framework and vocabulary.
Track Portfolio¶
Tracks are execution lanes. They own concrete backlog, documents, and delivery outcomes, while capability areas stay as the stable taxonomy used to classify work.
Stabilization Track¶
Truth alignment, durability, defaults, hardening, observability, and production correctness.
Consolidation Track¶
Duplicate feature, config-surface, command-surface, and responsibility cleanup. Consolidation Track becomes the primary execution track when the main responsibility is converging or removing duplicate surfaces, duplicate subsystems, duplicate commands, or overlapping responsibilities across capabilities.
UX Clarity Track¶
Settings, cockpit, CLI, docs, and defaults simplification.
P2P Knowledge Exchange Track¶
The first concrete economic track for external sovereign agents.
Leader-Led Team Execution Track¶
The next layer above knowledge exchange.
Developer Clarity Track¶
Architecture boundary, naming, documentation, and codebase clarity improvements.
Capability-to-Track Routing¶
- Every downstream audit or plan must declare exactly one primary capability area; any other affected capability areas are secondary capability areas only.
- Every downstream audit or plan must declare exactly one primary execution track; any other affected tracks are secondary tracks only.
- When the main responsibility is deduplicating or converging duplicate surfaces, duplicate subsystems, duplicate commands, or overlapping responsibilities across capabilities,
Consolidation Trackoverrides capability-default routing and becomes the primary execution track. Sovereign Runtime & Operator UXbinds toStabilization Track; it may override toUX Clarity Trackonly when the work's main responsibility is simplifying operator flows, operator-facing settings, cockpit behavior, CLI defaults, help, or other user-facing surface clarity.Knowledge & Intelligence Capitalbinds toStabilization Track; it overrides toConsolidation Trackwhen the work's main responsibility is deduplicating or converging duplicate surfaces, duplicate subsystems, duplicate commands, or overlapping responsibilities across capabilities.External Collaboration & Economic Exchangebinds toP2P Knowledge Exchange Trackfor Phase 1-2 style work; it overrides toLeader-Led Team Execution Trackwhen the work's main responsibility is team formation, role coordination, delegated budget control, or shared artifacts for Phase 3 execution, and it also usesLeader-Led Team Execution Trackfor current Phase 4 collaboration or execution work until a dedicated long-running collaboration track is added to this master document.Trust, Security & Policybinds toStabilization Track; secondary track: none unless a downstream audit explicitly identifies one.Execution, Continuity & Accountabilitybinds toStabilization Track; secondary track:Consolidation Track.Extensibility & Developer Claritybinds toDeveloper Clarity Track; it owns developer-facing architecture boundaries, extension points, developer-doc truthfulness, and duplicate cleanup.
External Collaboration Decisions Captured So Far¶
These decisions are already approved baseline guidance for downstream audits and track work.
Identity / Trust / Reputation¶
- Trust is mixed: cryptographic identity continuity is the base, while real transaction and collaboration history is the center of reputation.
- Endorsements and guarantees are secondary signals, and domain-specific agent reputation stays distinct from owner-level root trust.
- Positive signals may accumulate automatically, but durable negative reputation impact requires dispute resolution or explicit adjudication.
- New agents begin under constrained terms, and agents under a trusted owner inherit limited trust rather than full trust.
Knowledge Exchange Boundaries¶
- Early external trade is bounded by allowlists plus explicit exportability policy defined by the user.
- Private conversations, confidential material, and raw sensitive inputs are not tradeable by default.
- Generalized or derived knowledge only becomes tradeable when user policy explicitly allows it.
- The default external experience is reviewable deliverable exchange; limited execution opens only under higher trust, explicit approval, and strong policy controls.
Pricing / Negotiation / Settlement¶
- Pricing is mixed: agents publish baseline rates and conditions, but concrete deals may negotiate from that baseline.
- Early negotiation centers on price, delivery time, and deliverable scope or quality criteria.
- Settlement is mixed: single-deliverable exchange is the default, and milestone settlement appears as scope grows.
- On-chain stablecoin is the trust anchor, while off-chain accrual and dynamic credit limits open only after trust is established.
Team Formation and Shared Artifacts¶
- Team formation is mixed: direct invitation is the default, with brief-based recruitment or bidding available when needed.
- Role assignment starts with standard templates, while custom roles remain available when necessary.
- Contracting and budget control stay centralized with the leader by default, with only narrow delegated authority.
- Shared workspaces are leader-owned by default and selectively exposed by scope, role, and contract; shared artifact flow defaults to snapshot or package delivery, with live collaboration reserved for higher-trust cases and explicit permission.
Near-Term Sequencing¶
- Audit
External Collaboration & Economic Exchange. - Audit
Trust, Security & Policy. - Publish the first
P2P Knowledge Exchangetrack document. - Move stabilization work under the master-document hierarchy, meaning future stabilization docs and audits must sit under
docs/architecture/, reference this master document as their source of truth, and declare which capability area and track they are serving. - Follow with consolidation and UX clarity work.