Generic research agent with intrinsic tools and MCP-compatible extension interface
Project description
related_files:
- docs/readmes/README.zh.md
- docs/readmes/README.wen.md
- CONTRIBUTING.md
- SECURITY.md
- SUPPORT.md
- docs/references/acknowledgements.md
- dev-guide-skill/SKILL.md
- ANATOMY.md
- CONTRACT.md
- src/lingtai/kernel/ANATOMY.md
- src/lingtai/ANATOMY.md
- src/lingtai/tools/ANATOMY.md
- src/lingtai/mcp_servers/ANATOMY.md
- docs/references/claude-code-guide.md maintenance: | Tracks the public repo overview and architecture entry-point table; must stay synced with docs/readmes/ translations and with the linked entry-point files whenever the repository's structure or onboarding steps change.
This repository is the engine underneath the product, not the product itself.
Looking for LingTai the product? The Lingtai-AI/lingtai
repository is the source of truth for the Digital Scientist — the lifelong, self-growing
agent — including the guided installer, the TUI/Portal, and everyday workflows. Normal
users should start there and let the installer manage this runtime for them. This
repository is for developers who build on or contribute to the kernel; do not treat a
bare pip install here as the normal installation path.
What this repository owns
- The agent runtime — the core turn loop, lifecycle, tool dispatch, mailbox, soul (inner voice), molt, and notification machinery that make an agent run.
- Two Python surfaces —
lingtai.kernel, the minimal runtime (BaseAgent, intrinsics, the LLM protocol, mail, and logging), andlingtai, the batteries-included runtime, CLI, and services that buildAgent(BaseAgent)on top of it and re-export the kernel's public API. - The batteries — the bundled built-in tools, the LLM adapters, the curated MCP server implementations, the packaging (Python distribution plus the bundled Rust search sidecar). These are ownership boundaries, not a feature list.
Developer quick start
For kernel development — not the normal LingTai user installation path. Requires
Python >= 3.11; use a local .venv.
git clone https://github.com/Lingtai-AI/lingtai-kernel.git
cd lingtai-kernel
uv venv --python 3.11
uv pip install -e . pytest
.venv/bin/python -m pytest
Architecture / developer entry points
Before changing anything, a coding agent first finds and reads this repository’s local dev guide skill; it owns the workflow and routes each task onward through the linked entry points below without duplicating the Anatomy or Contract systems.
| Entry point | What it covers |
|---|---|
dev-guide-skill/SKILL.md |
The mandatory repository-local dev guide skill: the development workflow a coding agent must follow before editing. |
ANATOMY.md |
Repository structure/composition map — where each subsystem's anatomy begins and how it reaches its behavioral Contract. |
CONTRACT.md |
Normative interface/behavior promises plus the governed-component pairing/ownership rule, linked back to Anatomy structure. |
src/lingtai/kernel/ANATOMY.md |
The core runtime: BaseAgent, turn/lifecycle, tool machinery, mail, LLM protocol. |
src/lingtai/ANATOMY.md |
The lingtai package: Agent(BaseAgent), capabilities, presets, CLI, public re-exports. |
src/lingtai/tools/ANATOMY.md |
The concrete built-in tools and the registry that composes them. |
src/lingtai/mcp_servers/ANATOMY.md |
The bundled MCP server implementations. |
CONTRIBUTING.md |
Contribution workflow and repository navigation. |
docs/references/claude-code-guide.md |
The full repository guide — test commands, architecture notes, and conventions. |
Security · Support · Acknowledgements
For responsible disclosure, read SECURITY.md; for help, read SUPPORT.md; for credits, read 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
Built Distributions
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.17.1.tar.gz.
File metadata
- Download URL: lingtai-0.17.1.tar.gz
- Upload date:
- Size: 2.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
620f1c7b709f506bec7924f28aeee5de66ad6e9833d09ec7ad0d9ca4a8e6631e
|
|
| MD5 |
d7c56acc23e5b76e40419de8c3c8ce06
|
|
| BLAKE2b-256 |
7f9eef8a41b56d29d1c3c9d943669092fd785aa1940a20af5cc208ea17cfcb87
|
File details
Details for the file lingtai-0.17.1-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: lingtai-0.17.1-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 3.0 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ac65240448c1aca78d586d9e86cf6bd558cd4c672ce518f434d6a9f6867f871
|
|
| MD5 |
5e79267f70f8dc0a3354646480ad3558
|
|
| BLAKE2b-256 |
c3414b9b0f7fdc477a60a4b146210935295da587b646f07013b3ee30a2335817
|
File details
Details for the file lingtai-0.17.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: lingtai-0.17.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fe96b73281baff3413d79dca12feba12425d011ccdd20c1bd521c4569ace7e5
|
|
| MD5 |
27b0ee60f933e0b69df4a32d447503bb
|
|
| BLAKE2b-256 |
2090587d4f9f8b9aba808018aaf896c23a3b1412024cc09306880f102c76c88f
|
File details
Details for the file lingtai-0.17.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: lingtai-0.17.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82da88692310c357708f417f2487f8c94fcfed256855b5ffefa49b9d42669e40
|
|
| MD5 |
d3dd9d5ae797014d820eef04e24507e2
|
|
| BLAKE2b-256 |
bcd8a984c6048c38934b2652728328ae7c3f2148f976f9f1415b4aa6049c2b99
|
File details
Details for the file lingtai-0.17.1-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: lingtai-0.17.1-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.0 MB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d30cd6ea96eb96436ea3e7210bb6ab204d18c8b9c7832f06304fe6bd0004fc4
|
|
| MD5 |
e6527f0f701bb63e94235e2ae565df2a
|
|
| BLAKE2b-256 |
f0881f96b159db3b257fddf7f1ce5d28c85ac4432091b7dfcb9a7f6661eaf02f
|
File details
Details for the file lingtai-0.17.1-cp313-cp313-macosx_10_13_x86_64.whl.
File metadata
- Download URL: lingtai-0.17.1-cp313-cp313-macosx_10_13_x86_64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.13, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf05261c9675b0e05ef9f62913509e58ef624220bfa45bd11f4ca3e7331e58a3
|
|
| MD5 |
9a8d42b2898390fa46c322b305ee3431
|
|
| BLAKE2b-256 |
164c88da776416599e9647587c24869e50726a718bbdd05a46a7dd2c9b0c471f
|
File details
Details for the file lingtai-0.17.1-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: lingtai-0.17.1-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 3.0 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca208c7c855a8fb66e882a667a45e24eb0f3d8a6560b3f3d72ce0fa63156f91e
|
|
| MD5 |
ba8d4a7a897a997ae6bc3085ea2401cc
|
|
| BLAKE2b-256 |
d37865cbbb8b4a9999cff0c18bd4289edb1c6197071ef1551b7e5425adbe5d1e
|
File details
Details for the file lingtai-0.17.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: lingtai-0.17.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
584483eb82752f310b582b6323ce331e9d8b3040ab2401788e94671225dc1ccf
|
|
| MD5 |
fb82aeae7dbbc57d5d6504480f43e018
|
|
| BLAKE2b-256 |
74a14db23ca53cf0585666fad3f90532b4a95a8d84197b9e589e8037fb80e731
|
File details
Details for the file lingtai-0.17.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: lingtai-0.17.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aff0879183e727d3d8bbd22e6ed77fa92cb224786732c0c8a440d8cc167522e9
|
|
| MD5 |
03ea05f625a937e8c09710f4dc5a4949
|
|
| BLAKE2b-256 |
8d893aaf7f066814d307832f3d46653cf1edfc9f7993051029c77ed8ca5929ed
|
File details
Details for the file lingtai-0.17.1-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: lingtai-0.17.1-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.0 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a222cbb915af233627fcea9fba1b7dbe916316b87e8b41696345f4667fadf066
|
|
| MD5 |
a338acd95d537508fff3864ddae3ed6f
|
|
| BLAKE2b-256 |
7b0b1218b135964e3e4692bbad9b4ce763a21b91625c3f33a8e74d025dd18929
|
File details
Details for the file lingtai-0.17.1-cp312-cp312-macosx_10_13_x86_64.whl.
File metadata
- Download URL: lingtai-0.17.1-cp312-cp312-macosx_10_13_x86_64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.12, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66190bb2d89100768abb2b89a6eb726595db481d8b152acba078b915463f3a91
|
|
| MD5 |
2a4bcaf8c29dd2b07491f010502a912e
|
|
| BLAKE2b-256 |
8eabb11c81580df4a3294723764b1aeae0757cec41142abea0fd5c9d90f60753
|
File details
Details for the file lingtai-0.17.1-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: lingtai-0.17.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 3.0 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c083cce25c05cf250087671c1e8dddb97abc37ce6abbb590f3cafc4edb155ecd
|
|
| MD5 |
bcaa6fa39c9c9b4b5bf4659a1c856e0b
|
|
| BLAKE2b-256 |
f23db1d2a9051b9cc7f7dffcfc9e1569499edc66f7d44836dff73bfc57b3ca60
|
File details
Details for the file lingtai-0.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: lingtai-0.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
181fadfe08915e1cde389910932d3df7d29ed8e849338e97ac77ae66cd05942d
|
|
| MD5 |
0626c3a1afca6077c621548131b83fc3
|
|
| BLAKE2b-256 |
7b017c2d4d09a0f632cea65b9c9270b12b146314be6bae02bf51539715a64dc4
|
File details
Details for the file lingtai-0.17.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: lingtai-0.17.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7be6709054c2b8ae156896a759cf2a29c45d4c28ccae70d6a52ba39473f9e3a0
|
|
| MD5 |
85cbf7e8003fe8fc18d3405f2ad6ec5b
|
|
| BLAKE2b-256 |
8289e44a43769d86fdcb39d22a177e6b01dba312d4830b6eb413c35992442843
|
File details
Details for the file lingtai-0.17.1-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: lingtai-0.17.1-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.0 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41be5860b0d8cabbea8d78cb586c7d816d90bc77ca7bf5f8be9ff2457b3c0062
|
|
| MD5 |
c6b37f30f166caa56a64cdf6d8119ced
|
|
| BLAKE2b-256 |
943bcf16abb007129db14c6cb94821efbc136e25b9ff7bcfa80fa6d7ada5b926
|
File details
Details for the file lingtai-0.17.1-cp311-cp311-macosx_10_12_x86_64.whl.
File metadata
- Download URL: lingtai-0.17.1-cp311-cp311-macosx_10_12_x86_64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.11, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea3875bdb2e62233638ee0916bf7dab462ce106e4baa1cca4bc16ef15e76a069
|
|
| MD5 |
4b4c7e510cf5be2f9521c07785045afd
|
|
| BLAKE2b-256 |
57017644400deb24cf2c6458edd7523cb77f144abbf5fc2ec632b3aafcaee0b1
|