Skip to main content

Production-grade Python library for building scalable agentic AI systems with MCP and A2A integration

Project description

AgentiCore — Python Agentic Library


What Is AgentiCore?

AgentiCore is a production-grade, open-source Python library for building scalable agentic AI systems. It provides:

  • A composable core framework — build any agent type without being forced into a specific pattern
  • Built-in reasoning strategies — ReAct, Plan-Execute, Reflection, Tree-of-Thought, and custom
  • Tiered memory system — working, episodic, semantic (RAG), and procedural memory
  • Type-safe tool system — define, validate, and compose tools with full schema enforcement
  • Multi-agent orchestration — supervisor, pipeline, fan-out, debate, swarm patterns
  • Built-in Web UI — visual agent builder, tool creator, real-time run viewer, trace inspector
  • Plugin ecosystem — extend anything without forking the library
  • First-class observability — structured tracing, cost tracking, step logging out of the box

Design Philosophy

1. Explicit Over Magic

No hidden auto-wiring. Every component is explicitly configured. If an agent calls a tool, you see exactly where and why.

2. Composable, Not Opinionated

The core module is pure Python with zero mandatory dependencies. LangGraph, Qdrant, OpenAI — all are optional integrations, not requirements.

3. Schema-First

Every interface (tool inputs/outputs, agent state, memory schema, API payloads) is defined with strict types before implementation. Prevents entire classes of bugs.

4. Production-Ready From Day One

Retries, timeouts, cost budgets, circuit breakers, human-in-the-loop, and audit logging are built-in — not afterthoughts.

5. Observable By Default

Every agent step, tool call, LLM invocation, and memory operation emits structured events. You never wonder "what is the agent doing right now?"

6. Developer Experience First

The Web UI exists so that non-engineers can configure, run, and monitor agents without writing code. But engineers get full programmatic control of everything the UI does.


Library Name & Namespace

Package name:  hembramagenticcore
Import as:     import hembramagenticcore as ag
PyPI slug:     hembramagenticcore
CLI command:   hembramagenticcore

Core Value Propositions

Other Libraries AgentiCore
Lock you into one reasoning pattern Support all patterns, switchable at runtime
Memory is bolted on Memory is a first-class design concern
No Web UI — code only Full Web UI with visual builder
Framework-heavy (forces LangChain/LangGraph) Framework-agnostic core, optional integrations
Hard to extend tools Plugin system + decorator-based tool registration
Poor observability Structured tracing, cost tracking, step logging built-in
No multi-language vision Python first, then Rust/C++/JS with shared protocols

Quick Concept Demo (Target API)

import hembramagenticcore as ag

# 1. Define a tool with a decorator
@ag.tool(description="Search the web for current information")
def search_web(query: str, max_results: int = 5) -> list[ag.SearchResult]:
    ...

# 2. Build an agent
agent = (
    ag.AgentBuilder()
    .name("ResearchAgent")
    .llm(ag.LLM.GPT4O)
    .reasoning(ag.ReAct)
    .tools([search_web, ag.tools.CodeExecutor()])
    .memory(ag.memory.Qdrant(url="localhost:6333"))
    .max_steps(20)
    .build()
)

# 3. Run it
result = agent.run("Summarize key AI releases from Q1 2026")
print(result.output)
print(result.trace)   # Full step-by-step trace
print(result.cost)    # Token cost in USD

# 4. Or launch the Web UI
ag.serve(agents=[agent], port=8080)

License & Contributing

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hembramagenticcore-1.1.2.tar.gz (105.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hembramagenticcore-1.1.2-py3-none-any.whl (132.4 kB view details)

Uploaded Python 3

File details

Details for the file hembramagenticcore-1.1.2.tar.gz.

File metadata

  • Download URL: hembramagenticcore-1.1.2.tar.gz
  • Upload date:
  • Size: 105.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for hembramagenticcore-1.1.2.tar.gz
Algorithm Hash digest
SHA256 88733ab5c5c47d9100487ea65e0dfa5150a3fce9532656e8dfe7ff7b59c5f58f
MD5 a90e38333eeeff2e03b47299daf57fcd
BLAKE2b-256 7bfc16ea6eb7007eda4223b6f5396dab7b730b8d0458b6ad520f70ce0a584e51

See more details on using hashes here.

File details

Details for the file hembramagenticcore-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for hembramagenticcore-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 45560ec02415ccdd349e99f5801504a26baa7c075899f2f4f7adc4e0490dc4e8
MD5 4ad6c8260c8d9d10681e198636f310ee
BLAKE2b-256 b83a34ab03bea1f243dacecb5098dd8e154f940069500e4e62b0859d573d8be9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page