Experia AI
The open-source experience learning layer for AI agents.
Experia enables agents to learn from past actions, failures, and outcomes. It provides experience capture, lesson extraction, behavioral improvement, and long-term cognitive memory without replacing existing agent frameworks.
Vision
Current AI agents start from zero on every interaction. Experia adds an experience learning loop around agents. It allows agents to remember what happened, understand why it worked or failed, and improve future decisions.
Observation → Action → Result → Experience → Lesson → Memory → Better Future Action
flowchart TD
subgraph Agent Application
Agent[AI Agent / LLM]
Task[Execute Task]
Agent -- Takes Action --> Task
end
subgraph Experia AI Cognitive Layer [Experia Async Cognitive Layer]
Store[(MemoryStore Protocol)]
Eval[Evaluator Protocol]
Ctx[Context Builder]
Task -- 1. await record() --> Store
Store -- 2. Analyze Experience --> Eval
Eval -- 3. Extract Lesson --> Store
Store -- 4. await retrieve_context() --> Ctx
end
Ctx -- 5. Inject Knowledge --> Agent
Integrations
Experia acts as a cognitive plugin. It does not replace your agent frameworks (like LangChain, AutoGen, CrewAI), it enhances them by managing long-term memory, learned experiences, user knowledge, and behavioral patterns.
Getting Started
Experia uses an asynchronous and pluggable architecture.
pip install experia
import asyncio
from experia.core.learner import Learner
from experia.memory.store import SQLiteStore
from experia.experience.evaluator import SimpleHeuristicEvaluator
async def main():
# 1. Dependency Injection setup
store = SQLiteStore("my_agent.db")
await store.initialize()
evaluator = SimpleHeuristicEvaluator()
# 2. Initialize Learner
agent = Learner(store=store, evaluator=evaluator)
# 3. Use the async API to record actions
await agent.record(
task="Deploy web app",
action="Restart Nginx",
result="failed with config syntax error",
)
# 4. Retrieve memory context for your LLM
context = await agent.retrieve_context()
print(context)
if __name__ == "__main__":
asyncio.run(main())
License
This project is licensed under the MIT License. See the LICENSE file for details.
Metadata
Release files for experia 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| experia-0.2.1.tar.gz | 14.9 kB | With provenance | Details for experia-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| experia-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for experia-0.2.1-py3-none-any.whl |
Total release size: 31.1 kB
Release files / experia-0.2.1.tar.gz
| Download URL | experia-0.2.1.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
170977a02b0bd028d79a210a35f0b64e80cd777df9562da9a57b348a383578aa
|
|
BLAKE2b-256 checksum How to use checksums |
73124c215ebf9d0faae501b0bf377a9f19f803191da81c2218444ebe19d5ed46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.
Transparency logRelease files / experia-0.2.1-py3-none-any.whl
| Download URL | experia-0.2.1-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0786381f2483b48648779e05b4ad78e70cdf0d137b62250fea6b0dab0e3adcd
|
|
BLAKE2b-256 checksum How to use checksums |
4160361e40d627225a783471a99f4275e99df2ce85a6c69e8f951d4f3a9d643e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.
Transparency logSecurity for experia 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for experia-0.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.