Skip to main content

Generic research agent with intrinsic tools and MCP-compatible extension interface

Project description

Agent network growing — one soul spawning avatars that communicate and multiply

灵台 LingTai

Agent Genesis — an Agent OS that gifts life

灵台,心也。 Lingtai means soul.

灵台者有持,而不知其所持,而不可持者也。 The soul holds something, yet knows not what it holds — and what it holds cannot be held. — Zhuangzi · Gengsang Chu (庄子 · 庚桑楚)

PyPI License Blog

lingtai.ai · 简体中文 · 文言 · Contributing · Security · Support


This is the Python runtime and CLI for LingTai.

For the full experience with guided setup, use the TUI instead — brew install lingtai-ai/lingtai/lingtai-tui

Install

pip install lingtai

CLI

The lingtai-agent command is the agent runtime — it boots and runs individual agents.

# Boot an agent from its working directory
lingtai-agent run /path/to/agent/

# Check available capability providers
lingtai-agent check-caps

Agents are typically managed by the TUI, which handles initialization, lifecycle, and monitoring. The CLI is for scripting, custom agents, and programmatic use.

Architecture

This repo contains both packages. The dependency is strictly one-directional:

Package Role
lingtai_kernel (import lingtai_kernel) Minimal runtime — BaseAgent, intrinsics, LLM protocol, mail, logging. Zero hard dependencies.
lingtai (import lingtai) Batteries-included — Agent with 19 capabilities, 5 LLM adapters, MCP integration, addons. Re-exports the kernel's public API.
BaseAgent              — kernel (intrinsics, sealed tool surface)
    │
Agent(BaseAgent)       — kernel + capabilities + domain tools
    │
CustomAgent(Agent)     — your domain logic

Capabilities

PerceptionActionCognitionNetwork

vision — image understanding listen — speech & music web_search — web search web_read — page extraction

file — read/write/edit/glob/grep bash — shell with guardrails talk — text-to-speech compose — music generation draw — image generation video — video generation

psyche — evolving identity knowledge — private durable knowledge skills — skill catalog email — full mailbox system

avatar — spawn sub-agents (分身) daemon — parallel workers (神識)

LLM Support

Anthropic, OpenAI, Gemini, MiniMax, or any OpenAI-compatible API (DeepSeek, Grok, Qwen, GLM, Kimi).

Agent = directory

/agents/wukong/
  .agent.lock               ← exclusive lock (one process per directory)
  .agent.heartbeat          ← liveness proof
  .agent.json               ← manifest
  system/
    covenant.md             ← protected instructions (survive molts)
    pad.md                  ← working notes
  mailbox/
    inbox/                  ← received messages
    outbox/                 ← pending sends
    sent/                   ← delivery audit trail
  logs/
    events.jsonl            ← structured event log

No agent_id. The path is the identity. Agents find each other by path, communicate by writing to each other's mailbox/inbox/.

Learn more

Read the full manifesto at lingtai.ai.

Contributing

See CONTRIBUTING.md for the contribution workflow and repository navigation entry points. For responsible disclosure, read SECURITY.md; for help, read SUPPORT.md.

Acknowledgements

See docs/references/acknowledgements.md.

License

Apache-2.0 — Zesen Huang, 2025–2026

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lingtai-0.16.2.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lingtai-0.16.2-cp312-cp312-macosx_11_0_arm64.whl (2.5 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file lingtai-0.16.2.tar.gz.

File metadata

  • Download URL: lingtai-0.16.2.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for lingtai-0.16.2.tar.gz
Algorithm Hash digest
SHA256 dc9ee90e7fd947f835aac693e940224b637a50e25a6be4a8633d0e415d16cb34
MD5 175581ca2bd28ff108fe8483e1fd18cd
BLAKE2b-256 8516ff79b71e2d8022094b02bbd5970954b68472a71b334323fbc5da6276b6d2

See more details on using hashes here.

File details

Details for the file lingtai-0.16.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lingtai-0.16.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c650935ecbc018b381759af7fbbec38068bf64d7e305442298fcb5da3750f7b2
MD5 698839797b4eb1408fc1f3a789f857a1
BLAKE2b-256 8cd9142fa5247992b2a7893781d88993579579aefd025c77838a7f5c7d96b506

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page