Generic research agent with intrinsic tools and MCP-compatible extension interface
Project description
灵台 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 (庄子 · 庚桑楚)
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
| Perception | Action | Cognition | Network |
|---|---|---|---|
|
|
|
|
|
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.
Acknowledgements
See ACKNOWLEDGEMENTS.md.
License
MIT — Zesen Huang, 2025–2026
lingtai.ai · GitHub · TUI
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lingtai-0.9.7.tar.gz.
File metadata
- Download URL: lingtai-0.9.7.tar.gz
- Upload date:
- Size: 640.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d77dc7ec0bab67cfdf5e8b48eee927c100f071f7c5372205e0f7bf5c789cd16e
|
|
| MD5 |
a25357f036cbf8b2bcaeeed966fea6e3
|
|
| BLAKE2b-256 |
5d21c2b9dadd1f0df2ed36d0e41d58244fb8c1272e1148984298d4948d989cc3
|
File details
Details for the file lingtai-0.9.7-py3-none-any.whl.
File metadata
- Download URL: lingtai-0.9.7-py3-none-any.whl
- Upload date:
- Size: 474.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3eb9df6bc7977f19de55dd3d003e39afee5fcee95674982690599f9637c3d818
|
|
| MD5 |
c0ec7dd700fca4c39ce114b244e47861
|
|
| BLAKE2b-256 |
d49a0d07ad949e49ecaa6377c2bc1d8a81262f3ab2a6971ece529ac8bb015007
|