Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 3.04 KB

NOTICE.md

File metadata and controls

54 lines (40 loc) · 3.04 KB

Attribution and Licensing

Elph workspace licenses

This repository uses a mixed license model:

Component Crates License
Application elph Apache License 2.0
Libraries elph-ai, elph-agent, elph-tui MIT License

When distributing binaries built from elph, include the Apache 2.0 license and this notice file. When using or redistributing the library crates, include the MIT license and retain upstream attributions below.


Third-party attributions

Elph is a Rust workspace for building AI agent applications. It was originally inspired by pi by Mario Zechner, licensed under the MIT License.

The original pi project is a TypeScript-based AI agent toolkit providing a unified multi-provider LLM API, agent runtime with tool calling and state management, terminal UI library with differential rendering, and an interactive coding agent CLI.

Elph re-implements these concepts in Rust with the following key differences:

  • Language: Rust (edition 2024) instead of TypeScript
  • Async runtime: Tokio instead of Node.js
  • Rendering: iocraft + crossterm instead of pi-tui
  • Serialization: Serde + JSONL instead of JSON
  • Memory store: Turso-backed vector embeddings for lifelong agent context
  • MCP: Built-in Model Context Protocol client integration
  • Subagents: Built-in sub-agent orchestration (spawn, steer, resume)
  • Lifecycle hooks: native command hooks configured through JSON

The architectural design — tool system, provider abstraction, streaming event model, session tree structure, and overall API shape — is derived from the original pi project. All original pi code is Copyright (c) 2025 Mario Zechner, used under the MIT License.

Portions of the agent workflow (exit summary, goals, subagent orchestration, tool transcript layout) are inspired by OpenAI Codex CLI. The original Codex CLI is Copyright (c) 2025 OpenAI, licensed under the Apache License 2.0.

The floppy memory module is a Rust port of the memelord SDK. The original memelord code is Copyright (c) 2026 Glauber Costa, used under the MIT License.

The Elph coding-agent system prompt (crates/coding-agent/prompts/coding_base.txt and related mode templates) adapts section conventions from Grok Build by SpaceXAI — including tagged blocks such as <action_safety>, <tool_calling>, <output_efficiency>, and <formatting> — integrated with the Pi/elph-agent SystemPromptBuilder assembly pipeline (generic base template, Pi-style <project_context>, and elph-agent tool/skills context). Grok Build is Copyright (c) 2023–2026 SpaceXAI, licensed under the Apache License 2.0.