High performance, flexible, lightweight agent framework.
Project description
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.
📄 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)
Unstable Features
Python 3.14+ Supporting: we are not sure if it will work well on Python 3.14+(No GIL Version).
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 amrita_core-0.10.0.dev2.tar.gz.
File metadata
- Download URL: amrita_core-0.10.0.dev2.tar.gz
- Upload date:
- Size: 118.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c42f0d579ed28fe47eabfc055b2f56eb1f3e55e15e08f99671ea2f7d53faa061
|
|
| MD5 |
2ed2a715dcaba376986a7112fe93137c
|
|
| BLAKE2b-256 |
e065828f328a67f709b63bf0dbeeebeb5a9069c6a7459ca4743092e2b7ecde72
|
File details
Details for the file amrita_core-0.10.0.dev2-py3-none-any.whl.
File metadata
- Download URL: amrita_core-0.10.0.dev2-py3-none-any.whl
- Upload date:
- Size: 99.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3aaeede047c16363d846e74caa73083cb9db1617a3cce96e22746c1a2493bf72
|
|
| MD5 |
1f4483318d2101f5fc692399e9ae1e8b
|
|
| BLAKE2b-256 |
f8318022b87a1c97231fda525eb6017efc62d39d00ff297952d94e2ea4166635
|