Skip to main content

AmritaCore

Logo

PyPI Version Python Version License AmritaCore Discord QQ Group

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

Release files for amrita_core 0.13.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for amrita_core 0.13.7
File Size Uploaded
amrita_core-0.13.7.tar.gz 185.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for amrita_core 0.13.7
File Interpreter ABI Platform
amrita_core-0.13.7-py3-none-any.whl Python 3 none any Details

Total release size: 336.4 kB

Release files / amrita_core-0.13.7.tar.gz

Download URL amrita_core-0.13.7.tar.gz
Size 185.0 kB
Tags Source
SHA-256 checksum
How to use checksums
41085d20b92e7fe4b4e5499e44cca1558daa63f67c6600cbeef044f56729ceeb
BLAKE2b-256 checksum
How to use checksums
6c9361affe6161125ca9615a441a1ab16ac53744f77bbb2aa2d5f6ffd40ebbd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.7-py3-none-any.whl

Download URL amrita_core-0.13.7-py3-none-any.whl
Size 151.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a08c21859f89dffa9be0aca93969e55d2297f584077766f5b9023e3cf6236ff
BLAKE2b-256 checksum
How to use checksums
dc00ea3b5d436c51ad3781969ea6cbf0cca52112a39614a656f58a14a1ae1d1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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 history Release notifications | RSS feed

0.13.9

2 release files

0.13.8

2 release files

This release

0.13.7 This release

2 release files

0.13.6

2 release files

0.13.5

2 release files

0.13.4

2 release files

0.13.2

2 release files

0.12.7

2 release files

0.12.6

2 release files

0.12.5

2 release files

0.12.4

2 release files

0.12.3

2 release files

0.12.2

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page