apteva 0.30.0 → 0.30.2

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.
Files changed (2) hide show
  1. package/README.md +94 -182
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,244 +1,156 @@
1
1
  <p align="center">
2
- <img src="https://apteva.ai/icon.png" width="60" />
2
+ <a href="https://apteva.ai">
3
+ <img src="https://apteva.ai/icon.png" width="96" alt="Apteva logo" />
4
+ </a>
3
5
  </p>
4
6
 
5
7
  <h1 align="center">Apteva</h1>
6
8
 
7
9
  <p align="center">
8
- <strong>An AI that never stops thinking.</strong>
10
+ <strong>AI agents, batteries included.</strong>
9
11
  </p>
10
12
 
11
13
  <p align="center">
12
- Apteva is a continuous thinking engine. It doesn't wait for prompts —<br>
13
- it observes, reasons, decides, and acts on its own initiative. Around the clock.
14
+ The open-source, self-hosted platform for agents that keep working after the chat ends.
15
+ </p>
16
+
17
+ <p align="center">
18
+ Give agents goals. They remember context, react to events, schedule and resume work,<br />
19
+ delegate to workers, and operate through apps and 575+ integrations.
14
20
  </p>
15
21
 
16
22
  <p align="center">
17
23
  <a href="https://apteva.ai">Website</a> ·
18
- <a href="https://apteva.ai/features">Features</a> ·
24
+ <a href="https://docs.apteva.ai/get-started">Docs</a> ·
25
+ <a href="https://apteva.ai/apps">Apps</a> ·
19
26
  <a href="https://apteva.ai/cloud">Cloud</a> ·
20
- <a href="https://github.com/apteva/core">Core Engine</a> ·
21
- <a href="https://github.com/apteva/server">Server</a> ·
22
- <a href="https://github.com/apteva/computer">Computer</a> ·
23
- <a href="https://github.com/apteva/integrations">Integrations</a>
27
+ <a href="https://discord.gg/apteva">Discord</a>
28
+ </p>
29
+
30
+ <p align="center">
31
+ <a href="https://github.com/apteva/apteva/releases/latest"><img src="https://img.shields.io/github/v/release/apteva/apteva?style=flat-square" alt="Latest release" /></a>
32
+ <a href="https://www.npmjs.com/package/apteva"><img src="https://img.shields.io/npm/v/apteva?style=flat-square" alt="npm version" /></a>
33
+ <a href="https://github.com/apteva/apteva/actions/workflows/release.yml"><img src="https://img.shields.io/github/actions/workflow/status/apteva/apteva/release.yml?style=flat-square&label=release" alt="Release status" /></a>
34
+ <a href="https://github.com/apteva/apteva"><img src="https://img.shields.io/github/stars/apteva/apteva?style=flat-square" alt="GitHub stars" /></a>
24
35
  </p>
25
36
 
26
37
  ---
27
38
 
28
- ## Quick Start
39
+ ## Start in 30 seconds
29
40
 
30
41
  ```bash
31
42
  npx apteva
32
43
  ```
33
44
 
34
- A setup wizard guides you through provider selection, API key, and capabilities. Then the agent starts thinking.
45
+ On macOS or Linux with Node.js 18+. The installer downloads the current native release. Connect a model provider, create an agent, and Apteva opens the local dashboard.
35
46
 
36
- Or from source:
47
+ Apteva runs locally by default. Your agents, credentials, memory, and operational data stay under your control.
37
48
 
38
- ```bash
39
- cd core && go build -o apteva-core .
40
- cd ../server && go build -o apteva-server .
41
- cd ../apteva && go build -o apteva .
42
- ./apteva
43
- ```
49
+ ## Agents are easy to demo. Hard to operate.
44
50
 
45
- Or with Docker:
51
+ A prototype agent can call a tool. A production agent also needs durable state, memory, permissions, events, schedules, workers, retries, dashboards, integrations, and deployment.
46
52
 
