You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* docs: add cubepi brand assets
Add SVG + PNG logo and 1280x640 social preview, and link the logo
from the top of the README.
* docs: center logo, refresh social preview, use absolute logo URL
- Recenter the cube in cubepi-logo.svg (shift -56 horizontally).
- Drop the white card around the social-preview cube, layer in a
gradient bg, dot grid, deeper right wave, and floating accents;
set wordmark to CubePi.
- Switch the README logo reference to an absolute raw.githubusercontent
URL so the image resolves on PyPI.
* docs: rebrand README to CubePi and refresh content
- Use CubePi casing for the wordmark and section headings (package
name stays `cubepi`).
- Soften the langgraph framing from "built to replace" to "a leaner,
more readable take on".
- Drop the prominent pi-agent-core section; keep a brief credits note
at the bottom.
- Cover the new postgres/mcp extras and PostgresCheckpointer, update
the architecture tree, and switch the Quick Start import to the
canonical `cubepi.providers.anthropic` path.
* docs: fix PostgresCheckpointer instantiation in README
Drop the non-existent .from_dsn() classmethod (flagged by Codex
review); the constructor already takes the DSN directly.
Pythonic async-native agent framework. Built to replace [langgraph](https://github.com/langchain-ai/langgraph) with something simpler, faster, and easier to reason about.
10
-
11
-
Inspired by [pi-agent-core](https://github.com/anthropics/pi-agent-core) (TypeScript), redesigned for Python.
12
-
13
-
## Why cubepi
13
+
A Pythonic, async-native agent framework — a leaner, more readable take on agent runtimes like [langgraph](https://github.com/langchain-ai/langgraph).
14
14
15
-
### vs langgraph
15
+
##Why CubePi
16
16
17
-
|| langgraph |cubepi|
17
+
|| langgraph |CubePi|
18
18
|---|---|---|
19
19
|**Abstraction**| Graph nodes + edges + channels — you model your agent as a state machine | Plain async functions — `run_agent_loop` is a while loop you can read in 5 minutes |
20
20
|**Streaming**| Callback-based, multiple handler types |`async for event in stream` — one pattern everywhere |
21
21
|**Checkpointing**| Full snapshot per step — serializes entire message list on every channel change | Append-only — writes only new messages, O(1) DB I/O regardless of conversation length |
22
22
|**Dependencies**| Pulls in langchain-core, langgraph-sdk, and transitive deps | 3 core deps: `pydantic`, `anthropic`, `openai`|
23
23
|**Tool execution**| Tools are graph nodes with manual wiring | Declare tools as functions, framework handles routing and parallel execution |
24
-
|**Multi-provider**| Via langchain chat model adapters | Native Provider protocol — Anthropic, OpenAI built in, add your own with one class |
24
+
|**Multi-provider**| Via langchain chat model adapters | Native `Provider` protocol — Anthropic, OpenAI built in, add your own with one class |
25
25
|**Middleware**| Graph-level middleware on node entry/exit | Agent-level middleware with 5 typed hooks and declarative composition rules |
26
26
|**Observability**| LangSmith / Langfuse integration, full trace visualization | Events + middleware hooks — bring your own tracing |
27
27
28
-
### vs pi-agent-core
29
-
30
-
cubepi is a Python port of pi's architecture with Pythonic improvements:
Architecture inspired by [pi-agent-core](https://github.com/anthropics/pi-agent-core) (TypeScript); CubePi is an independent Python reimplementation with Pydantic v2, asyncio-native primitives, and built-in checkpointing.
0 commit comments