You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-7Lines changed: 23 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,16 +69,17 @@ pip install octopoda
69
69
```python
70
70
from octopoda import AgentRuntime
71
71
72
-
agent = AgentRuntime("my_agent")
73
-
agent.remember("user_pref", "dark mode")
72
+
agent = AgentRuntime("my_chatbot")
73
+
agent.remember("user_name", "Alice")
74
74
75
-
print(agent.recall("user_pref").value)
76
-
# 'dark mode' — still returns after a restart, a deploy, or a process crash.
75
+
# kill the process. restart Python. then:
76
+
print(agent.recall("user_name").value)
77
+
# 'Alice' — still there. Survives every restart, deploy, and crash.
77
78
```
78
79
79
80
That is the entire setup. Your agent now has persistent memory, loop detection, crash recovery, and an audit trail. No config, no Docker, no Redis, no extra services.
80
81
81
-
### Want the dashboard?
82
+
### Want the local dashboard?
82
83
83
84
```bash
84
85
pip install octopoda[server]
@@ -87,14 +88,29 @@ octopoda
87
88
88
89
Open **http://localhost:7842** — the same dashboard as the cloud version, running against your local data. No account, no API key.
89
90
90
-
### Want cloud sync?
91
+
### Want cloud sync + a hosted dashboard?
91
92
92
-
Free at [octopodas.com](https://octopodas.com). Set the API key, same code, multi-device sync, team access.
93
+
One command after install:
94
+
95
+
```bash
96
+
octopoda-init
97
+
```
98
+
99
+
It walks you through: paste an API key (or sign up free at [octopodas.com](https://octopodas.com)), validates it, and saves it to `~/.octopoda/config.json`. No environment variables to set, no shell config to edit. The SDK auto-loads the key on next import.
100
+
101
+
After `octopoda-init`, the same Python code above writes to the cloud and shows up live at [octopodas.com/dashboard](https://octopodas.com/dashboard).
102
+
103
+
<details>
104
+
<summary>Prefer environment variables?</summary>
93
105
94
106
```bash
95
107
export OCTOPODA_API_KEY=sk-octopoda-...
96
108
```
97
109
110
+
Both methods work. The SDK checks the env var first, then the config file.
0 commit comments