47
- ```bash
48
- docker run -p 5280:5280 -v apteva-data:/data apteva
49
- ```
53
+ Apteva packages that operating layer into one workspace. Instead of rebuilding the same infrastructure for every agent, you get a complete system for ongoing operations.
50
54
 
51
- ## What is Apteva?
55
+ | | What Apteva provides |
56
+ |---|---|
57
+ | **Keeps working** | Agents react to events, follow up on unresolved work, and continue across hours or days. |
58
+ | **Durable by default** | Tasks, schedules, history, memory, and progress survive restarts and closed chats. |
59
+ | **A complete operating layer** | Runtime, server, dashboard, channels, apps, integrations, files, logs, and deployment work together. |
60
+ | **Apps, not just tool wrappers** | One app can add tools, UI panels, routes, workers, channels, memory, and domain workflows. |
61
+ | **Multi-agent operations** | Agents delegate bounded work to dedicated workers while retaining durable ownership and visibility. |
62
+ | **Control where it runs** | Use Apteva locally, self-host it on a VPS or Docker, or run it on Apteva Cloud. |
52
63
 
53
- Every AI you use is reactive — you type, it responds, then it stops. Apteva is different. It runs a **continuous thinking loop**: observe → reason → act → sleep → repeat. It wakes when events arrive, sleeps when nothing happens, and thinks proactively in between.
64
+ ## What agents can operate
54
65
 
55
- It's not a chatbot. It's not an agent framework. It's **artificial consciousness** — a machine that is always aware, always ready, whether anyone is watching or not.
66
+ | Operation | Examples |
67
+ |---|---|
68
+ | **Customer support** | Triage tickets, search knowledge bases, draft replies, and escalate when human judgment is needed. |
69
+ | **Sales and CRM** | Enrich leads, schedule follow-ups, update pipelines, and surface deals that need attention. |
70
+ | **Content and growth** | Research, create assets, publish across channels, and monitor performance. |
71
+ | **Engineering and DevOps** | Watch deployments, investigate alerts, run tests, prepare patches, and coordinate incidents. |
72
+ | **Back-office work** | Process invoices, reconcile data, manage inventory, and coordinate vendors. |
73
+ | **Devices and edge systems** | Run the Go-based agent core close to browsers, machines, robots, and local infrastructure. |
56
74
 
57
- ### What it does between prompts
75
+ ## Apps turn agents into operators
58
76
 
59
- - Notices a pattern in your support tickets before you ask
60
- - Follows up on a cold lead because three days passed and it remembers
61
- - Reorganizes inventory because it spotted a trend in last week's orders
62
- - Spawns a worker thread to handle a customer email at 3am
63
- - Evolves its own directives as it discovers better approaches
64
- - Browses the web, takes screenshots, clicks through pages
65
- - Connects to GitHub, Stripe, Slack — 263+ integrations
77
+ Apteva apps extend the platform with any combination of:
66
78
 
67
- ## Architecture
79
+ - MCP tools and integrations
80
+ - Dashboard and chat UI
81
+ - HTTP routes and webhooks
82
+ - Background workers and scheduled jobs
83
+ - Channels, memory, and shared operational data
68
84
 
69
- ```
70
- ┌──────────────────────────────────────────────────────┐
71
- │ ./apteva │
72
- │ Setup wizard → TUI terminal interface │
73
- │ Channels: CLI, Telegram, Discord │
74
- └──────────────────┬───────────────────────────────────┘
75
- │
76
- ┌──────────────────▼───────────────────────────────────┐
77
- │ apteva-server (:5280) │
78
- │ Auth · Instances · Integrations · Webhooks │
79
- │ │
80
- │ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
81
- │ │ core-1 │ │ core-2 │ │ core-3 │ ... │
82
- │ │ default │ │ support │ │ monitor │ │
83
- │ └────┬────┘ └────┬────┘ └────┬────┘ │
84
- │ │ │ │ │
85
- │ ▼ ▼ ▼ │
86
- │ ┌──────────────────────────────────────────────┐ │
87
- │ │ MCP Tools │ │
88
- │ │ channels · exec · web · browser │ │
89
- │ │ github · stripe · slack · 263+ more │ │
90
- │ └──────────────────────────────────────────────┘ │
91
- │ │
92
- │ memory · self-pacing · evolve · persistent history │
93
- └──────────────────────────────────────────────────────┘
94
- ```
85
+ The current catalog contains **575+ integrations**, including GitHub, Slack, Stripe, Shopify, Airtable, Twilio, HubSpot, Google Workspace, cloud providers, databases, media tools, and model APIs.
95
86
 
