libclaw 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,45 @@
1
+ # libclaw
2
+
3
+ NOT a library or framework dependency to use for building an OpenClaw-like AI personal assistant.
4
+
5
+ But, also NOT an application to fork and customize into you own AI personal assistant.
6
+
7
+ libclaw is something in-between. **It's an experiment** to see if we can distribute AI instructions,
8
+ code, and other assets that allow you to assemble, maintain, update, and maybe even verify your own
9
+ app. And yes, libclaw is aimed at providing features that solve AI personal assistant shaped problems.
10
+
11
+ **Big Picture Idea**: You own your app code, libclaw knows the AI assistant features, and your agent
12
+ is great at integrating the features into your app.
13
+
14
+ ## How does this work?
15
+
16
+ First, using libclaw depends on having an agentic coding tool to build together with. This might be
17
+ Claude Code, Codex, OpenCode, Amp, or many others. This is early days, so the project is somewhat
18
+ coupled to Claude Code, but we aim to use features that most of the agentic coding tools have
19
+ in common. Feel free to try it out with other tools and report back what you find. We can't promise
20
+ that all of the AI coding assistants will be prioritized.
21
+
22
+ Skills are the basic building block of libclaw. A skill can package up both instructions and code.
23
+ Instructions help us leverage the power of models and agents. Code provides specificity.
24
+ Skills are relatively token efficient (agents are decent at finding the right skill at the right
25
+ time).
26
+
27
+ Maybe skills are all we need. Maybe not. Let's figure it out together.
28
+
29
+ ## Features
30
+
31
+ Starting with a small, focussed set of features:
32
+
33
+ 1. **Agent in a box**: An agentic runtime in an isolated context
34
+ 2. **Human to Agent bridges**: An example is a chat based app like Slack to the agent in the box. But more generally, it doesn't have to be chat based, it could be a UI, voice, or something else.
35
+ 3. **Data bridiges**: An example is an MCP server used to get data to and from Gmail. But this can also be generalized.
36
+
37
+ ## Technology choices
38
+
39
+ We're trying to support a few JavaScript runtimes: Deno, Node.js, and Cloudflare Workers.
40
+ You should be able to leverage libclaw without feeling limited to a specific deployment target.
41
+ For now, Cloud based deployments are more interesting than deployments on a personal computer.
42
+
43
+ Isolation is provided by Docker containers. You probably don't want the agent messing with the
44
+ system that's running it. It's also nice to be able to manage separate context windows, and force
45
+ all sharing to be explicit.
package/dist/mod.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ export declare const version = "0.1.1";
2
+ export declare function main(): void;
3
+ //# sourceMappingURL=mod.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,UAAU,CAAC;AAE/B,wBAAgB,IAAI,IAAI,IAAI,CAE3B"}
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "libclaw",
3
+ "version": "0.1.1",
4
+ "description": "Build your own personal AI assistant",
5
+ "keywords": [
6
+ "openclaw",
7
+ "ai",
8
+ "agent",
9
+ "claude",
10
+ "opencode",
11
+ "skills"
12
+ ],
13
+ "license": "ISC",
14
+ "author": "Ankur Oberoi <aoberoi@gmail.com>",
15
+ "type": "module",
16
+ "engines": {
17
+ "node": ">=24.0.0"
18
+ },
19
+ "exports": {
20
+ ".": {
21
+ "types": "./dist/mod.d.ts",
22
+ "import": "./src/mod.ts"
23
+ }
24
+ },
25
+ "files": [
26
+ "src/",
27
+ "dist/",
28
+ "README.md"
29
+ ],
30
+ "scripts": {
31
+ "prepublishOnly": "deno task typecheck && deno task build"
32
+ }
33
+ }
package/src/mod.ts ADDED
@@ -0,0 +1,8 @@
1
+ // Main entry point for libclaw
2
+ // Add your exports here
3
+
4
+ export const version = "0.1.1";
5
+
6
+ export function main(): void {
7
+ throw new Error("Prerelease version. See https://github.com/aoberoi/libclaw for details.");
8
+ }