internal/

directory
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2026 License: MIT

Directories

Path Synopsis
Package agentmemory provides per-agent persistent memory.
Package agentmemory provides per-agent persistent memory.
Package alerting provides threshold-based operational alerting that monitors policy/recovery/budget signals and generates alerts.
Package alerting provides threshold-based operational alerting that monitors policy/recovery/budget signals and generates alerts.
Package approval provides a unified interface for tool execution approval across multiple channels (Gateway WebSocket, Telegram, Discord, Slack, TTY).
Package approval provides a unified interface for tool execution approval across multiple channels (Gateway WebSocket, Telegram, Discord, Slack, TTY).
Package automation provides shared interfaces for the automation subsystem (cron, background, workflow).
Package automation provides shared interfaces for the automation subsystem (cron, background, workflow).
channels
cli
a2a
alerts
Package alerts provides CLI commands for operational alerting.
Package alerts provides CLI commands for operational alerting.
bg
Package bg provides CLI commands for background task management.
Package bg provides CLI commands for background task management.
chat
Package chat implements an interactive TUI chat interface using bubbletea.
Package chat implements an interactive TUI chat interface using bubbletea.
cliboot
Package cliboot provides common bootstrap loaders for CLI subcommands.
Package cliboot provides common bootstrap loaders for CLI subcommands.
cockpit/pages
Package pages implements the individual pages for the Lango Cockpit TUI.
Package pages implements the individual pages for the Lango Cockpit TUI.
cockpit/theme
Package theme provides the color palette, icons, and logo for the Lango Cockpit TUI.
Package theme provides the color palette, icons, and logo for the Lango Cockpit TUI.
configcmd
Package configcmd provides lango config get/set/keys subcommands.
Package configcmd provides lango config get/set/keys subcommands.
contract
Package contract provides CLI commands for smart contract interaction.
Package contract provides CLI commands for smart contract interaction.
cron
Package cron provides CLI commands for cron job management.
Package cron provides CLI commands for cron job management.
doctor
Package doctor implements the lango doctor command.
Package doctor implements the lango doctor command.
doctor/checks
Package checks provides diagnostic check implementations for the doctor command.
Package checks provides diagnostic check implementations for the doctor command.
doctor/output
Package output provides output renderers for the doctor command.
Package output provides output renderers for the doctor command.
economy
Package economy provides CLI commands for the P2P economy layer.
Package economy provides CLI commands for the P2P economy layer.
mcp
Package mcp provides CLI commands for MCP server management.
Package mcp provides CLI commands for MCP server management.
metrics
Package metrics provides CLI commands for observability metrics.
Package metrics provides CLI commands for observability metrics.
onboard
Package onboard implements the lango onboard command — a guided 5-step wizard.
Package onboard implements the lango onboard command — a guided 5-step wizard.
p2p
Package p2p provides CLI commands for P2P network management.
Package p2p provides CLI commands for P2P network management.
payment
Package payment provides CLI commands for blockchain payment management.
Package payment provides CLI commands for blockchain payment management.
provenance
Package provenance provides CLI commands for session provenance management.
Package provenance provides CLI commands for session provenance management.
run
Package run provides CLI commands for RunLedger (Task OS) management.
Package run provides CLI commands for RunLedger (Task OS) management.
sandbox
Package sandbox provides the `lango sandbox` CLI command group for inspecting OS-level process sandbox status and running smoke tests.
Package sandbox provides the `lango sandbox` CLI command group for inspecting OS-level process sandbox status and running smoke tests.
settings
Package settings implements the lango settings command.
Package settings implements the lango settings command.
smartaccount
Package smartaccount provides CLI commands for ERC-7579 smart account management.
Package smartaccount provides CLI commands for ERC-7579 smart account management.
status
Package status implements the lango status command — a unified status dashboard.
Package status implements the lango status command — a unified status dashboard.
tui
Package tui provides shared TUI components for Lango CLI commands.
Package tui provides shared TUI components for Lango CLI commands.
tuicore
Package tuicore provides shared TUI form components for CLI commands.
Package tuicore provides shared TUI form components for CLI commands.
workflow
Package workflow provides CLI commands for workflow management.
Package workflow provides CLI commands for workflow management.
Package contract provides generic smart contract interaction for EVM chains.
Package contract provides generic smart contract interaction for EVM chains.
Package ctxkeys provides shared context keys for cross-package value propagation.
Package ctxkeys provides shared context keys for cross-package value propagation.
Package dbmigrate provides tools for converting between plaintext SQLite and SQLCipher-encrypted databases.
Package dbmigrate provides tools for converting between plaintext SQLite and SQLCipher-encrypted databases.
escrow/hub
Package hub provides typed Go clients for the Lango on-chain escrow contracts.
Package hub provides typed Go clients for the Lango on-chain escrow contracts.
Package embedding provides vector embedding generation and storage for RAG (Retrieval-Augmented Generation) capabilities.
Package embedding provides vector embedding generation and storage for RAG (Retrieval-Augmented Generation) capabilities.
ent
key
Package eventbus provides a synchronous, typed event bus for decoupling components that currently rely on scattered SetXxxCallback() wiring.
Package eventbus provides a synchronous, typed event bus for decoupling components that currently rely on scattered SetXxxCallback() wiring.
Package finance provides shared financial types and utilities for USDC operations.
Package finance provides shared financial types and utilities for USDC operations.
Package knowledge provides the primary knowledge store and multi-layer context retrieval system.
Package knowledge provides the primary knowledge store and multi-layer context retrieval system.
Package learning provides self-learning from tool execution results.
Package learning provides self-learning from tool execution results.
Package llm provides common LLM abstraction interfaces.
Package llm provides common LLM abstraction interfaces.
Package mcp provides MCP (Model Context Protocol) client integration for connecting to external MCP servers and adapting their tools.
Package mcp provides MCP (Model Context Protocol) client integration for connecting to external MCP servers and adapting their tools.
Package mdparse provides shared markdown parsing utilities.
Package mdparse provides shared markdown parsing utilities.
Package memory provides observational memory for conversations.
Package memory provides observational memory for conversations.
audit
Package audit records events to the existing AuditLog Ent schema.
Package audit records events to the existing AuditLog Ent schema.
p2p
agentpool
Package agentpool manages a pool of discovered P2P agents with health checking, weighted selection, and capability-based filtering.
Package agentpool manages a pool of discovered P2P agents with health checking, weighted selection, and capability-based filtering.
discovery
Package discovery implements gossip-based agent card propagation and peer discovery.
Package discovery implements gossip-based agent card propagation and peer discovery.
firewall
Package firewall implements the Knowledge Firewall for P2P queries.
Package firewall implements the Knowledge Firewall for P2P queries.
handshake
Package handshake implements ZK-enhanced peer authentication and session management.
Package handshake implements ZK-enhanced peer authentication and session management.
identity
Package identity provides decentralized identity (DID) derivation from wallet public keys.
Package identity provides decentralized identity (DID) derivation from wallet public keys.
ontologybridge
Package ontologybridge connects the P2P protocol handler to the ontology service.
Package ontologybridge connects the P2P protocol handler to the ontology service.
paygate
Package paygate implements a payment gate that checks tool pricing and verifies EIP-3009 payment authorizations between the firewall and tool executor in the P2P protocol.
Package paygate implements a payment gate that checks tool pricing and verifies EIP-3009 payment authorizations between the firewall and tool executor in the P2P protocol.
protocol
Package protocol implements the A2A-over-P2P message exchange protocol.
Package protocol implements the A2A-over-P2P message exchange protocol.
reputation
Package reputation tracks peer trust scores based on exchange outcomes.
Package reputation tracks peer trust scores based on exchange outcomes.
settlement
Package settlement handles asynchronous on-chain settlement of P2P tool invocation payments.
Package settlement handles asynchronous on-chain settlement of P2P tool invocation payments.
team
Package team defines the types and coordination primitives for P2P agent teams.
Package team defines the types and coordination primitives for P2P agent teams.
zkp
Package zkp provides zero-knowledge proof generation and verification using the gnark library with support for PlonK and Groth16 proving schemes.
Package zkp provides zero-knowledge proof generation and verification using the gnark library with support for PlonK and Groth16 proving schemes.
zkp/circuits
Package circuits provides gnark circuit definitions for zero-knowledge proofs used in agent identity, attestation, and capability verification.
Package circuits provides gnark circuit definitions for zero-knowledge proofs used in agent identity, attestation, and capability verification.
Package payment implements blockchain payment services for USDC on EVM chains.
Package payment implements blockchain payment services for USDC on EVM chains.
contracts
Package contracts provides canonical USDC contract addresses and on-chain verification utilities for supported EVM chains.
Package contracts provides canonical USDC contract addresses and on-chain verification utilities for supported EVM chains.
eip3009
Package eip3009 implements EIP-3009 transferWithAuthorization typed data building and signing for USDC gasless transfers.
Package eip3009 implements EIP-3009 transferWithAuthorization typed data building and signing for USDC gasless transfers.
Package provenance implements session provenance tracking including checkpoints, session trees, and attribution for the Lango P2P layer.
Package provenance implements session provenance tracking including checkpoints, session trees, and attribution for the Lango P2P layer.
Package sandbox provides process isolation for tool execution.
Package sandbox provides process isolation for tool execution.
os
Package os provides OS-level kernel sandbox primitives for tool execution.
Package os provides OS-level kernel sandbox primitives for tool execution.
Package smartaccount provides ERC-7579 modular smart account management with session key-based controlled autonomy for blockchain agents.
Package smartaccount provides ERC-7579 modular smart account management with session key-based controlled autonomy for blockchain agents.
bindings
Package bindings provides Go ABI bindings for smart account contracts.
Package bindings provides Go ABI bindings for smart account contracts.
bundler
Package bundler provides an ERC-4337 bundler JSON-RPC client.
Package bundler provides an ERC-4337 bundler JSON-RPC client.
paymaster
Package paymaster provides ERC-4337 paymaster integration for gasless transactions.
Package paymaster provides ERC-4337 paymaster integration for gasless transactions.
paymaster/permit
Package permit implements EIP-2612 permit signing for USDC paymaster interactions.
Package permit implements EIP-2612 permit signing for USDC paymaster interactions.
Package streamx provides generic stream combinator primitives built on Go iterators.
Package streamx provides generic stream combinator primitives built on Go iterators.
Package testutil provides shared test utilities, helpers, and mock implementations used across the Lango test suite.
Package testutil provides shared test utilities, helpers, and mock implementations used across the Lango test suite.
tools
payment
Package payment provides agent tools for blockchain payment operations.
Package payment provides agent tools for blockchain payment operations.
webfetch
Package webfetch provides an HTTP fetch tool with content extraction for agent use.
Package webfetch provides an HTTP fetch tool with content extraction for agent use.
Package wallet provides blockchain wallet management for the payment system.
Package wallet provides blockchain wallet management for the payment system.
Package x402 implements the X402 HTTP payment protocol for blockchain micropayments.
Package x402 implements the X402 HTTP payment protocol for blockchain micropayments.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL