Pullboard
A work board that lives in your git repo. Agents pick up the next task, another agent checks it, and you barely explain a thing. Local, open source, no account.
翻译准备中
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Charlotte: a headless website-builder agent kit on prism-harness and fancy-cms. Drafts, autonomy, code-checked facts, long-poll events.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A headless website-builder agent kit for Laravel. Charlotte lets your app host an agent that builds and edits fancy-cms pages, live, beside a person. It runs on prism-harness, so any Prism provider works.
It is headless on purpose: Charlotte writes an ordered event log, and any chat
UI you build reads it. A plain fetch loop is enough
(docs/fetch-chat.html).
Pre-1.0. Breaking changes land in minor releases; read the CHANGELOG before upgrading.
charlotte_brief, cms_describe, cms_icons, cms_assets,
cms_get, cms_apply, cms_changes_since, cms_check and cms_finish.
Writes are pinned to a revision, so a person editing at the same time is never
overwritten.$session->publish($revision, $by).full applies each edit to the draft at once.
approve_on_save collects edits in a change set a person approves or rejects.missing_required_fact), and prices, percentages,
counts, phone numbers, emails, years and quotes that no fact supports are
flagged (unsupported_claim). No model is involved.use Charlotte\Brief\Brief;
use Charlotte\Facades\Charlotte;
// Once, in a service provider:
Charlotte::resolveTenantUsing(fn ($request) => (string) $request->user()->current_team_id);
Charlotte::authorizeUsing(fn ($user, string $ability, array $subject): bool => $user->can('charlotte.'.$ability));
Charlotte::routes();
// In your controller:
$session = Charlotte::for($request->user())
->tenant((string) $team->getKey())
->page('home')
->brief(Brief::fromArray($validated['brief']))
->autonomy('approve_on_save')
->open();
$cursor = $session->send('Build the landing page from the brief.', (string) $request->user()->getKey());
// A queue worker runs the turn; clients poll GET /charlotte/sessions/{id}/events?after=<cursor>&wait=20
Full setup: docs/laravel-quickstart.md.
Charlotte never requires billing: with nothing bound, every turn runs on
prism-harness's own configuration. If your app meters spend (per tenant, per
lane, durably), hand each turn your own prism-harness RunContext, carrying
its budget, its pricing and its CallCostObserver. You do not rebuild the
dispatcher, the runner or the runtime.
use Charlotte\Facades\Charlotte;
use Charlotte\Runtime\Turn;
use Prism\Harness\Subagents\RunBudget;
use Prism\Harness\Subagents\RunContext;
Charlotte::contextUsing(function (Turn $turn) use ($budgets): ?RunContext {
$account = $budgets->for($turn->session->tenant, $turn->session->page);
if ($account === null) {
return null; // harness defaults for this turn
}
return RunContext::root('charlotte-'.$turn->session->id,
new RunBudget(maxSteps: 40, maxCostUsd: $account->remainingUsd(), maxOutputTokensPerCall: 4096),
pricing: $account->pricing(), // [provider => [model => ['inputPerMTok' => .., 'outputPerMTok' => .., 'toolOverheadTokens' => ..]]]
observer: $account->observer(), // your CallCostObserver: reserve, then settle, every provider call
);
});
Or bind your own Charlotte\Runtime\TurnContextFactory in the container; the
closure is shorthand for that. The factory is called once per turn, before the
run starts, with the stored session (tenant, page, provider, model),
the harness session and the person's message.
null to keep the harness defaults for that turn.HasErrorCode::code() (else run_failed), never its message.toolOverheadTokens, or the call is refused (budget_unpriced,
budget_unbounded_output, budget_input_unbounded). A cost observer needs a
cost cap.particle-academy/prism-harness and particle-academy/fancy-cms, installed
with Charlotte.Agent-authored content is untrusted.
richtext nodes, from the agent or from a person: the browser renderer
injects richtext HTML as is.AssetCatalogue. Authored src, srcset,
dimensions and CSS url()/image-set()/@import, escapes and comments are
refused after every write.mailto:, tel: or origins
you allowlist.composer install
vendor/bin/pest
php tests/lint.php
The suite is hermetic: in-memory SQLite, the sync queue, and a scripted Prism provider that really executes the tools. No network and no key.
MIT.