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.3.tar.gz (1.9 MB view details)

Uploaded Source

Built Distributions

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

lingtai-0.16.3-cp313-cp313-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.13Windows x86-64

lingtai-0.16.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

lingtai-0.16.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

lingtai-0.16.3-cp313-cp313-macosx_11_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

lingtai-0.16.3-cp313-cp313-macosx_10_13_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

lingtai-0.16.3-cp312-cp312-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.12Windows x86-64

lingtai-0.16.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

lingtai-0.16.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

lingtai-0.16.3-cp312-cp312-macosx_11_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

lingtai-0.16.3-cp312-cp312-macosx_10_13_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

lingtai-0.16.3-cp311-cp311-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.11Windows x86-64

lingtai-0.16.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

lingtai-0.16.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

lingtai-0.16.3-cp311-cp311-macosx_11_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

lingtai-0.16.3-cp311-cp311-macosx_10_12_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: lingtai-0.16.3.tar.gz
  • Upload date:
  • Size: 1.9 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.3.tar.gz
Algorithm Hash digest
SHA256 5496c9d5c91dc26e4462808e9d8613b0f06c605c23b9ac909790a98148e0da52
MD5 b15022eecacd86f85edf14a63f6205b3
BLAKE2b-256 06940c186d7680864359a39d51b2b71819e12276c3a768d71a2961f8b23149a0

See more details on using hashes here.

File details

Details for the file lingtai-0.16.3-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: lingtai-0.16.3-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for lingtai-0.16.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7f6d4df3bc60ad996dd77f82914c9cba050eb5948ccc1083de6723622ac9ce80
MD5 6ee593a5628312e3696b4364f1d94441
BLAKE2b-256 0c17379026b4abde040dfbb13b0fd8baffc3f59ea4c691326fb287676d8f4023

See more details on using hashes here.

File details

Details for the file lingtai-0.16.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lingtai-0.16.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d2f468fcb6a26a1ab1684d0d63db708725605129e6fbe8a0881a11adcd2d5dcc
MD5 48d4fb817124ddc4a6204e694656c676
BLAKE2b-256 8087a81cba85a46a1bdff7ed0bf36a091cc3dc9744ac1f0572469485b60796be

See more details on using hashes here.

File details

Details for the file lingtai-0.16.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for lingtai-0.16.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4823ad86e30b54afcce2087c3da63bcb0b4636c94e288d6d9963bc77f67c4db6
MD5 d7427eab00a89f0533e0947c37e7361e
BLAKE2b-256 2ea41e78a3eef12751b0d20a64fab17f50e4fa88628fdafc6a904029e52d6285

See more details on using hashes here.

File details

Details for the file lingtai-0.16.3-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lingtai-0.16.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4d7d33b1906a7bde75cd12e02d85c1b60d3dc21d984ec267b2fc1cf43aff7d69
MD5 c678b1468ae14c88427ad9f3faf9ac7b
BLAKE2b-256 68a080b8b20b11de312bb49f3daf81bfa525274d8e56b83c9cccbf2172f53c20

See more details on using hashes here.

File details

Details for the file lingtai-0.16.3-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for lingtai-0.16.3-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 96ed4bbab2daf2189e211aa9e265c9a9c672e26f9fefa5d93ae1824f0b688da4
MD5 31ecf5b6e370603ee27000829be2f30d
BLAKE2b-256 12674806b70cd0371a737094f7bc9cecc22faca72aed059906c98f79ee8abf97

See more details on using hashes here.

File details

Details for the file lingtai-0.16.3-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: lingtai-0.16.3-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for lingtai-0.16.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0e19bd604e3f8c6c5375b8b51f4a6821e296117ce1ad54aa97bc6904162bd3fe
MD5 ff67ca746c439cc626b28905323b4705
BLAKE2b-256 9069ad32f9928babadf3c39f29bc6ca63260d6d7d83e50fd52623029b4371d71

See more details on using hashes here.

File details

Details for the file lingtai-0.16.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lingtai-0.16.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4eaf3e13a32ceed9ae2035cfa50cdd8189581562efcb5afa175cd5f59859d157
MD5 ee8336b8a5b70167553f24b52f3b4ed7
BLAKE2b-256 f165c46d2d4a54e3090a2ed6ecc1d5adc7fc9b58681e914f0fc1dd2399f38564

See more details on using hashes here.

File details

Details for the file lingtai-0.16.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for lingtai-0.16.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4504597c149ee0bf8bee9fd60d7e306b9a89f4ea54f8e246e0c095905d0a013f
MD5 3efc9a9e2c7303487158c855bbb857f6
BLAKE2b-256 5ba454713cff128e6d49c6391c8756d89034f7a7050199c769844761e2e5b7a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lingtai-0.16.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bccba146853d410a77ef19dbd9f4211d4827ca22ca9a50a87b439616f6e2ffe7
MD5 ff1db8f18ec7b3c3f2bcc0e0d568a1f8
BLAKE2b-256 99a596d0465874932511c41d9f47be2382b6808e9556da2dd276f8b3ccdca528

See more details on using hashes here.

File details

Details for the file lingtai-0.16.3-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for lingtai-0.16.3-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 03022f57792af2ede48581b266f38a3d93db02d177463b916a4e636505fa436f
MD5 9356d2a131d4be20b807696cfc09cbd4
BLAKE2b-256 1acf919ce990528bde06e35611ee1d650110aeedb80053d344643354ef99d703

See more details on using hashes here.

File details

Details for the file lingtai-0.16.3-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: lingtai-0.16.3-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for lingtai-0.16.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 60c2bd2d721c89cfd22907ef6d310b1e69e4ccdda2c4aa21fb7020b46f6abb03
MD5 04d5a11487ad649f5f76764a5819cbf8
BLAKE2b-256 950251514d463bfc6aaf3a87a3ce0773299bc91aa384dfa12d7431fad8cfd4e1

See more details on using hashes here.

File details

Details for the file lingtai-0.16.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lingtai-0.16.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2766720d0abc51c0113ce5934e790b3e8f50c7d81f4103433db9e64dd72eccc8
MD5 ef1426c0b56abd80d4142fd15206fe7d
BLAKE2b-256 9077995d427081fc33a9d7e415c29c77c9c7ad7680fdeab26e98e1b2c3337f80

See more details on using hashes here.

File details

Details for the file lingtai-0.16.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for lingtai-0.16.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8ff5e4059292edb4527de1be3c077540b599aba4db79753c46c6e53aba87c961
MD5 825a6d5dfb61b9c770655707d536487e
BLAKE2b-256 010cb4b0f28e573ff688b5f1983fc6cc12e5f952f9fd6561225d8315039c7a2a

See more details on using hashes here.

File details

Details for the file lingtai-0.16.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lingtai-0.16.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 71d13473939204e30f8ec4d57ecbe060bec8f544adfad13e39f14f904be23e5c
MD5 c6c85cf0c60c4cb8baa82a806c974376
BLAKE2b-256 416ab7dd655a49f7e976a63e3e44c409f6ee46cc5457eeefee12050a71600e60

See more details on using hashes here.

File details

Details for the file lingtai-0.16.3-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for lingtai-0.16.3-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 62867dede0a57d2492f2737c4495dadba4356d39a303542e0c8e4bce3aa785ae
MD5 806eed678f44b994eacaf2735f939225
BLAKE2b-256 3dce6a8315c121085f6e973241299071466175d6ac313d77c0c6751aa794731e

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