AmritaCore
AmritaCore is a lightweight Agent runtime built on top of AmritaSense. It delivers native async streaming, tool integration, event hooks, and memory management — everything you need to build interactive, production‑ready Agent applications without the overhead of heavyweight frameworks.
🚀 Fast Lookup
import asyncio
from amrita_core import create_agent
async def main():
agent = create_agent(
base_url="https://api.openai.com/v1",
api_key="your-api-key",
model="gpt-4o-mini",
)
chat = agent.get_chatobject("Hello, how are you?")
print(await chat.full_response())
asyncio.run(main())
🔑 Key Features
- Interactive‑first design — native async streaming with suspend/resume
- Vendor‑agnostic adapter system — OpenAI, Anthropic, and extensible
- Declarative dependency injection — type‑safe, based on function signatures
- Event‑driven hooks — intercept and modify the processing pipeline
- Tool system —
@simple_tool,@on_tools, and MCP client support - Advanced memory management — automatic context window and token optimisation
📖 Documentation
Full guides, API references, and examples at core.amritabot.com.
🤝 Contributing
We welcome contributions! Please see our contribution guidelines for more information.
AIGC Content Licensing Policy
We use AACLP v1.0 for AIGC content licensing. See File for more details.
📄 License
This project is licensed under the Apache 2.0 License — see the LICENSE file for details. All versions of AmritaCore are released under Apache 2.0.
Other files
- CONTRIBUTING.md — Contribution guidelines
- CODE_OF_CONDUCT.md — Code of conduct
- ZH-CN.md — 简体中文
- EN-US.md — English (US)
Release files for amrita_core 0.13.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| amrita_core-0.13.0.tar.gz | 168.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| amrita_core-0.13.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 310.9 kB
Release files / amrita_core-0.13.0.tar.gz
| Download URL | amrita_core-0.13.0.tar.gz |
|---|---|
| Size | 168.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa92165f06b40ea1e7f8bbf0ad4f4af90a208f00f4db8531fb13bc6ae1cc9054
|
|
BLAKE2b-256 checksum How to use checksums |
b84839a4614655c69c2f153d9b7cdc98f16cfe50789732bf164adebf251f3fb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / amrita_core-0.13.0-py3-none-any.whl
| Download URL | amrita_core-0.13.0-py3-none-any.whl |
|---|---|
| Size | 142.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f65eacb0b2476b225c979d8a0241de5045fba2e0704bdbed73d43232080958a0
|
|
BLAKE2b-256 checksum How to use checksums |
e46f982d4038df83cb9aebdb52f9e85a4c1bfb53262aafd1e77c34f41e261e3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|