Skip to content

Wrap one action. Help your agent adapt.

Memory, skills and judgment for the agents you already run, with events that let them act proactively.

One change in agent.ts: Self is imported, the on-call rollback is wrapped once with self.action, given how it runs and how Datadog confirms it, and the tool executes the wrapped action instead of the bare rollback. Beside it, the same action in the Self console: 91% of rollbacks handled without paging anyone, evals of 0.92 on your incidents against a benchmark of 0.77, 34 seconds to resolve instead of 12 minutes, and $0.06 per run instead of $0.41.

It asks once. Then it handles it.

Same agent, same alert. Lena answered once.

Two traces of the same wrapped on-call rollback. Run 1, at 2:14 AM: memory has nothing on rollbacks, there is no skill, judgment has no rule for a production deploy and asks, so Lena is paged and answers twelve minutes later: roll back first, tell me after. The rollback runs and Datadog confirms p95 is back to 180 ms; Self keeps her answer. Run 38, at 3:02 AM: memory recalls Lena’s answer, skill rollback v4 matches with 31 tests passing, judgment says handle, the rollback runs and Datadog confirms 170 ms, and Lena gets a note instead of a page. Time to resolve falls from 12 minutes 26 seconds to 34 seconds, cost from $0.41 to $0.06, on a smaller model.

Everything it learns is one call away.

self.action keeps it on every run. Read any of it yourself.

  • Memory

    What it learned from each person and team.

    await self.memory.recall("it.access")await self.memory.recall(  "it.access",)[{ note: "Contractors get read-only.", by: "@sam" }][{  note: "Contractors get read-only.",  by: "@sam",}]
  • Skills

    What worked, kept as tested steps.

    await self.skills.get("oncall.rollback")await self.skills.get(  "oncall.rollback",){ version: 4, tests: 31, evals: 0.92, benchmark: 0.77 }{  version: 4,  tests: 31,  evals: 0.92,  benchmark: 0.77,}
  • Judgment

    Which calls it makes, and which it asks.

    await self.judgment.check("revenue.renewal", { discount: 0.12 })await self.judgment.check(  "revenue.renewal",  { discount: 0.12 },){ decision: "ask", to: "@dana", over: "your 10% line" }{  decision: "ask",  to: "@dana",  over: "your 10% line",}
  • Proactivity

    Start work when a business signal changes.

    self.on("kpi.moved", (e) => agent.act(e))self.on("kpi.moved", (e) =>  agent.act(e),){ metric: "picks_per_hour", zone: "C", change: -0.08 }{  metric: "picks_per_hour",  zone: "C",  change: -0.08,}

Keep your framework. Change one line.

The line where a wrapped action goes, in six frameworks. In each, the action named there is one you wrapped with self.action.
  • OpenAI Agents SDK@openai/agentstool({ name, parameters, execute: rollback })tool({ name, parameters, execute: rollback })
  • Anthropic@anthropic-ai/sdkresults.push(await match(block.input));results.push( await match(block.input));
  • Gemini@google/genairesults.push(await grant(call.args));results.push( await grant(call.args));
  • LangGraph@langchain/langgraphnew ToolNode([tool(reroute, { name, schema })])new ToolNode([tool(reroute, { name, schema })])
  • LangChain@langchain/coretool(review, { name, schema })
  • Vercel AI SDKaitool({ inputSchema, execute: renew })tool({ inputSchema, execute: renew })

It checks each result where the work happened, with the API calls your code already makes.

  • Stripe
  • Salesforce
  • ServiceNow
  • Zendesk
  • Jira
  • HubSpot
  • Slack
  • Intercom

Help your agents adapt. Start with Self.

  1. Join the waitlist.

    Leave your email for news about Self and access updates.

  2. Choose a workflow.

    Think of an action your team still reviews by hand. Self is built to help that agent adapt and take on more.

Self for developers: help your agents adapt and act proactively