Here is a too-serious answer to your question, along with an answer answers to a couple questions I think you should be asking:
The category you're interested in, as has been noted by others, is the category of coalgebras / corings, which is emphatically not the opposite category of rings . There is a duality between algebras and coalgebras, as you yourself have noted, --- but it is linear-algebraic rather than categorical. Dualities in linear algebra are at their nicest when the modules are of finite rank over a ground ring that's a field, and so anything meaningful will have we're going to take this into account, which is where see exactly what's different between the big bulk of text to come is fortwo in the nicest case.
At any rateTo start things off, here is here's a definition of a $k$-coalgebra: a coalgebra so that we're all on the same page: an $k$-coalgebra R$-coalgebra is a vector space an $R$-module $A$ together with morphisms $\Delta: A \to A \otimes_k otimes_R A$ and $\epsilon: A \to k$ R$ satisfying
If
Coalgebras are familiar objects in algebraic topology, and you've already found the biggest source of them. Suppose you have a cohomology theory $E$ whose coefficient ring is a field (in the somewhat unusual graded sense of topology), then you've encountered all kinds of $k$-coalgebras alreadygraded) field. Associated to a For any space $X$, you have a the constant (pointed) map $X \to \operatorname{pt}$. In homology, this mathrm{pt}$ induces a map in homology $E_* X \to E_*$, which serves as the counit for $E_* X$. The Toward a comultiplicationis harder to produce; , we have maps $E_* X \xrightarrow{\Delta} E_* (X \times X) \leftarrow E_* X \otimes_{E_*} E_* X$, but asking for the right-hand map to have an inverse is the same as asking for a Kunneth isomorphism. This only happens under restrictions on $X$ or restrictions on $E$ --- which is why we asked for such as when $E_*$ to be is a field, so there's less to worry aboutwhich is one reason we requested that.
When
Now, let's lay our cards on the table and just announce some dualities we see in front of us:
Now, we have indeed seen this category before, as you'd hopedwould like to compare these three ideas. There is another category floating around of interest floating around: the category of $k$-algebras has an associated category of presheaves $\widehat{\mathsf{Algebras}_k} = \operatorname{Functors}(\mathsf{Algebras}_k, \widehat{\mathsf{Algebras}_k}$ $=$ $\operatorname{Functors}(\mathsf{Algebras}_k, \mathsf{Sets})$ which receives a map $\mathsf{Algebras}_k^{op} \to \widehat{\mathsf{Algebras}_k}$ described by the left side of the $\operatorname{Hom}$-functor: $X \mapsto \operatorname{Hom}(X, -)$. This assignment, called the Yoneda embedding, is a functor into a cocomplete category which is an equivalence onto its image and whose image is codense --- this is one phrasing these are consequences of the Yoneda lemma. That the target of the Yoneda embedding is cocomplete makes it a much nicer category to play around in, and that for reason alone so it's worth considering what this embedding's use is.
I claim you should expect there's a relation between the presheaf category on of $k$-algebras k$-coalgebras and $k$-coalgebras. \widehat{\mathsf{Algebras}_k}$. Again, to make linear algebra behave nicely, we need to encode finiteness restrictions into our setup, and to make that happen we'll turn to "$k$-formal schemes". The classical $\operatorname{Spec}$ construction in algebraic geometry also gives a contravariant functor off the category of $k$-algebras to schemes over $\operatorname{Spec} k$ which is an equivalence onto its image. Rather than fussing with what a Zariski spectrum is, since we're just playing around with categories, I will just instead take the Yoneda embedding to be my definition of $\operatorname{Spec}$ and the presheaf category to be something dimly, vaguely, sorta like the category of schemes. Representable presheaves (i.e., those in the image of $\operatorname{Spec}$) are called affine schemes. Plenty of constructions from algebraic geometry transfer almost without comment; for instance, defining $\mathbb{A}^1 = \operatorname{Spec} \mathbb{Z}[x]$, we recover the functor $\mathcal{O}(X) = \operatorname{Hom}_{\widehat{\mathsf{Algebras}_k}}(X, \mathbb{A}^1)$, which in the case of an affine $X = \operatorname{Spec}(A)$ gives $\mathcal{O}(\operatorname{Spec} A) \cong A$.
A scheme $X$ will be called finite if $\mathcal{O}(X)$ is a finite $k$-vector space, i.e., if it is $\operatorname{Spec}$ of an algebra of finite type.dimension as a $k$-module. These, too, are in ample supply in algebraic topology. If $X$ is a compact pointed space, then the algebra $H^* X$ will be finite in the sense we need. Of course, and even nice non-compact algebraic topology gets done on more than compact spaces, so we need to broaden our perspective a little bit: we can ask instead that $X$ (i.e., be compactly generated) can be exhausted by all their compact subsets. Writing , so that if $X_\alpha$ for denotes the directed system collection of compact subspaces subsets of $X$ and noting that $X = \operatorname{colim} X_\alpha$directed by inclusion, we might then be interested in have $X_E :X = \operatorname{colim} \operatorname{Spec} E^* X_\alpha$. In the case that $X$ is a CW-complex, it is sufficient to take $X_\alpha$ to be just the finite subcomplexes of $X$. We might then be interested in the scheme $X_E := \operatorname{colim} \operatorname{Spec} E^* X_\alpha$. Such a scheme which occurs as the colimit of a directed system of finite $k$-schemes is called a $k$-formal scheme.
So now we have a suitable notion of a 'finite' scheme that still captures all our interesting (and frequently large) cohomology rings. Here's the first big assertioncomparison I promised early on: the functor taking a formal scheme $\operatorname{colim} \operatorname{Spec} A_i$ to the $k$-coalgebra $\operatorname{colim} A_i^\vee$ is an equivalence of categories. There's almost nothing to say because the sea of definitions we've made take care of most everything, but there is one key lemma: given a $k$-coalgebra, you need to know that you can write it as the colimit of finite $k$-coalgebras. The exact lemma that gets used is: if $E$ is a finite dimensional subspace of a $k$-coalgebra, k$-coalgebra $A$, then there exists a subcoalgebra $F \subseteq A$ which is finite dimensional subspace as a $F$ containing k$-vector space and which contains $E$ with (i.e., $\Delta F \subseteq F \otimes_k F$E$ can be finitely enlarged so that it becomes closed under comultiplication). If you push around elements a bit you'll see that that's the case (and that this requires working over a ground field). Then, straight after, here's the second big assertion: the assignments $X \mapsto E_* X$ and $X \mapsto X_E$ map are equivalent under the above equivalence of categories.
$H_*(K(\mathbb{Z}/p^j, q); \mathbb{F}_p)$ is the free alternating algebra in this sense on the formal group scheme $B\mathbb{Z}/p^j_{H\mathbb{F}_p}$. A similar statement can be made for $K(n)_* K(\mathbb{Z}/p^j, q)$.$\hat{\mathbb{G}_a}$\hat{\mathbb{G}}_a$. Relatedly, the statement that the dual Steenrod algebra coacts on the homology coalgebras $H_* X$ is straightened out in the category of formal schemes by saying that $\operatorname{Aut} \hat{\mathbb{G}_a}$ hat{\mathbb{G}}_a$ acts on the formal scheme $X_{H\mathbb{F}_2}$. This has also received classical interest, though not in this language: the final part of Thom's thesis on calculations in the real bordism ring amount to showing that this $\operatorname{Aut} \hat{\mathbb{G}_a}$hat{\mathbb{G}}_a$ action on the homology of the real bordism spectrum is free.