96
- One command (`./apteva`) starts everything. The CLI spawns the server, the server spawns core instances, and the agent begins thinking.
97
-
98
- ## Key Features
99
-
100
- | Feature | Description |
101
- |---------|-------------|
102
- | **Continuous Thinking** | Infinite loop — observe, reason, act, sleep. Not request-response. |
103
- | **Multi-Threaded** | Spawns worker threads for parallel tasks. Each has its own tools, pace, and directive. |
104
- | **Self-Evolving** | Persistent memory. Refines its own directives over time. Gets sharper the longer it runs. |
105
- | **Self-Pacing** | Sets its own sleep duration — 2 seconds when busy, hours when idle. Events wake it instantly. |
106
- | **Session Persistence** | Conversation history survives restarts. JSONL per thread, auto-compaction, never loses context. |
107
- | **Agent-Driven Safety** | No forced approval gates. The agent decides, learns from feedback, asks when unsure. Three modes: autonomous, cautious, learn. |
108
- | **263+ Integrations** | GitHub, Slack, Stripe, Shopify, and more. Each runs as its own MCP server. Credentials encrypted. |
109
- | **Browser Control** | Provided by the Computer app through MCP tools and app-managed sessions. |
110
- | **Multi-Channel** | CLI terminal, Telegram, Discord. Agent routes responses to the right channel. |
111
- | **Multi-Instance** | Run multiple agents in parallel. Each has its own directive, tools, and history. Projects for isolation. |
112
- | **Terminal UI** | Two-panel TUI with live status, thread thoughts, streaming responses, modal commands. |
113
- | **Embeddable** | The core is a standalone Go binary. Run it headless, connect via API, embed anywhere. |
114
-
115
- ## Use Cases
116
-
117
- - **Run a business** — Support, sales, content, billing — fully autonomous, 24/7
118
- - **Content pipeline** — Research, write, publish, distribute, track — zero human input
119
- - **Ad operations** — Monitor ROAS, adjust budgets, generate creatives, A/B test
120
- - **DevOps** — Monitor deploys, triage alerts, write patches, coordinate incidents
121
- - **Personal assistant** — Email triage, calendar management, reminders, research
122
- - **Web automation** — Browse sites, fill forms, take screenshots, extract data
123
-
124
- ## CLI Commands
125
-
126
- | Command | Description |
127
- |---------|-------------|
128
- | `/status` | Core status |
129
- | `/config` | Full config |
130
- | `/directive [text]` | Show or set directive |
131
- | `/mode` | Switch mode: autonomous, cautious, learn |
132
- | `/threads` | List/kill threads |
133
- | `/integrate <app>` | Connect an integration (263+ apps) |
134
- | `/connect telegram` | Connect Telegram bot |
135
- | `/channels` | List connected channels |
136
- | `/mcp` | Manage MCP servers |
137
- | `/help` | All commands |
138
-
139
- Everything else you type is sent to the agent.
140
-
141
- ## Modes
142
-
143
- | Mode | Behavior |
144
- |------|----------|
145
- | **autonomous** | Agent acts freely. Learns from feedback. Trusted. |
146
- | **cautious** | Asks before destructive or external actions. Learns from answers. |
147
- | **learn** | Asks about every new tool type. Builds a safety profile over time. |
148
-
149
- All modes use `[[remember]]` for persistent learning. The agent gets smarter the longer it runs.
150
-
151
- ## Providers
152
-
153
- | Provider | Models |
154
- |----------|--------|
155
- | **Fireworks** | Kimi K2.5 |
156
- | **Anthropic** | Claude Sonnet 4, Claude Haiku 4.5 |
157
- | **OpenAI** | GPT-4.1, GPT-4.1-mini |
158
- | **Google** | Gemini 2.5 Pro, Gemini 2.5 Flash |
159
-
160
- Select during setup. Switch anytime with `/mode` or the API.
87
+ [Browse apps](https://apteva.ai/apps) · [Explore the integrations repository](https://github.com/apteva/integrations) · [Build with the App SDK](https://github.com/apteva/app-sdk)
161
88
 
162
- ## Repositories
163
-
164
- | Repo | Description |
165
- |------|-------------|
166
- | [`apteva/apteva`](https://github.com/apteva/apteva) | This repo — CLI, setup wizard, TUI, npm launcher |
167
- | [`apteva/core`](https://github.com/apteva/core) | The thinking engine (Go) |
168
- | [`apteva/server`](https://github.com/apteva/server) | Management server — auth, instances, integrations, dashboard (Go) |
169
- | [`apteva/integrations`](https://github.com/apteva/integrations) | 263 app connectors + webhook registrar (TypeScript) |
170
-
171
- ## Configuration
89
+ ## How it works
172
90
 
173
- ```bash
174
- # Data stored in
175
- ~/.apteva/apteva.json # CLI config (capabilities, API key, instance ID)
176
- ~/.apteva/apteva.db # Server database (auth, connections, providers)
91
+ ```mermaid
92
+ flowchart LR
93
+ U["Dashboard, CLI, and channels"] --> S["Apteva server"]
94
+ E["Events, webhooks, and schedules"] --> S
95
+ S --> A["Persistent agent runtimes"]
96
+ A --> W["Durable tasks and workers"]
97
+ S --> P["Apps"]
98
+ P --> C["Tools, UI, routes, channels, and memory"]
99
+ P --> I["575+ integrations"]
177
100
  ```
178
101
 
179
- ## From Source
180
-
181
- ```bash
182
- # Build all three binaries
183
- cd core && go build -o apteva-core .
184
- cd ../server && go build -o apteva-server .
185
- cd ../apteva && go build -o apteva .
102
+ The CLI installs and starts the platform. The server manages authentication, projects, agent runtimes, apps, connections, events, and the dashboard. Each agent core owns its thinking loop, threads, tools, memory, and persistent history.
186
103
 
187
- # Run (starts server + core + TUI)
188
- cd apteva && ./apteva
104
+ ## Run it your way
189
105
 
190
- # Or run core standalone (headless)
191
- cd core && ./apteva-core --headless
106
+ ### Local
192
107
 
193
- # Or connect CLI to a remote server
194
- ./apteva --no-spawn --server <host>:5280
108
+ ```bash
109
+ npx apteva
195
110
  ```
196
111
 
197
- ## Docker
112
+ ### Docker
198
113
 
199
114
  ```bash
200
- # Build
201
- docker build -t apteva .
115
+ docker run -d \
116
+ --name apteva \
117
+ -p 5280:5280 \
118
+ -v apteva-data:/data \
119
+ ghcr.io/apteva/apteva:latest
120
+ ```
202
121
 
203
- # Run
204
- docker run -p 5280:5280 -v apteva-data:/data apteva
122
+ Then open [http://localhost:5280](http://localhost:5280). Pin a numbered image tag instead of `latest` for production deployments.
205
123
 
206
- # Connect CLI to it
207
- ./apteva --no-spawn --server <host>:5280
208
- ```
124
+ ### Cloud
209
125
 
210
- ## Migrating from OpenClaw
126
+ [Apteva Cloud](https://apteva.ai/cloud) runs the same platform without managing the server yourself.
211
127
 
212
- Already running OpenClaw agents? Here's how to switch.
128
+ ## Bring your models
213
129
 
214
- | OpenClaw | Apteva | Notes |
215
- |----------|--------|-------|
216
- | `claw.run(prompt)` | `config.json` → directive | Apteva doesn't need prompts. It runs continuously. |
217
- | `claw.tool(...)` | MCP server | Any MCP server works. 263+ built-in. |
218
- | `claw.memory` | `[[remember]]` | Persistent across restarts. Embedding-based recall. |
219
- | `claw.agent(name)` | `[[spawn id="name"]]` | Threads are cheaper. They share memory and tools. |
220
- | Webhook handlers | Subscriptions | Events route directly to threads. |
221
- | `OPENCLAW_API_KEY` | `FIREWORKS_API_KEY` | Or Anthropic, OpenAI, Google. Your choice. |
222
- | Cron jobs | Self-pacing | No cron needed. `[[pace sleep="5m"]]` and it wakes on events. |
223
- | Agent state files | Evolving directives | The agent rewrites its own config. It improves itself. |
224
- | Session files | JSONL history | Persistent per thread, auto-compaction, survives restarts. |
130
+ Use hosted or local models, choose different providers per project, and switch models without rebuilding your agents. Apteva supports OpenAI, Anthropic, Google, Fireworks, Ollama, NVIDIA, Venice, xAI, and other compatible providers.
225
131
 
226
- ### Why switch?
132
+ ## Repositories
227
133
 
228
- - **OpenClaw agents sleep between requests.** Apteva agents think between requests.
229
- - **OpenClaw needs orchestration.** Apteva orchestrates itself.
230
- - **OpenClaw bills per call.** Apteva self-paces to minimize cost — sleeps long when idle, thinks fast when busy.
231
- - **OpenClaw agents forget.** Apteva agents remember, learn, and evolve their own directives.
134
+ | Repository | Role |
135
+ |---|---|
136
+ | [`apteva/apteva`](https://github.com/apteva/apteva) | CLI, installer, local lifecycle, and releases |
137
+ | [`apteva/core`](https://github.com/apteva/core) | Persistent agent runtime and thinking loop |
138
+ | [`apteva/server`](https://github.com/apteva/server) | Management API, agent orchestration, apps, and embedded dashboard |
139
+ | [`apteva/dashboard`](https://github.com/apteva/dashboard) | React administration and operations UI |
140
+ | [`apteva/integrations`](https://github.com/apteva/integrations) | Integration catalog, OAuth, webhooks, and MCP generation |
141
+ | [`apteva/apps`](https://github.com/apteva/apps) | First-party operational apps |
142
+ | [`apteva/app-sdk`](https://github.com/apteva/app-sdk) | Go SDK for building Apteva apps |
143
+ | [`apteva/computer`](https://github.com/apteva/computer) | Browser and computer-use backends |
232
144
 
233
- The fundamental difference: OpenClaw agents are **functions you call**. Apteva agents are **processes that run**. One waits. The other works.
145
+ ## Community
234
146
 
235
- ## License
147
+ Read the [documentation](https://docs.apteva.ai/get-started), join the [Discord community](https://discord.gg/apteva), or open an [issue](https://github.com/apteva/apteva/issues) for bugs and feature requests.
236
148
 
237
- [MIT](LICENSE)
149
+ If Apteva helps you build agents that do real work, [star the repository](https://github.com/apteva/apteva) so more builders can find it.
238
150
 
239
151
  ---
240
152
 
241
153
  <p align="center">
242
- <strong>Artificial consciousness for machines that work.</strong><br>
154
+ <strong>Build agents that operate, not just respond.</strong><br />
243
155
  <a href="https://apteva.ai">apteva.ai</a>
244
156
  </p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apteva",
3
- "version": "0.30.0",
3
+ "version": "0.30.2",
4
4
  "description": "AI agent platform with multi-thread orchestration, MCP integrations, and dashboard",
5
5
  "bin": {
6
6
  "apteva": "./cli.js"