Runtime Profiles For Different Agent Behaviors
Use fast, balanced, deep, or research as operational presets. They are real tradeoff bundles for context budget, delegation depth, memory policy, and watchdog behavior.
A smart runtime for autonomous agents that need typed tools, explicit planning, resilient context handling, and inspectable execution.
If you are integrating the SDK for the first time, read the docs in this order:
import { createSmartAgent, createTool } from "@cognipeer/agent-sdk";
import { z } from "zod";
const lookup = createTool({
name: "lookup_owner",
description: "Return the owner for a project code",
schema: z.object({ code: z.enum(["ORBIT", "NOVA"]) }),
func: async ({ code }) => ({ owner: code === "ORBIT" ? "Ada Lovelace" : "Grace Hopper" }),
});
const agent = createSmartAgent({
model,
tools: [lookup],
runtimeProfile: "balanced",
planning: { mode: "todo" },
limits: { maxToolCalls: 6, maxContextTokens: 12000 },
});