agentic-sdk
⚠️ Pre-release placeholder. This package reserves the name — the real thing is coming soon.
Python bindings for the Agentic C++ SDK — a unified library for orchestrating AI coding agents and direct LLM APIs.
What it is
Agentic is a C++ SDK (with Python bindings via this package) that treats coding agents and LLM conversations as first-class sessions with a shared event model:
- Unified session API — the same
prompt/ event-stream interface whether you're talking to an LLM directly or driving a CLI coding agent like Claude Code, Gemini CLI, or Codex. - Structured event database — every tool call, reasoning step, and response is captured in a queryable local database. Slice by session, tool, time, or full-text search.
- Pythonic tool definitions — define tools as decorated functions with Pydantic models. The LLM gets the schema, you get the type safety.
- Async event streams — subscribe to events as they happen, across sessions, across processes.
- Forking — branch a session at any point to explore alternate paths without losing the original context.
- Extensible — providers for new coding agents or LLMs load as dynamic libraries.
Status
Not yet functional. The C++ SDK is under active development and the Python bindings will land shortly after it stabilizes.
If you're curious about the design, the full interface design document lives in the main repo.
Coming soon
import agentic
from agentic.tools import tool
from pydantic import BaseModel
class WeatherArgs(BaseModel):
city: str
@tool(description="Get the weather for a city")
def weather(args: WeatherArgs) -> dict:
return {"temp": 72, "conditions": "sunny"}
ctx = agentic.Context()
with ctx.llm_session(model="anthropic/claude-sonnet-4", tools=[weather]) as session:
async for event in session.prompt("What's the weather in Portland?"):
print(f"{event.event_type}: {event.content}")
License
0BSD — BSD Zero Clause. Do whatever you want.
Release files for agentic-sdk 0.0.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 | |
|---|---|---|---|
| agentic_sdk-0.0.1.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agentic_sdk-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / agentic_sdk-0.0.1.tar.gz
| Download URL | agentic_sdk-0.0.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85a8575836d3e38e881c93da9252d9195e9843aa2d1046c133111bd1f5621a4a
|
|
BLAKE2b-256 checksum How to use checksums |
712cc54f24001e8b0a38fc9bf3af662c12d8a90e5b8f51c8e469ef31f682a52d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / agentic_sdk-0.0.1-py3-none-any.whl
| Download URL | agentic_sdk-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3a5506f51df44de13b899fc1ff0196a1a54252fb5560e021690cf908962dd0f
|
|
BLAKE2b-256 checksum How to use checksums |
84e5735f1776c0bce923449be7099c6ac16821f9ed41315faf47ee67dbdfa01a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|