Python bindings for the Agentic C++ SDK — orchestrate coding agents and LLMs with a unified session model, event stream, and tool system.
Project description
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.
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 agentic_sdk-0.0.1.tar.gz.
File metadata
- Download URL: agentic_sdk-0.0.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85a8575836d3e38e881c93da9252d9195e9843aa2d1046c133111bd1f5621a4a
|
|
| MD5 |
fabd556e68b08aa8ffef6b334d1b8296
|
|
| BLAKE2b-256 |
712cc54f24001e8b0a38fc9bf3af662c12d8a90e5b8f51c8e469ef31f682a52d
|
File details
Details for the file agentic_sdk-0.0.1-py3-none-any.whl.
File metadata
- Download URL: agentic_sdk-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3a5506f51df44de13b899fc1ff0196a1a54252fb5560e021690cf908962dd0f
|
|
| MD5 |
64aab3b41dae3642857da1cc4de766a9
|
|
| BLAKE2b-256 |
84e5735f1776c0bce923449be7099c6ac16821f9ed41315faf47ee67dbdfa01a
|