internal/

directory
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: MIT

Directories

Path Synopsis
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).
channels
cli
a2a
bg
Package bg provides CLI commands for background task management.
Package bg provides CLI commands for background task management.
cliboot
Package cliboot provides common bootstrap loaders for CLI subcommands.
Package cliboot provides common bootstrap loaders for CLI subcommands.
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.
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.
economy
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 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.
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.
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 sandbox provides process isolation for tool execution.
Package sandbox provides process isolation 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 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.
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